| /linux/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() [all …]
|
| H A D | sysctl.h | 78 size_t *lenp, loff_t *ppos); 82 loff_t *ppos); 84 loff_t *ppos); 86 loff_t *ppos); 88 size_t *lenp, loff_t *ppos); 90 loff_t *ppos); 92 size_t *lenp, loff_t *ppos); 94 size_t *lenp, loff_t *ppos); 96 size_t *lenp, loff_t *ppos); 98 size_t *lenp, loff_t *ppos); [all …]
|
| /linux/samples/hung_task/ |
| H A D | hung_task_tests.c | 38 size_t count, loff_t *ppos) in read_dummy_mutex() argument 41 if (*ppos >= sizeof(dummy_string)) in read_dummy_mutex() 50 return simple_read_from_buffer(user_buf, count, ppos, dummy_string, in read_dummy_mutex() 56 size_t count, loff_t *ppos) in read_dummy_semaphore() argument 59 if (*ppos >= sizeof(dummy_string)) in read_dummy_semaphore() 70 return simple_read_from_buffer(user_buf, count, ppos, dummy_string, in read_dummy_semaphore() 76 size_t count, loff_t *ppos) in read_dummy_rwsem_read() argument 79 if (*ppos >= sizeof(dummy_string)) in read_dummy_rwsem_read() 90 return simple_read_from_buffer(user_buf, count, ppos, dummy_string, in read_dummy_rwsem_read() 96 size_t count, loff_t *ppos) in read_dummy_rwsem_write() argument [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | debugfs.c | 390 size_t count, loff_t *ppos) in dev_counters_read() argument 399 rval = simple_read_from_buffer(buf, count, ppos, counters, avail); in dev_counters_read() 405 size_t count, loff_t *ppos) in dev_names_read() argument 414 rval = simple_read_from_buffer(buf, count, ppos, names, avail); in dev_names_read() 430 size_t count, loff_t *ppos) in portnames_read() argument 439 rval = simple_read_from_buffer(buf, count, ppos, names, avail); in portnames_read() 445 size_t count, loff_t *ppos) in portcntrs_debugfs_read() argument 454 rval = simple_read_from_buffer(buf, count, ppos, counters, avail); in portcntrs_debugfs_read() 473 size_t count, loff_t *ppos) in asic_flags_read() argument 516 ret = simple_read_from_buffer(buf, count, ppos, tmp, used); in asic_flags_read() [all …]
|
| /linux/kernel/ |
| H A D | sysctl.c | 77 char *buffer, size_t *lenp, loff_t *ppos) in _proc_do_string() argument 94 if (*ppos > len) in _proc_do_string() 96 len = *ppos; in _proc_do_string() 102 *ppos += *lenp; in _proc_do_string() 116 if (*ppos > len) { in _proc_do_string() 121 data += *ppos; in _proc_do_string() 122 len -= *ppos; in _proc_do_string() 133 *ppos += len; in _proc_do_string() 155 static bool proc_first_pos_non_zero_ignore(loff_t *ppos, in proc_first_pos_non_zero_ignore() argument 158 if (!*ppos) in proc_first_pos_non_zero_ignore() [all …]
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | debugfs.c | 26 size_t count, loff_t *ppos) in write_file_dummy() argument 34 size_t count, loff_t *ppos) in lbs_dev_info() argument 48 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_dev_info() 56 loff_t *ppos) in lbs_sleepparams_write() argument 92 size_t count, loff_t *ppos) in lbs_sleepparams_read() argument 111 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_sleepparams_read() 120 loff_t *ppos) in lbs_host_sleep_write() argument 161 size_t count, loff_t *ppos) in lbs_host_sleep_read() argument 172 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_host_sleep_read() 216 size_t count, loff_t *ppos) in lbs_threshold_read() argument [all …]
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_debugfs.c | 14 size_t count, loff_t *ppos, in ixgbe_dbg_common_ops_read() argument 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() 49 size_t count, loff_t *ppos) in ixgbe_dbg_reg_ops_read() argument 51 return ixgbe_dbg_common_ops_read(filp, buffer, count, ppos, in ixgbe_dbg_reg_ops_read() 64 size_t count, loff_t *ppos) in ixgbe_dbg_reg_ops_write() argument 70 if (*ppos != 0) in ixgbe_dbg_reg_ops_write() 77 ppos, in ixgbe_dbg_reg_ops_write() 132 size_t count, loff_t *ppos) in ixgbe_dbg_netdev_ops_read() argument 134 return ixgbe_dbg_common_ops_read(filp, buffer, count, ppos, in ixgbe_dbg_netdev_ops_read() [all …]
|
| /linux/drivers/staging/vme_user/ |
| H A D | vme_user.c | 123 loff_t *ppos) in resource_to_user() argument 131 count, *ppos); in resource_to_user() 142 size_t count, loff_t *ppos) in resource_from_user() argument 151 count, *ppos); in resource_from_user() 155 size_t count, loff_t *ppos) in buffer_to_user() argument 165 if (*ppos >= image[minor].size_buf) in buffer_to_user() 167 if (count > image[minor].size_buf - *ppos) in buffer_to_user() 168 count = image[minor].size_buf - *ppos; in buffer_to_user() 170 image_ptr = image[minor].kern_buf + *ppos; in buffer_to_user() 178 size_t count, loff_t *ppos) in buffer_from_user() argument [all …]
|
| /linux/net/mac80211/ |
| H A D | debugfs.c | 21 loff_t *ppos, char *fmt, ...) in mac80211_format_buffer() argument 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, \ 77 loff_t *ppos) in aqm_read() argument 109 return simple_read_from_buffer(user_buf, count, ppos, in aqm_read() 116 loff_t *ppos) in aqm_write() argument 150 size_t count, loff_t *ppos) in airtime_flags_read() argument 165 return simple_read_from_buffer(user_buf, count, ppos, buf, in airtime_flags_read() 171 size_t count, loff_t *ppos) in airtime_flags_write() argument [all …]
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_heartbeat_dbgfs.c | 23 size_t count, loff_t *ppos) in adf_hb_stats_read() argument 29 if (*ppos > 0) in adf_hb_stats_read() 35 return simple_read_from_buffer(user_buffer, count, ppos, buf, len + 1); in adf_hb_stats_read() 45 size_t count, loff_t *ppos) in adf_hb_status_read() argument 53 if (*ppos > 0) in adf_hb_status_read() 66 return simple_read_from_buffer(user_buf, count, ppos, ret_str, len + 1); in adf_hb_status_read() 76 size_t count, loff_t *ppos) in adf_hb_cfg_read() argument 83 if (*ppos > 0) in adf_hb_cfg_read() 90 return simple_read_from_buffer(user_buf, count, ppos, timer_str, in adf_hb_cfg_read() 95 size_t count, loff_t *ppos) in adf_hb_cfg_write() argument [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | debugfs.c | 64 size_t count, loff_t *ppos) in mwifiex_info_read() argument 137 ret = simple_read_from_buffer(ubuf, count, ppos, page, p - page); in mwifiex_info_read() 167 size_t count, loff_t *ppos) in mwifiex_getlog_read() argument 223 ret = simple_read_from_buffer(ubuf, count, ppos, page, p - page); in mwifiex_getlog_read() 242 size_t count, loff_t *ppos) in mwifiex_histogram_read() argument 311 ret = simple_read_from_buffer(ubuf, count, ppos, page, p - page); in mwifiex_histogram_read() 320 size_t count, loff_t *ppos) in mwifiex_histogram_write() argument 380 size_t count, loff_t *ppos) in mwifiex_debug_read() argument 397 ret = simple_read_from_buffer(ubuf, count, ppos, page, p - page); in mwifiex_debug_read() 415 const char __user *ubuf, size_t count, loff_t *ppos) in mwifiex_regrdwr_write() argument [all …]
|
| /linux/drivers/parport/ |
| H A D | procfs.c | 37 void *result, size_t *lenp, loff_t *ppos) in do_active_device() argument 47 if (*ppos) { in do_active_device() 67 *ppos += len; in do_active_device() 74 void *result, size_t *lenp, loff_t *ppos) in do_autoprobe() argument 84 if (*ppos) { in do_autoprobe() 109 *ppos += len; in do_autoprobe() 117 void *result, size_t *lenp, loff_t *ppos) in do_hardware_base_addr() argument 123 if (*ppos) { in do_hardware_base_addr() 138 *ppos += len; in do_hardware_base_addr() 144 void *result, size_t *lenp, loff_t *ppos) in do_hardware_irq() argument [all …]
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | debug.c | 125 size_t count, loff_t *ppos); 130 size_t count, loff_t *ppos); 201 loff_t *ppos) in il_dbgfs_tx_stats_read() argument 234 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_tx_stats_read() 242 loff_t *ppos) in il_dbgfs_clear_traffic_stats_write() argument 262 loff_t *ppos) in il_dbgfs_rx_stats_read() argument 296 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_rx_stats_read() 306 loff_t *ppos) in il_dbgfs_sram_read() argument 358 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_sram_read() 365 size_t count, loff_t *ppos) in il_dbgfs_sram_write() argument [all …]
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | htmdump.c | 88 size_t count, loff_t *ppos) in htmdump_read() argument 95 page = ALIGN_DOWN(*ppos, PAGE_SIZE); in htmdump_read() 96 offset = (*ppos) % PAGE_SIZE; in htmdump_read() 115 *ppos += read_size; in htmdump_read() 120 size_t count, loff_t *ppos) in htmsystem_mem_read() argument 146 if (*ppos) { in htmsystem_mem_read() 169 *ppos += to_copy; in htmsystem_mem_read() 288 size_t count, loff_t *ppos) in htmstatus_read() argument 307 if (*ppos) { in htmstatus_read() 336 *ppos += to_copy; in htmstatus_read() [all …]
|
| /linux/net/sctp/ |
| H A D | sysctl.c | 47 void *buffer, size_t *lenp, loff_t *ppos); 49 void *buffer, size_t *lenp, loff_t *ppos); 51 size_t *lenp, loff_t *ppos); 53 size_t *lenp, loff_t *ppos); 55 void *buffer, size_t *lenp, loff_t *ppos); 57 void *buffer, size_t *lenp, loff_t *ppos); 59 void *buffer, size_t *lenp, loff_t *ppos); 388 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_hmac_alg() argument 401 ret = proc_dostring(&tbl, 1, buffer, lenp, ppos); in proc_sctp_do_hmac_alg() 419 return proc_dostring(&tbl, 0, buffer, lenp, ppos); in proc_sctp_do_hmac_alg() [all …]
|
| /linux/drivers/net/wireless/nxp/nxpwifi/ |
| H A D | debugfs.c | 37 size_t count, loff_t *ppos) in nxpwifi_info_read() argument 111 ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page, in nxpwifi_info_read() 125 size_t count, loff_t *ppos) in nxpwifi_getlog_read() argument 180 ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page, in nxpwifi_getlog_read() 194 size_t count, loff_t *ppos) in nxpwifi_histogram_read() argument 263 ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page, in nxpwifi_histogram_read() 273 size_t count, loff_t *ppos) in nxpwifi_histogram_write() argument 287 size_t count, loff_t *ppos) in nxpwifi_debug_read() argument 304 ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page, in nxpwifi_debug_read() 320 const char __user *ubuf, size_t count, loff_t *ppos) in nxpwifi_regrdwr_write() argument [all …]
|
| /linux/sound/soc/sof/ |
| H A D | sof-client-ipc-msg-injector.c | 52 size_t count, loff_t *ppos) in sof_msg_inject_dfs_read() argument 58 if (!rhdr->hdr.size || !count || *ppos) in sof_msg_inject_dfs_read() 67 *ppos += count; in sof_msg_inject_dfs_read() 73 size_t count, loff_t *ppos) in sof_msg_inject_ipc4_dfs_read() argument 81 if (!ipc4_msg->header_u64 || !count || *ppos) in sof_msg_inject_ipc4_dfs_read() 104 *ppos += header_size; in sof_msg_inject_ipc4_dfs_read() 114 if (copy_to_user(buffer + *ppos, ipc4_msg->data_ptr, remaining)) in sof_msg_inject_ipc4_dfs_read() 117 *ppos += remaining; in sof_msg_inject_ipc4_dfs_read() 151 size_t count, loff_t *ppos) in sof_msg_inject_dfs_write() argument 158 if (*ppos) in sof_msg_inject_dfs_write() [all …]
|
| /linux/drivers/scsi/qedf/ |
| H A D | qedf_debugfs.c | 100 loff_t *ppos) in qedf_dbg_fp_int_cmd_read() argument 128 ret = simple_read_from_buffer(buffer, count, ppos, cbuf, cnt); in qedf_dbg_fp_int_cmd_read() 137 size_t count, loff_t *ppos) in qedf_dbg_fp_int_cmd_write() argument 139 if (!count || *ppos) in qedf_dbg_fp_int_cmd_write() 147 loff_t *ppos) in qedf_dbg_debug_cmd_read() argument 157 return simple_read_from_buffer(buffer, count, ppos, cbuf, cnt); in qedf_dbg_debug_cmd_read() 162 size_t count, loff_t *ppos) in qedf_dbg_debug_cmd_write() argument 170 if (!count || *ppos) in qedf_dbg_debug_cmd_write() 193 size_t count, loff_t *ppos) in qedf_dbg_stop_io_on_error_cmd_read() argument 206 return simple_read_from_buffer(buffer, count, ppos, cbuf, cnt); in qedf_dbg_stop_io_on_error_cmd_read() [all …]
|
| /linux/net/core/ |
| H A D | sysctl_net_core.c | 57 static int dump_cpumask(void *buffer, size_t *lenp, loff_t *ppos, in dump_cpumask() argument 63 if (*ppos || !*lenp) { in dump_cpumask() 91 *ppos += len; in dump_cpumask() 104 void *buffer, size_t *lenp, loff_t *ppos) in rps_default_mask_sysctl() argument 129 err = dump_cpumask(buffer, lenp, ppos, in rps_default_mask_sysctl() 139 void *buffer, size_t *lenp, loff_t *ppos) in rps_sock_flow_sysctl() argument 162 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); in rps_sock_flow_sysctl() 219 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_cpu_sysctl() argument 267 ret = dump_cpumask(buffer, lenp, ppos, mask); in flow_limit_cpu_sysctl() 276 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_table_len_sysctl() argument [all …]
|
| /linux/drivers/s390/cio/ |
| H A D | vfio_ccw_chp.c | 18 loff_t *ppos) in vfio_ccw_schib_region_read() argument 21 unsigned int i = VFIO_CCW_OFFSET_TO_INDEX(*ppos) - VFIO_CCW_NUM_REGIONS; in vfio_ccw_schib_region_read() 22 loff_t pos = *ppos & VFIO_CCW_OFFSET_MASK; in vfio_ccw_schib_region_read() 60 loff_t *ppos) in vfio_ccw_schib_region_write() argument 90 loff_t *ppos) in vfio_ccw_crw_region_read() argument 92 unsigned int i = VFIO_CCW_OFFSET_TO_INDEX(*ppos) - VFIO_CCW_NUM_REGIONS; in vfio_ccw_crw_region_read() 93 loff_t pos = *ppos & VFIO_CCW_OFFSET_MASK; in vfio_ccw_crw_region_read() 146 loff_t *ppos) in vfio_ccw_crw_region_write() argument
|
| H A D | vfio_ccw_async.c | 17 loff_t *ppos) in vfio_ccw_async_region_read() argument 19 unsigned int i = VFIO_CCW_OFFSET_TO_INDEX(*ppos) - VFIO_CCW_NUM_REGIONS; in vfio_ccw_async_region_read() 20 loff_t pos = *ppos & VFIO_CCW_OFFSET_MASK; in vfio_ccw_async_region_read() 48 loff_t *ppos) in vfio_ccw_async_region_write() argument 50 unsigned int i = VFIO_CCW_OFFSET_TO_INDEX(*ppos) - VFIO_CCW_NUM_REGIONS; in vfio_ccw_async_region_write() 51 loff_t pos = *ppos & VFIO_CCW_OFFSET_MASK; in vfio_ccw_async_region_write()
|
| /linux/security/smack/ |
| H A D | smackfs.c | 440 * @ppos: where to start - must be 0 455 size_t count, loff_t *ppos, in smk_write_rules_list() 470 if (*ppos != 0) in smk_write_rules_list() 649 * @ppos: where to start - must be 0 in smk_write_load() 653 size_t count, loff_t *ppos) in smk_write_load() 663 return smk_write_rules_list(file, buf, count, ppos, NULL, NULL, 835 * @ppos: where to start in smk_set_cipso() 842 size_t count, loff_t *ppos, int format) in smk_set_cipso() 864 if (*ppos != 0) in smk_set_cipso() 961 * @ppos in smk_write_cipso() 446 smk_write_rules_list(struct file * file,const char __user * buf,size_t count,loff_t * ppos,struct list_head * rule_list,struct mutex * rule_lock,int format) smk_write_rules_list() argument 644 smk_write_load(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_load() argument 833 smk_set_cipso(struct file * file,const char __user * buf,size_t count,loff_t * ppos,int format) smk_set_cipso() argument 958 smk_write_cipso(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_cipso() argument 1032 smk_write_cipso2(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_cipso2() argument 1150 smk_write_net4addr(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_net4addr() argument 1411 smk_write_net6addr(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_net6addr() argument 1575 smk_read_doi(struct file * filp,char __user * buf,size_t count,loff_t * ppos) smk_read_doi() argument 1599 smk_write_doi(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_doi() argument 1640 smk_read_direct(struct file * filp,char __user * buf,size_t count,loff_t * ppos) smk_read_direct() argument 1664 smk_write_direct(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_direct() argument 1718 smk_read_mapped(struct file * filp,char __user * buf,size_t count,loff_t * ppos) smk_read_mapped() argument 1742 smk_write_mapped(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_mapped() argument 1796 smk_read_ambient(struct file * filp,char __user * buf,size_t cn,loff_t * ppos) smk_read_ambient() argument 1833 smk_write_ambient(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_ambient() argument 2009 smk_write_onlycap(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_onlycap() argument 2069 smk_read_unconfined(struct file * filp,char __user * buf,size_t cn,loff_t * ppos) smk_read_unconfined() argument 2099 smk_write_unconfined(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_unconfined() argument 2157 smk_read_logging(struct file * filp,char __user * buf,size_t count,loff_t * ppos) smk_read_logging() argument 2180 smk_write_logging(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_logging() argument 2271 smk_write_load_self(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_load_self() argument 2296 smk_user_access(struct file * file,const char __user * buf,size_t count,loff_t * ppos,int format) smk_user_access() argument 2344 smk_write_access(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_access() argument 2402 smk_write_load2(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_load2() argument 2479 smk_write_load_self2(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_load_self2() argument 2503 smk_write_access2(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_access2() argument 2523 smk_write_revoke_subj(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_revoke_subj() argument 2598 smk_write_change_rule(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_change_rule() argument 2627 smk_read_syslog(struct file * filp,char __user * buf,size_t cn,loff_t * ppos) smk_read_syslog() argument 2660 smk_write_syslog(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_syslog() argument 2752 smk_write_relabel_self(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_relabel_self() argument 2818 smk_read_ptrace(struct file * filp,char __user * buf,size_t count,loff_t * ppos) smk_read_ptrace() argument 2839 smk_write_ptrace(struct file * file,const char __user * buf,size_t count,loff_t * ppos) smk_write_ptrace() argument [all...] |
| /linux/drivers/bluetooth/ |
| H A D | btmrvl_debugfs.c | 22 const char __user *ubuf, size_t count, loff_t *ppos) in btmrvl_hscfgcmd_write() argument 42 size_t count, loff_t *ppos) in btmrvl_hscfgcmd_read() argument 51 return simple_read_from_buffer(userbuf, count, ppos, buf, ret); in btmrvl_hscfgcmd_read() 62 size_t count, loff_t *ppos) in btmrvl_pscmd_write() argument 83 size_t count, loff_t *ppos) in btmrvl_pscmd_read() argument 91 return simple_read_from_buffer(userbuf, count, ppos, buf, ret); in btmrvl_pscmd_read() 102 size_t count, loff_t *ppos) in btmrvl_hscmd_write() argument 121 size_t count, loff_t *ppos) in btmrvl_hscmd_read() argument 129 return simple_read_from_buffer(userbuf, count, ppos, buf, ret); in btmrvl_hscmd_read()
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | debugfs.h | 16 loff_t *ppos, char *fmt, ...); 27 size_t count, loff_t *ppos) \ 30 return wl1271_format_buffer(userbuf, count, ppos, \ 56 size_t count, loff_t *ppos) \ 63 return wl1271_format_buffer(userbuf, count, ppos, fmt "\n", \ 76 size_t count, loff_t *ppos) \ 90 return wl1271_format_buffer(userbuf, count, ppos, "%s", buf); \
|
| /linux/lib/ |
| H A D | sys_info.c | 54 void *buffer, size_t *lenp, loff_t *ppos, in sys_info_write_handler() argument 60 ret = proc_dostring(table, 1, buffer, lenp, ppos); in sys_info_write_handler() 73 void *buffer, size_t *lenp, loff_t *ppos, in sys_info_read_handler() argument 92 return proc_dostring(table, 0, buffer, lenp, ppos); in sys_info_read_handler() 97 loff_t *ppos) in sysctl_sys_info_handler() argument 116 return sys_info_write_handler(&table, buffer, lenp, ppos, ro_table->data); in sysctl_sys_info_handler() 118 return sys_info_read_handler(&table, buffer, lenp, ppos, ro_table->data); in sysctl_sys_info_handler()
|