/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-debugfs.c | 125 loff_t *ppos, unsigned int value) in xgbe_common_read() 130 if (*ppos != 0) in xgbe_common_read() 142 len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); in xgbe_common_read() 149 loff_t *ppos, unsigned int *value) in xgbe_common_write() 155 if (*ppos != 0) in xgbe_common_write() 161 len = simple_write_to_buffer(workarea, sizeof(workarea) - 1, ppos, in xgbe_common_write() 175 size_t count, loff_t *ppos) in xgmac_reg_addr_read() 179 return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xgmac_reg); in xgmac_reg_addr_read() 184 size_t count, loff_t *ppos) in xgmac_reg_addr_write() 188 return xgbe_common_write(buffer, count, ppos, in xgmac_reg_addr_write() 124 xgbe_common_read(char __user *buffer, size_t count, loff_t *ppos, unsigned int value) xgbe_common_read() argument 148 xgbe_common_write(const char __user *buffer, size_t count, loff_t *ppos, unsigned int *value) xgbe_common_write() argument 174 xgmac_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xgmac_reg_addr_read() argument 182 xgmac_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xgmac_reg_addr_write() argument 192 xgmac_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xgmac_reg_value_read() argument 203 xgmac_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xgmac_reg_value_write() argument 234 xpcs_mmd_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xpcs_mmd_read() argument 242 xpcs_mmd_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xpcs_mmd_write() argument 251 xpcs_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_addr_read() argument 259 xpcs_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_addr_write() argument 268 xpcs_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_value_read() argument 280 xpcs_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_value_write() argument 319 xprop_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xprop_reg_addr_read() argument 327 xprop_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xprop_reg_addr_write() argument 337 xprop_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xprop_reg_value_read() argument 348 xprop_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xprop_reg_value_write() argument 379 xi2c_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_addr_read() argument 387 xi2c_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_addr_write() argument 397 xi2c_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_value_read() argument 408 xi2c_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_value_write() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-debugfs.c | 125 loff_t *ppos, unsigned int value) in xgbe_common_read() 130 if (*ppos != 0) in xgbe_common_read() 142 len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); in xgbe_common_read() 149 loff_t *ppos, unsigned int *value) in xgbe_common_write() 155 if (*ppos != 0) in xgbe_common_write() 161 len = simple_write_to_buffer(workarea, sizeof(workarea) - 1, ppos, in xgbe_common_write() 175 size_t count, loff_t *ppos) in xgmac_reg_addr_read() 179 return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xgmac_reg); in xgmac_reg_addr_read() 184 size_t count, loff_t *ppos) in xgmac_reg_addr_write() 188 return xgbe_common_write(buffer, count, ppos, in xgmac_reg_addr_write() 124 xgbe_common_read(char __user *buffer, size_t count, loff_t *ppos, unsigned int value) xgbe_common_read() argument 148 xgbe_common_write(const char __user *buffer, size_t count, loff_t *ppos, unsigned int *value) xgbe_common_write() argument 174 xgmac_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xgmac_reg_addr_read() argument 182 xgmac_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xgmac_reg_addr_write() argument 192 xgmac_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xgmac_reg_value_read() argument 203 xgmac_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xgmac_reg_value_write() argument 234 xpcs_mmd_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xpcs_mmd_read() argument 242 xpcs_mmd_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xpcs_mmd_write() argument 251 xpcs_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_addr_read() argument 259 xpcs_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_addr_write() argument 268 xpcs_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_value_read() argument 280 xpcs_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_value_write() argument 319 xprop_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xprop_reg_addr_read() argument 327 xprop_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xprop_reg_addr_write() argument 337 xprop_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xprop_reg_value_read() argument 348 xprop_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xprop_reg_value_write() argument 379 xi2c_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_addr_read() argument 387 xi2c_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_addr_write() argument 397 xi2c_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_value_read() argument 408 xi2c_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_value_write() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | nvram.h | 81 static inline ssize_t nvram_read_bytes(char *buf, size_t count, loff_t *ppos) in nvram_read_bytes() argument 89 for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count) in nvram_read_bytes() 91 *ppos = i; in nvram_read_bytes() 95 static inline ssize_t nvram_write_bytes(char *buf, size_t count, loff_t *ppos) in nvram_write_bytes() argument 103 for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count) in nvram_write_bytes() 105 *ppos = i; in nvram_write_bytes() 109 static inline ssize_t nvram_read(char *buf, size_t count, loff_t *ppos) in nvram_read() argument 113 return ppc_md.nvram_read(buf, count, ppos); in nvram_read() 116 return arch_nvram_ops.read(buf, count, ppos); in nvram_read() 118 return nvram_read_bytes(buf, count, ppos); in nvram_read() 121 nvram_write(char *buf, size_t count, loff_t *ppos) nvram_write() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | nvram.h | 81 static inline ssize_t nvram_read_bytes(char *buf, size_t count, loff_t *ppos) in nvram_read_bytes() argument 89 for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count) in nvram_read_bytes() 91 *ppos = i; in nvram_read_bytes() 95 static inline ssize_t nvram_write_bytes(char *buf, size_t count, loff_t *ppos) in nvram_write_bytes() argument 103 for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count) in nvram_write_bytes() 105 *ppos = i; in nvram_write_bytes() 109 static inline ssize_t nvram_read(char *buf, size_t count, loff_t *ppos) in nvram_read() argument 113 return ppc_md.nvram_read(buf, count, ppos); in nvram_read() 116 return arch_nvram_ops.read(buf, count, ppos); in nvram_read() 118 return nvram_read_bytes(buf, count, ppos); in nvram_read() 121 nvram_write(char *buf, size_t count, loff_t *ppos) nvram_write() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/ |
H A D | debugfs.c | 26 size_t count, loff_t *ppos) in write_file_dummy() 34 size_t count, loff_t *ppos) in lbs_dev_info() 49 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_dev_info() 57 loff_t *ppos) in lbs_sleepparams_write() 93 size_t count, loff_t *ppos) in lbs_sleepparams_read() 113 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_sleepparams_read() 122 loff_t *ppos) in lbs_host_sleep_write() 163 size_t count, loff_t *ppos) in lbs_host_sleep_read() 175 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_host_sleep_read() 219 size_t count, loff_t *ppos) in lbs_threshold_read() 25 write_file_dummy(struct file *file, const char __user *buf, size_t count, loff_t *ppos) write_file_dummy() argument 33 lbs_dev_info(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_dev_info() argument 55 lbs_sleepparams_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) lbs_sleepparams_write() argument 92 lbs_sleepparams_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_sleepparams_read() argument 120 lbs_host_sleep_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) lbs_host_sleep_write() argument 162 lbs_host_sleep_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_host_sleep_read() argument 217 lbs_threshold_read(uint16_t tlv_type, uint16_t event_mask, struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_threshold_read() argument 269 lbs_threshold_write(uint16_t tlv_type, uint16_t event_mask, struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_threshold_write() argument 338 lbs_lowrssi_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_lowrssi_read() argument 346 lbs_lowrssi_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_lowrssi_write() argument 354 lbs_lowsnr_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_lowsnr_read() argument 362 lbs_lowsnr_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_lowsnr_write() argument 370 lbs_failcount_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_failcount_read() argument 378 lbs_failcount_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_failcount_write() argument 386 lbs_highrssi_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_highrssi_read() argument 394 lbs_highrssi_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_highrssi_write() argument 402 lbs_highsnr_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_highsnr_read() argument 410 lbs_highsnr_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_highsnr_write() argument 417 lbs_bcnmiss_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_bcnmiss_read() argument 425 lbs_bcnmiss_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_bcnmiss_write() argument 433 lbs_rdmac_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_rdmac_read() argument 457 lbs_rdmac_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_rdmac_write() argument 473 lbs_wrmac_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_wrmac_write() argument 503 lbs_rdbbp_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_rdbbp_read() argument 528 lbs_rdbbp_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_rdbbp_write() argument 545 lbs_wrbbp_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_wrbbp_write() argument 575 lbs_rdrf_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_rdrf_read() argument 600 lbs_rdrf_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_rdrf_write() argument 616 lbs_wrrf_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_wrrf_write() argument 806 lbs_debugfs_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_debugfs_read() argument 853 lbs_debugfs_write(struct file *f, const char __user *buf, size_t cnt, loff_t *ppos) lbs_debugfs_write() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/ |
H A D | debugfs.c | 26 size_t count, loff_t *ppos) in write_file_dummy() 34 size_t count, loff_t *ppos) in lbs_dev_info() 49 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_dev_info() 57 loff_t *ppos) in lbs_sleepparams_write() 93 size_t count, loff_t *ppos) in lbs_sleepparams_read() 113 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_sleepparams_read() 122 loff_t *ppos) in lbs_host_sleep_write() 163 size_t count, loff_t *ppos) in lbs_host_sleep_read() 175 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_host_sleep_read() 219 size_t count, loff_t *ppos) in lbs_threshold_read() 25 write_file_dummy(struct file *file, const char __user *buf, size_t count, loff_t *ppos) write_file_dummy() argument 33 lbs_dev_info(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_dev_info() argument 55 lbs_sleepparams_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) lbs_sleepparams_write() argument 92 lbs_sleepparams_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_sleepparams_read() argument 120 lbs_host_sleep_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) lbs_host_sleep_write() argument 162 lbs_host_sleep_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_host_sleep_read() argument 217 lbs_threshold_read(uint16_t tlv_type, uint16_t event_mask, struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_threshold_read() argument 269 lbs_threshold_write(uint16_t tlv_type, uint16_t event_mask, struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_threshold_write() argument 338 lbs_lowrssi_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_lowrssi_read() argument 346 lbs_lowrssi_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_lowrssi_write() argument 354 lbs_lowsnr_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_lowsnr_read() argument 362 lbs_lowsnr_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_lowsnr_write() argument 370 lbs_failcount_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_failcount_read() argument 378 lbs_failcount_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_failcount_write() argument 386 lbs_highrssi_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_highrssi_read() argument 394 lbs_highrssi_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_highrssi_write() argument 402 lbs_highsnr_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_highsnr_read() argument 410 lbs_highsnr_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_highsnr_write() argument 417 lbs_bcnmiss_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_bcnmiss_read() argument 425 lbs_bcnmiss_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_bcnmiss_write() argument 433 lbs_rdmac_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_rdmac_read() argument 457 lbs_rdmac_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_rdmac_write() argument 473 lbs_wrmac_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_wrmac_write() argument 503 lbs_rdbbp_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_rdbbp_read() argument 528 lbs_rdbbp_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_rdbbp_write() argument 545 lbs_wrbbp_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_wrbbp_write() argument 575 lbs_rdrf_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_rdrf_read() argument 600 lbs_rdrf_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_rdrf_write() argument 616 lbs_wrrf_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) lbs_wrrf_write() argument 806 lbs_debugfs_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) lbs_debugfs_read() argument 853 lbs_debugfs_write(struct file *f, const char __user *buf, size_t cnt, loff_t *ppos) lbs_debugfs_write() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | debugfs.c | 69 loff_t *ppos) in hfi1_seq_read() 77 r = seq_read(file, buf, size, ppos); in hfi1_seq_read() 460 size_t count, loff_t *ppos) in dev_counters_read() 469 rval = simple_read_from_buffer(buf, count, ppos, counters, avail); in dev_counters_read() 475 size_t count, loff_t *ppos) in dev_names_read() 484 rval = simple_read_from_buffer(buf, count, ppos, names, avail); in dev_names_read() 500 size_t count, loff_t *ppos) in portnames_read() 509 rval = simple_read_from_buffer(buf, count, ppos, names, avail); in portnames_read() 515 size_t count, loff_t *ppos) in portcntrs_debugfs_read() 524 rval = simple_read_from_buffer(buf, count, ppos, counter in portcntrs_debugfs_read() 68 hfi1_seq_read(struct file *file, char __user *buf, size_t size, loff_t *ppos) hfi1_seq_read() argument 459 dev_counters_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dev_counters_read() argument 474 dev_names_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dev_names_read() argument 499 portnames_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) portnames_read() argument 514 portcntrs_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) portcntrs_debugfs_read() argument 542 asic_flags_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) asic_flags_read() argument 591 asic_flags_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) asic_flags_write() argument 637 dc8051_memory_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dc8051_memory_read() argument 677 debugfs_lcb_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) debugfs_lcb_read() argument 711 debugfs_lcb_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) debugfs_lcb_write() argument 747 qsfp_debugfs_dump(struct file *file, char __user *buf, size_t count, loff_t *ppos) qsfp_debugfs_dump() argument 767 __i2c_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos, u32 target) __i2c_debugfs_write() argument 807 i2c1_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) i2c1_debugfs_write() argument 814 i2c2_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) i2c2_debugfs_write() argument 821 __i2c_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos, u32 target) __i2c_debugfs_read() argument 867 i2c1_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) i2c1_debugfs_read() argument 874 i2c2_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) i2c2_debugfs_read() argument 881 __qsfp_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos, u32 target) __qsfp_debugfs_write() argument 914 qsfp1_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) qsfp1_debugfs_write() argument 921 qsfp2_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) qsfp2_debugfs_write() argument 928 __qsfp_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos, u32 target) __qsfp_debugfs_read() argument 972 qsfp1_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) qsfp1_debugfs_read() argument 979 qsfp2_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) qsfp2_debugfs_read() argument 1088 exprom_wp_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) exprom_wp_debugfs_read() argument 1094 exprom_wp_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) exprom_wp_debugfs_write() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | debugfs.c | 27 loff_t *ppos) in hfi1_seq_read() 35 r = seq_read(file, buf, size, ppos); in hfi1_seq_read() 418 size_t count, loff_t *ppos) in dev_counters_read() 427 rval = simple_read_from_buffer(buf, count, ppos, counters, avail); in dev_counters_read() 433 size_t count, loff_t *ppos) in dev_names_read() 442 rval = simple_read_from_buffer(buf, count, ppos, names, avail); in dev_names_read() 458 size_t count, loff_t *ppos) in portnames_read() 467 rval = simple_read_from_buffer(buf, count, ppos, names, avail); in portnames_read() 473 size_t count, loff_t *ppos) in portcntrs_debugfs_read() 482 rval = simple_read_from_buffer(buf, count, ppos, counter in portcntrs_debugfs_read() 26 hfi1_seq_read(struct file *file, char __user *buf, size_t size, loff_t *ppos) hfi1_seq_read() argument 417 dev_counters_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dev_counters_read() argument 432 dev_names_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dev_names_read() argument 457 portnames_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) portnames_read() argument 472 portcntrs_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) portcntrs_debugfs_read() argument 500 asic_flags_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) asic_flags_read() argument 549 asic_flags_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) asic_flags_write() argument 595 dc8051_memory_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dc8051_memory_read() argument 635 debugfs_lcb_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) debugfs_lcb_read() argument 669 debugfs_lcb_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) debugfs_lcb_write() argument 705 qsfp_debugfs_dump(struct file *file, char __user *buf, size_t count, loff_t *ppos) qsfp_debugfs_dump() argument 725 __i2c_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos, u32 target) __i2c_debugfs_write() argument 765 i2c1_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) i2c1_debugfs_write() argument 772 i2c2_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) i2c2_debugfs_write() argument 779 __i2c_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos, u32 target) __i2c_debugfs_read() argument 825 i2c1_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) i2c1_debugfs_read() argument 832 i2c2_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) i2c2_debugfs_read() argument 839 __qsfp_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos, u32 target) __qsfp_debugfs_write() argument 872 qsfp1_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) qsfp1_debugfs_write() argument 879 qsfp2_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) qsfp2_debugfs_write() argument 886 __qsfp_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos, u32 target) __qsfp_debugfs_read() argument 930 qsfp1_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) qsfp1_debugfs_read() argument 937 qsfp2_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) qsfp2_debugfs_read() argument 1046 exprom_wp_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) exprom_wp_debugfs_read() argument 1052 exprom_wp_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) exprom_wp_debugfs_write() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_fs.c | 106 size_t count, loff_t *ppos) in driver_stats_read() 109 return simple_read_from_buffer(buf, count, ppos, &qib_stats, in driver_stats_read() 134 size_t count, loff_t *ppos) in driver_names_read() 136 return simple_read_from_buffer(buf, count, ppos, qib_statnames, in driver_names_read() 147 size_t count, loff_t *ppos) in dev_counters_read() 153 avail = dd->f_read_cntrs(dd, *ppos, NULL, &counters); in dev_counters_read() 154 return simple_read_from_buffer(buf, count, ppos, counters, avail); in dev_counters_read() 159 size_t count, loff_t *ppos) in dev_names_read() 165 avail = dd->f_read_cntrs(dd, *ppos, &names, NULL); in dev_names_read() 166 return simple_read_from_buffer(buf, count, ppos, name in dev_names_read() 105 driver_stats_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) driver_stats_read() argument 133 driver_names_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) driver_names_read() argument 146 dev_counters_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dev_counters_read() argument 158 dev_names_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dev_names_read() argument 180 portnames_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) portnames_read() argument 192 portcntrs_1_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) portcntrs_1_read() argument 204 portcntrs_2_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) portcntrs_2_read() argument 224 qsfp_1_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) qsfp_1_read() argument 245 qsfp_2_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) qsfp_2_read() argument 271 flash_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) flash_read() argument 322 flash_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) flash_write() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_fs.c | 104 size_t count, loff_t *ppos) in driver_stats_read() 107 return simple_read_from_buffer(buf, count, ppos, &qib_stats, in driver_stats_read() 132 size_t count, loff_t *ppos) in driver_names_read() 134 return simple_read_from_buffer(buf, count, ppos, qib_statnames, in driver_names_read() 145 size_t count, loff_t *ppos) in dev_counters_read() 151 avail = dd->f_read_cntrs(dd, *ppos, NULL, &counters); in dev_counters_read() 152 return simple_read_from_buffer(buf, count, ppos, counters, avail); in dev_counters_read() 157 size_t count, loff_t *ppos) in dev_names_read() 163 avail = dd->f_read_cntrs(dd, *ppos, &names, NULL); in dev_names_read() 164 return simple_read_from_buffer(buf, count, ppos, name in dev_names_read() 103 driver_stats_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) driver_stats_read() argument 131 driver_names_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) driver_names_read() argument 144 dev_counters_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dev_counters_read() argument 156 dev_names_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dev_names_read() argument 178 portnames_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) portnames_read() argument 190 portcntrs_1_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) portcntrs_1_read() argument 202 portcntrs_2_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) portcntrs_2_read() argument 222 qsfp_1_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) qsfp_1_read() argument 243 qsfp_2_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) qsfp_2_read() argument 269 flash_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) flash_read() argument 320 flash_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) flash_write() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_debugfs.c | 14 size_t count, loff_t *ppos, in ixgbe_dbg_common_ops_read() 22 if (*ppos != 0) in ixgbe_dbg_common_ops_read() 35 len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); in ixgbe_dbg_common_ops_read() 46 * @ppos: file position offset 49 size_t count, loff_t *ppos) in ixgbe_dbg_reg_ops_read() 51 return ixgbe_dbg_common_ops_read(filp, buffer, count, ppos, in ixgbe_dbg_reg_ops_read() 60 * @ppos: file position offset 64 size_t count, loff_t *ppos) in ixgbe_dbg_reg_ops_write() 70 if (*ppos != 0) in ixgbe_dbg_reg_ops_write() 77 ppos, in ixgbe_dbg_reg_ops_write() 13 ixgbe_dbg_common_ops_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos, char *dbg_buf) ixgbe_dbg_common_ops_read() argument 48 ixgbe_dbg_reg_ops_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) ixgbe_dbg_reg_ops_read() argument 62 ixgbe_dbg_reg_ops_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) ixgbe_dbg_reg_ops_write() argument 131 ixgbe_dbg_netdev_ops_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) ixgbe_dbg_netdev_ops_read() argument 145 ixgbe_dbg_netdev_ops_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) ixgbe_dbg_netdev_ops_write() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_debugfs.c | 14 size_t count, loff_t *ppos, in ixgbe_dbg_common_ops_read() 22 if (*ppos != 0) in ixgbe_dbg_common_ops_read() 35 len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); in ixgbe_dbg_common_ops_read() 46 * @ppos: file position offset 49 size_t count, loff_t *ppos) in ixgbe_dbg_reg_ops_read() 51 return ixgbe_dbg_common_ops_read(filp, buffer, count, ppos, in ixgbe_dbg_reg_ops_read() 60 * @ppos: file position offset 64 size_t count, loff_t *ppos) in ixgbe_dbg_reg_ops_write() 70 if (*ppos != 0) in ixgbe_dbg_reg_ops_write() 77 ppos, in ixgbe_dbg_reg_ops_write() 13 ixgbe_dbg_common_ops_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos, char *dbg_buf) ixgbe_dbg_common_ops_read() argument 48 ixgbe_dbg_reg_ops_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) ixgbe_dbg_reg_ops_read() argument 62 ixgbe_dbg_reg_ops_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) ixgbe_dbg_reg_ops_write() argument 131 ixgbe_dbg_netdev_ops_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) ixgbe_dbg_netdev_ops_read() argument 145 ixgbe_dbg_netdev_ops_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) ixgbe_dbg_netdev_ops_write() argument [all...] |
/kernel/linux/linux-5.10/include/linux/sched/ |
H A D | sysctl.h | 23 void *buffer, size_t *lenp, loff_t *ppos); 41 int write, void __user *buffer, size_t *length, loff_t *ppos); 69 void *buffer, size_t *length, loff_t *ppos); 102 size_t *lenp, loff_t *ppos); 104 size_t *lenp, loff_t *ppos); 106 void *buffer, size_t *lenp, loff_t *ppos); 108 size_t *lenp, loff_t *ppos); 110 size_t *lenp, loff_t *ppos); 115 void *buffer, size_t *lenp, loff_t *ppos);
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | debugfs.c | 21 loff_t *ppos, char *fmt, ...) in mac80211_format_buffer() 31 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in mac80211_format_buffer() 36 size_t count, loff_t *ppos) \ 40 return mac80211_format_buffer(userbuf, count, ppos, \ 78 loff_t *ppos) in aqm_read() 112 return simple_read_from_buffer(user_buf, count, ppos, in aqm_read() 119 loff_t *ppos) in aqm_write() 154 size_t count, loff_t *ppos) in airtime_flags_read() 169 return simple_read_from_buffer(user_buf, count, ppos, buf, in airtime_flags_read() 175 size_t count, loff_t *ppos) in airtime_flags_write() 20 mac80211_format_buffer(char __user *userbuf, size_t count, loff_t *ppos, char *fmt, ...) mac80211_format_buffer() argument 75 aqm_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) aqm_read() argument 116 aqm_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) aqm_write() argument 152 airtime_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) airtime_flags_read() argument 173 airtime_flags_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) airtime_flags_write() argument 204 aql_pending_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) aql_pending_read() argument 234 aql_txq_limit_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) aql_txq_limit_read() argument 261 aql_txq_limit_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) aql_txq_limit_write() argument 314 aql_enable_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) aql_enable_read() argument 326 aql_enable_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) aql_enable_write() argument 364 force_tx_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) force_tx_status_read() argument 379 force_tx_status_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) force_tx_status_write() argument 416 reset_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) reset_write() argument 502 hwflags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) hwflags_read() argument 531 misc_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) misc_read() argument 563 queues_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) queues_read() argument 587 format_devstat_counter(struct ieee80211_local *local, char __user *userbuf, size_t count, loff_t *ppos, int (*printvalue)(struct ieee80211_low_level_stats *stats, char *buf, int buflen)) format_devstat_counter() argument [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | sysctl.c | 147 char *buffer, size_t *lenp, loff_t *ppos) in _proc_do_string() 164 if (*ppos > len) in _proc_do_string() 166 len = *ppos; in _proc_do_string() 172 *ppos += *lenp; in _proc_do_string() 186 if (*ppos > len) { in _proc_do_string() 191 data += *ppos; in _proc_do_string() 192 len -= *ppos; in _proc_do_string() 203 *ppos += len; in _proc_do_string() 218 * @ppos: file position 225 static bool proc_first_pos_non_zero_ignore(loff_t *ppos, in proc_first_pos_non_zero_ignore() argument 146 _proc_do_string(char *data, int maxlen, int write, char *buffer, size_t *lenp, loff_t *ppos) _proc_do_string() argument 259 proc_dostring(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dostring() argument 471 __do_proc_dointvec(void *tbl_data, struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(bool *negp, unsigned long *lvalp, int *valp, int write, void *data), void *data) __do_proc_dointvec() argument 544 do_proc_dointvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(bool *negp, unsigned long *lvalp, int *valp, int write, void *data), void *data) do_proc_dointvec() argument 554 do_proc_douintvec_w(unsigned int *tbl_data, struct ctl_table *table, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(unsigned long *lvalp, unsigned int *valp, int write, void *data), void *data) do_proc_douintvec_w() argument 611 do_proc_douintvec_r(unsigned int *tbl_data, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(unsigned long *lvalp, unsigned int *valp, int write, void *data), void *data) do_proc_douintvec_r() argument 642 __do_proc_douintvec(void *tbl_data, struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(unsigned long *lvalp, unsigned int *valp, int write, void *data), void *data) __do_proc_douintvec() argument 678 do_proc_douintvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(unsigned long *lvalp, unsigned int *valp, int write, void *data), void *data) do_proc_douintvec() argument 705 proc_dobool(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dobool() argument 742 proc_dointvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec() argument 761 proc_douintvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_douintvec() argument 772 proc_taint(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_taint() argument 867 proc_dointvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_minmax() argument 936 proc_douintvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_douintvec_minmax() argument 964 proc_dou8vec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dou8vec_minmax() argument 1007 sysrq_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) sysrq_sysctl_handler() argument 1026 __do_proc_doulongvec_minmax(void *data, struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, unsigned long convmul, unsigned long convdiv) __do_proc_doulongvec_minmax() argument 1099 do_proc_doulongvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, unsigned long convmul, unsigned long convdiv) do_proc_doulongvec_minmax() argument 1123 proc_doulongvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_doulongvec_minmax() argument 1146 proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_doulongvec_ms_jiffies_minmax() argument 1267 proc_dointvec_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_jiffies() argument 1274 proc_dointvec_ms_jiffies_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_ms_jiffies_minmax() argument 1300 proc_dointvec_userhz_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_userhz_jiffies() argument 1323 proc_dointvec_ms_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_ms_jiffies() argument 1330 proc_do_cad_pid(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_do_cad_pid() argument 1369 proc_do_large_bitmap(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_do_large_bitmap() argument 1501 proc_dostring(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dostring() argument 1507 proc_dobool(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dobool() argument 1513 proc_dointvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec() argument 1519 proc_douintvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_douintvec() argument 1525 proc_dointvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_minmax() argument 1531 proc_douintvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_douintvec_minmax() argument 1537 proc_dou8vec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dou8vec_minmax() argument 1543 proc_dointvec_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_jiffies() argument 1549 proc_dointvec_ms_jiffies_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_ms_jiffies_minmax() argument 1555 proc_dointvec_userhz_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_userhz_jiffies() argument 1561 proc_dointvec_ms_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_ms_jiffies() argument 1567 proc_doulongvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_doulongvec_minmax() argument 1573 proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_doulongvec_ms_jiffies_minmax() argument 1579 proc_do_large_bitmap(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_do_large_bitmap() argument 1588 proc_do_static_key(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_do_static_key() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.c | 32 loff_t *ppos, char *fmt, ...) in wl1271_format_buffer() 42 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in wl1271_format_buffer() 81 size_t count, loff_t *ppos) in tx_queue_len_read() 91 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in tx_queue_len_read() 130 size_t count, loff_t *ppos) \ 134 ppos, "%d\n", \ 140 size_t count, loff_t *ppos) \ 181 size_t count, loff_t *ppos) in gpio_power_read() 191 return simple_read_from_buffer(user_buf, count, ppos, buf, res); in gpio_power_read() 196 size_t count, loff_t *ppos) in gpio_power_write() 31 wl1271_format_buffer(char __user *userbuf, size_t count, loff_t *ppos, char *fmt, ...) wl1271_format_buffer() argument 80 tx_queue_len_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) tx_queue_len_read() argument 180 gpio_power_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) gpio_power_read() argument 194 gpio_power_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) gpio_power_write() argument 226 start_recovery_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) start_recovery_write() argument 245 dynamic_ps_timeout_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) dynamic_ps_timeout_read() argument 255 dynamic_ps_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) dynamic_ps_timeout_write() argument 312 forced_ps_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) forced_ps_read() argument 322 forced_ps_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) forced_ps_write() argument 384 split_scan_timeout_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) split_scan_timeout_read() argument 394 split_scan_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) split_scan_timeout_write() argument 426 driver_state_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) driver_state_read() argument 525 vifs_state_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) vifs_state_read() argument 635 dtim_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) dtim_interval_read() argument 650 dtim_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) dtim_interval_write() argument 695 suspend_dtim_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) suspend_dtim_interval_read() argument 711 suspend_dtim_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) suspend_dtim_interval_write() argument 751 beacon_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) beacon_interval_read() argument 766 beacon_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) beacon_interval_write() argument 809 rx_streaming_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) rx_streaming_interval_write() argument 851 rx_streaming_interval_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) rx_streaming_interval_read() argument 867 rx_streaming_always_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) rx_streaming_always_write() argument 909 rx_streaming_always_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) rx_streaming_always_read() argument 925 beacon_filtering_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) beacon_filtering_write() argument 965 fw_stats_raw_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) fw_stats_raw_read() argument 984 sleep_auth_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) sleep_auth_read() argument 994 sleep_auth_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) sleep_auth_write() argument 1049 dev_mem_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) dev_mem_read() argument 1132 dev_mem_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) dev_mem_write() argument 1222 fw_logger_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) fw_logger_read() argument 1232 fw_logger_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) fw_logger_write() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.c | 32 loff_t *ppos, char *fmt, ...) in wl1271_format_buffer() 42 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in wl1271_format_buffer() 79 size_t count, loff_t *ppos) in tx_queue_len_read() 89 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in tx_queue_len_read() 125 size_t count, loff_t *ppos) \ 129 ppos, "%d\n", \ 135 size_t count, loff_t *ppos) \ 176 size_t count, loff_t *ppos) in gpio_power_read() 186 return simple_read_from_buffer(user_buf, count, ppos, buf, res); in gpio_power_read() 191 size_t count, loff_t *ppos) in gpio_power_write() 31 wl1271_format_buffer(char __user *userbuf, size_t count, loff_t *ppos, char *fmt, ...) wl1271_format_buffer() argument 78 tx_queue_len_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) tx_queue_len_read() argument 175 gpio_power_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) gpio_power_read() argument 189 gpio_power_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) gpio_power_write() argument 221 start_recovery_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) start_recovery_write() argument 240 dynamic_ps_timeout_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) dynamic_ps_timeout_read() argument 250 dynamic_ps_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) dynamic_ps_timeout_write() argument 305 forced_ps_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) forced_ps_read() argument 315 forced_ps_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) forced_ps_write() argument 375 split_scan_timeout_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) split_scan_timeout_read() argument 385 split_scan_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) split_scan_timeout_write() argument 417 driver_state_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) driver_state_read() argument 516 vifs_state_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) vifs_state_read() argument 626 dtim_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) dtim_interval_read() argument 641 dtim_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) dtim_interval_write() argument 686 suspend_dtim_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) suspend_dtim_interval_read() argument 702 suspend_dtim_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) suspend_dtim_interval_write() argument 742 beacon_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) beacon_interval_read() argument 757 beacon_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) beacon_interval_write() argument 800 rx_streaming_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) rx_streaming_interval_write() argument 840 rx_streaming_interval_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) rx_streaming_interval_read() argument 856 rx_streaming_always_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) rx_streaming_always_write() argument 896 rx_streaming_always_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) rx_streaming_always_read() argument 912 beacon_filtering_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) beacon_filtering_write() argument 950 fw_stats_raw_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) fw_stats_raw_read() argument 969 sleep_auth_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) sleep_auth_read() argument 979 sleep_auth_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) sleep_auth_write() argument 1032 dev_mem_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) dev_mem_read() argument 1115 dev_mem_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) dev_mem_write() argument 1205 fw_logger_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) fw_logger_read() argument 1215 fw_logger_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) fw_logger_write() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | debugfs.c | 75 size_t count, loff_t *ppos) in iwl_dbgfs_ctdp_budget_read() 97 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ctdp_budget_read() 101 size_t count, loff_t *ppos) in iwl_dbgfs_stop_ctdp_write() 120 size_t count, loff_t *ppos) in iwl_dbgfs_force_ctkill_write() 132 size_t count, loff_t *ppos) in iwl_dbgfs_tx_flush_write() 166 size_t count, loff_t *ppos) in iwl_dbgfs_sta_drain_write() 197 size_t count, loff_t *ppos) in iwl_dbgfs_sram_read() 224 ret = simple_read_from_buffer(user_buf, count, ppos, ptr, len); in iwl_dbgfs_sram_read() 232 size_t count, loff_t *ppos) in iwl_dbgfs_sram_write() 264 size_t count, loff_t *ppos) in iwl_dbgfs_set_nic_temperature_read() 73 iwl_dbgfs_ctdp_budget_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_ctdp_budget_read() argument 100 iwl_dbgfs_stop_ctdp_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_stop_ctdp_write() argument 119 iwl_dbgfs_force_ctkill_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_force_ctkill_write() argument 131 iwl_dbgfs_tx_flush_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_tx_flush_write() argument 165 iwl_dbgfs_sta_drain_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_sta_drain_write() argument 196 iwl_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_sram_read() argument 231 iwl_dbgfs_sram_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_sram_write() argument 262 iwl_dbgfs_set_nic_temperature_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_set_nic_temperature_read() argument 285 iwl_dbgfs_set_nic_temperature_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_set_nic_temperature_write() argument 329 iwl_dbgfs_nic_temp_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_nic_temp_read() argument 354 iwl_dbgfs_sar_geo_profile_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_sar_geo_profile_read() argument 396 iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_stations_read() argument 425 iwl_dbgfs_rs_data_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_rs_data_read() argument 471 iwl_dbgfs_amsdu_len_write(struct ieee80211_sta *sta, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_amsdu_len_write() argument 499 iwl_dbgfs_amsdu_len_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_amsdu_len_read() argument 516 iwl_dbgfs_disable_power_off_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_disable_power_off_read() argument 533 iwl_dbgfs_disable_power_off_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_disable_power_off_write() argument 620 iwl_dbgfs_bt_notif_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_bt_notif_read() argument 664 iwl_dbgfs_bt_cmd_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_bt_cmd_read() argument 689 iwl_dbgfs_bt_tx_prio_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_bt_tx_prio_write() argument 705 iwl_dbgfs_bt_force_ant_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_bt_force_ant_write() argument 740 iwl_dbgfs_fw_ver_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_ver_read() argument 775 iwl_dbgfs_fw_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_rx_stats_read() argument 965 iwl_dbgfs_frame_stats_read(struct iwl_mvm *mvm, char __user *user_buf, size_t count, loff_t *ppos, struct iwl_mvm_frame_stats *stats) iwl_dbgfs_frame_stats_read() argument 1032 iwl_dbgfs_drv_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_drv_rx_stats_read() argument 1042 iwl_dbgfs_fw_restart_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_restart_write() argument 1064 iwl_dbgfs_fw_nmi_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_nmi_write() argument 1076 iwl_dbgfs_scan_ant_rxchain_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_scan_ant_rxchain_read() argument 1099 iwl_dbgfs_scan_ant_rxchain_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_scan_ant_rxchain_write() argument 1124 iwl_dbgfs_indirection_tbl_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_indirection_tbl_write() argument 1171 iwl_dbgfs_inject_packet_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_inject_packet_write() argument 1314 iwl_dbgfs_inject_beacon_ie_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_inject_beacon_ie_write() argument 1324 iwl_dbgfs_inject_beacon_ie_restore_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_inject_beacon_ie_restore_write() argument 1336 iwl_dbgfs_fw_dbg_conf_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_dbg_conf_read() argument 1355 iwl_dbgfs_fw_dbg_conf_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_dbg_conf_write() argument 1379 iwl_dbgfs_fw_dbg_collect_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_dbg_collect_write() argument 1397 iwl_dbgfs_bcast_filters_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_bcast_filters_read() argument 1451 iwl_dbgfs_bcast_filters_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_bcast_filters_write() argument 1504 iwl_dbgfs_bcast_filters_macs_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_bcast_filters_macs_read() argument 1539 iwl_dbgfs_bcast_filters_macs_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_bcast_filters_macs_write() argument 1602 iwl_dbgfs_prph_reg_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_prph_reg_read() argument 1622 iwl_dbgfs_prph_reg_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_prph_reg_write() argument 1644 iwl_dbgfs_send_echo_cmd_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_send_echo_cmd_write() argument 1678 iwl_dbgfs_he_sniffer_params_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_he_sniffer_params_write() argument 1735 iwl_dbgfs_he_sniffer_params_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_he_sniffer_params_read() argument 1752 iwl_dbgfs_uapsd_noagg_bssids_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_uapsd_noagg_bssids_read() argument 1773 iwl_dbgfs_ltr_config_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_ltr_config_write() argument 1854 iwl_dbgfs_mem_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_mem_read() argument 1915 iwl_dbgfs_mem_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_mem_write() argument [all...] |
/kernel/linux/linux-5.10/fs/fuse/ |
H A D | control.c | 35 size_t count, loff_t *ppos) in fuse_conn_abort_write() 48 size_t len, loff_t *ppos) in fuse_conn_waiting_read() 53 if (!*ppos) { in fuse_conn_waiting_read() 64 return simple_read_from_buffer(buf, len, ppos, tmp, size); in fuse_conn_waiting_read() 68 size_t len, loff_t *ppos, unsigned val) in fuse_conn_limit_read() 73 return simple_read_from_buffer(buf, len, ppos, tmp, size); in fuse_conn_limit_read() 77 size_t count, loff_t *ppos, unsigned *val, in fuse_conn_limit_write() 84 if (*ppos) in fuse_conn_limit_write() 104 loff_t *ppos) in fuse_conn_max_background_read() 116 return fuse_conn_limit_read(file, buf, len, ppos, va in fuse_conn_max_background_read() 34 fuse_conn_abort_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) fuse_conn_abort_write() argument 47 fuse_conn_waiting_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) fuse_conn_waiting_read() argument 67 fuse_conn_limit_read(struct file *file, char __user *buf, size_t len, loff_t *ppos, unsigned val) fuse_conn_limit_read() argument 76 fuse_conn_limit_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos, unsigned *val, unsigned global_limit) fuse_conn_limit_write() argument 102 fuse_conn_max_background_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) fuse_conn_max_background_read() argument 119 fuse_conn_max_background_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) fuse_conn_max_background_write() argument 144 fuse_conn_congestion_threshold_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) fuse_conn_congestion_threshold_read() argument 161 fuse_conn_congestion_threshold_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) fuse_conn_congestion_threshold_write() argument [all...] |
/kernel/linux/linux-6.6/fs/fuse/ |
H A D | control.c | 35 size_t count, loff_t *ppos) in fuse_conn_abort_write() 48 size_t len, loff_t *ppos) in fuse_conn_waiting_read() 53 if (!*ppos) { in fuse_conn_waiting_read() 64 return simple_read_from_buffer(buf, len, ppos, tmp, size); in fuse_conn_waiting_read() 68 size_t len, loff_t *ppos, unsigned val) in fuse_conn_limit_read() 73 return simple_read_from_buffer(buf, len, ppos, tmp, size); in fuse_conn_limit_read() 77 size_t count, loff_t *ppos, unsigned *val, in fuse_conn_limit_write() 84 if (*ppos) in fuse_conn_limit_write() 104 loff_t *ppos) in fuse_conn_max_background_read() 116 return fuse_conn_limit_read(file, buf, len, ppos, va in fuse_conn_max_background_read() 34 fuse_conn_abort_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) fuse_conn_abort_write() argument 47 fuse_conn_waiting_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) fuse_conn_waiting_read() argument 67 fuse_conn_limit_read(struct file *file, char __user *buf, size_t len, loff_t *ppos, unsigned val) fuse_conn_limit_read() argument 76 fuse_conn_limit_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos, unsigned *val, unsigned global_limit) fuse_conn_limit_write() argument 102 fuse_conn_max_background_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) fuse_conn_max_background_read() argument 119 fuse_conn_max_background_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) fuse_conn_max_background_write() argument 144 fuse_conn_congestion_threshold_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) fuse_conn_congestion_threshold_read() argument 161 fuse_conn_congestion_threshold_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) fuse_conn_congestion_threshold_write() argument [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | sysctl.c | 201 void *buffer, size_t *lenp, loff_t *ppos) in bpf_stats_handler() 219 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in bpf_stats_handler() 236 void *buffer, size_t *lenp, loff_t *ppos) in bpf_unpriv_handler() 246 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in bpf_unpriv_handler() 266 char *buffer, size_t *lenp, loff_t *ppos) in _proc_do_string() 283 if (*ppos > len) in _proc_do_string() 285 len = *ppos; in _proc_do_string() 291 *ppos += *lenp; in _proc_do_string() 305 if (*ppos > len) { in _proc_do_string() 310 data += *ppos; in _proc_do_string() 200 bpf_stats_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) bpf_stats_handler() argument 235 bpf_unpriv_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) bpf_unpriv_handler() argument 265 _proc_do_string(char *data, int maxlen, int write, char *buffer, size_t *lenp, loff_t *ppos) _proc_do_string() argument 344 proc_first_pos_non_zero_ignore(loff_t *ppos, struct ctl_table *table) proc_first_pos_non_zero_ignore() argument 378 proc_dostring(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dostring() argument 590 __do_proc_dointvec(void *tbl_data, struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(bool *negp, unsigned long *lvalp, int *valp, int write, void *data), void *data) __do_proc_dointvec() argument 663 do_proc_dointvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(bool *negp, unsigned long *lvalp, int *valp, int write, void *data), void *data) do_proc_dointvec() argument 673 do_proc_douintvec_w(unsigned int *tbl_data, struct ctl_table *table, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(unsigned long *lvalp, unsigned int *valp, int write, void *data), void *data) do_proc_douintvec_w() argument 730 do_proc_douintvec_r(unsigned int *tbl_data, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(unsigned long *lvalp, unsigned int *valp, int write, void *data), void *data) do_proc_douintvec_r() argument 761 __do_proc_douintvec(void *tbl_data, struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(unsigned long *lvalp, unsigned int *valp, int write, void *data), void *data) __do_proc_douintvec() argument 797 do_proc_douintvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(unsigned long *lvalp, unsigned int *valp, int write, void *data), void *data) do_proc_douintvec() argument 821 proc_dointvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec() argument 828 proc_dointvec_minmax_warn_RT_change(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_minmax_warn_RT_change() argument 861 proc_douintvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_douintvec() argument 872 proc_taint(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_taint() argument 912 proc_dointvec_minmax_sysadmin(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_minmax_sysadmin() argument 978 proc_dointvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_minmax() argument 1047 proc_douintvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_douintvec_minmax() argument 1075 proc_dou8vec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dou8vec_minmax() argument 1137 proc_dopipe_max_size(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dopipe_max_size() argument 1158 proc_dointvec_minmax_coredump(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_minmax_coredump() argument 1168 proc_dostring_coredump(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dostring_coredump() argument 1179 sysrq_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) sysrq_sysctl_handler() argument 1198 __do_proc_doulongvec_minmax(void *data, struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, unsigned long convmul, unsigned long convdiv) __do_proc_doulongvec_minmax() argument 1270 do_proc_doulongvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, unsigned long convmul, unsigned long convdiv) do_proc_doulongvec_minmax() argument 1294 proc_doulongvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_doulongvec_minmax() argument 1317 proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_doulongvec_ms_jiffies_minmax() argument 1414 proc_dointvec_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_jiffies() argument 1436 proc_dointvec_userhz_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_userhz_jiffies() argument 1459 proc_dointvec_ms_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_ms_jiffies() argument 1466 proc_do_cad_pid(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_do_cad_pid() argument 1505 proc_do_large_bitmap(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_do_large_bitmap() argument 1638 proc_dostring(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dostring() argument 1644 proc_dointvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec() argument 1650 proc_douintvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_douintvec() argument 1656 proc_dointvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_minmax() argument 1662 proc_douintvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_douintvec_minmax() argument 1668 proc_dou8vec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dou8vec_minmax() argument 1674 proc_dointvec_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_jiffies() argument 1680 proc_dointvec_userhz_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_userhz_jiffies() argument 1686 proc_dointvec_ms_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_ms_jiffies() argument 1692 proc_doulongvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_doulongvec_minmax() argument 1698 proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_doulongvec_ms_jiffies_minmax() argument 1704 proc_do_large_bitmap(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_do_large_bitmap() argument 1713 proc_do_static_key(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_do_static_key() argument [all...] |
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | debugfs.c | 21 loff_t *ppos, char *fmt, ...) in mac80211_format_buffer() 31 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in mac80211_format_buffer() 36 size_t count, loff_t *ppos) \ 40 return mac80211_format_buffer(userbuf, count, ppos, \ 78 loff_t *ppos) in aqm_read() 112 return simple_read_from_buffer(user_buf, count, ppos, in aqm_read() 119 loff_t *ppos) in aqm_write() 154 size_t count, loff_t *ppos) in airtime_flags_read() 169 return simple_read_from_buffer(user_buf, count, ppos, buf, in airtime_flags_read() 175 size_t count, loff_t *ppos) in airtime_flags_write() 20 mac80211_format_buffer(char __user *userbuf, size_t count, loff_t *ppos, char *fmt, ...) mac80211_format_buffer() argument 75 aqm_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) aqm_read() argument 116 aqm_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) aqm_write() argument 152 airtime_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) airtime_flags_read() argument 173 airtime_flags_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) airtime_flags_write() argument 204 aql_txq_limit_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) aql_txq_limit_read() argument 231 aql_txq_limit_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) aql_txq_limit_write() argument 284 force_tx_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) force_tx_status_read() argument 299 force_tx_status_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) force_tx_status_write() argument 336 reset_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) reset_write() argument 411 hwflags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) hwflags_read() argument 440 misc_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) misc_read() argument 472 queues_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) queues_read() argument 496 format_devstat_counter(struct ieee80211_local *local, char __user *userbuf, size_t count, loff_t *ppos, int (*printvalue)(struct ieee80211_low_level_stats *stats, char *buf, int buflen)) format_devstat_counter() argument [all...] |
/kernel/linux/linux-5.10/ipc/ |
H A D | ipc_sysctl.c | 27 void *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_dointvec() 34 return proc_dointvec(&ipc_table, write, buffer, lenp, ppos); in proc_ipc_dointvec() 38 void *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_dointvec_minmax() 45 return proc_dointvec_minmax(&ipc_table, write, buffer, lenp, ppos); in proc_ipc_dointvec_minmax() 49 void *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_dointvec_minmax_orphans() 52 int err = proc_ipc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_ipc_dointvec_minmax_orphans() 62 void *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_doulongvec_minmax() 69 lenp, ppos); in proc_ipc_doulongvec_minmax() 73 void *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_auto_msgmni() 84 return proc_dointvec_minmax(&ipc_table, write, buffer, lenp, ppos); in proc_ipc_auto_msgmni() 26 proc_ipc_dointvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_ipc_dointvec() argument 37 proc_ipc_dointvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_ipc_dointvec_minmax() argument 48 proc_ipc_dointvec_minmax_orphans(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_ipc_dointvec_minmax_orphans() argument 61 proc_ipc_doulongvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_ipc_doulongvec_minmax() argument 72 proc_ipc_auto_msgmni(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_ipc_auto_msgmni() argument 87 proc_ipc_sem_dointvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_ipc_sem_dointvec() argument [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | custom_method.c | 23 size_t count, loff_t *ppos) in cm_write() 37 if (!(*ppos)) { in cm_write() 55 if ((*ppos > max_size) || in cm_write() 56 (*ppos + count > max_size) || in cm_write() 57 (*ppos + count < count) || in cm_write() 64 if (copy_from_user(buf + (*ppos), user_buf, count)) { in cm_write() 71 *ppos += count; in cm_write() 22 cm_write(struct file *file, const char __user * user_buf, size_t count, loff_t *ppos) cm_write() argument
|
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | custom_method.c | 23 size_t count, loff_t *ppos) in cm_write() 37 if (!(*ppos)) { in cm_write() 55 if ((*ppos > max_size) || in cm_write() 56 (*ppos + count > max_size) || in cm_write() 57 (*ppos + count < count) || in cm_write() 64 if (copy_from_user(buf + (*ppos), user_buf, count)) { in cm_write() 71 *ppos += count; in cm_write() 22 cm_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) cm_write() argument
|