Home
last modified time | relevance | path

Searched refs:ppos (Results 1 – 25 of 715) sorted by relevance

12345678910>>...29

/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/
A Dxgbe-debugfs.c130 if (*ppos != 0) in xgbe_common_read()
155 if (*ppos != 0) in xgbe_common_write()
175 size_t count, loff_t *ppos) in xgmac_reg_addr_read() argument
184 size_t count, loff_t *ppos) in xgmac_reg_addr_write() argument
252 size_t count, loff_t *ppos) in xpcs_reg_addr_read() argument
260 size_t count, loff_t *ppos) in xpcs_reg_addr_write() argument
269 size_t count, loff_t *ppos) in xpcs_reg_value_read() argument
320 size_t count, loff_t *ppos) in xprop_reg_addr_read() argument
380 size_t count, loff_t *ppos) in xi2c_reg_addr_read() argument
389 size_t count, loff_t *ppos) in xi2c_reg_addr_write() argument
[all …]
/linux-6.3-rc2/include/linux/
A Dnvram.h89 for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count) in nvram_read_bytes()
91 *ppos = i; in nvram_read_bytes()
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()
125 return ppc_md.nvram_write(buf, count, ppos); in nvram_write()
128 return arch_nvram_ops.write(buf, count, ppos); in nvram_write()
[all …]
/linux-6.3-rc2/kernel/
A Dsysctl.c167 len = *ppos; in _proc_do_string()
173 *ppos += *lenp; in _proc_do_string()
192 data += *ppos; in _proc_do_string()
193 len -= *ppos; in _proc_do_string()
204 *ppos += len; in _proc_do_string()
229 if (!*ppos) in proc_first_pos_non_zero_ignore()
267 ppos); in proc_dostring()
541 *ppos += *lenp; in __do_proc_dointvec()
608 *ppos += *lenp; in do_proc_douintvec_w()
638 *ppos += *lenp; in do_proc_douintvec_r()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Ddebugfs.c27 loff_t *ppos) in hfi1_seq_read() argument
604 if (*ppos < 0) in dc8051_memory_read()
643 if (*ppos < 0) in debugfs_lcb_read()
649 if ((*ppos % 8) != 0) in debugfs_lcb_read()
665 *ppos += total; in debugfs_lcb_read()
676 if (*ppos < 0) in debugfs_lcb_write()
682 if ((*ppos % 8) != 0) in debugfs_lcb_write()
698 *ppos += total; in debugfs_lcb_write()
755 *ppos += total_written; in __i2c_debugfs_write()
809 *ppos += total_read; in __i2c_debugfs_read()
[all …]
/linux-6.3-rc2/drivers/net/wireless/marvell/libertas/
A Ddebugfs.c34 size_t count, loff_t *ppos) in lbs_dev_info() argument
57 loff_t *ppos) in lbs_sleepparams_write() argument
93 size_t count, loff_t *ppos) in lbs_sleepparams_read() argument
122 loff_t *ppos) in lbs_host_sleep_write() argument
163 size_t count, loff_t *ppos) in lbs_host_sleep_read() argument
272 loff_t *ppos) in lbs_threshold_write() argument
339 size_t count, loff_t *ppos) in lbs_lowrssi_read() argument
363 size_t count, loff_t *ppos) in lbs_lowsnr_write() argument
403 size_t count, loff_t *ppos) in lbs_highsnr_read() argument
418 size_t count, loff_t *ppos) in lbs_bcnmiss_read() argument
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/qib/
A Dqib_fs.c105 size_t count, loff_t *ppos) in driver_stats_read() argument
133 size_t count, loff_t *ppos) in driver_names_read() argument
146 size_t count, loff_t *ppos) in dev_counters_read() argument
192 size_t count, loff_t *ppos) in portcntrs_1_read() argument
204 size_t count, loff_t *ppos) in portcntrs_2_read() argument
224 size_t count, loff_t *ppos) in qsfp_1_read() argument
271 size_t count, loff_t *ppos) in flash_read() argument
278 pos = *ppos; in flash_read()
311 *ppos = pos + count; in flash_read()
329 pos = *ppos; in flash_write()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_debugfs.c14 size_t count, loff_t *ppos, in ixgbe_dbg_common_ops_read() argument
22 if (*ppos != 0) 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
147 size_t count, loff_t *ppos) in ixgbe_dbg_netdev_ops_write() argument
153 if (*ppos != 0) in ixgbe_dbg_netdev_ops_write()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ti/wlcore/
A Ddebugfs.c129 ppos, "%d\n", \
246 ppos, "%d\n", in dynamic_ps_timeout_read()
311 ppos, "%d\n", in forced_ps_read()
381 ppos, "%d\n", in split_scan_timeout_read()
975 ppos, "%d\n", in sleep_auth_read()
1034 loff_t *ppos) in dev_mem_read() argument
1046 if (*ppos % 4) in dev_mem_read()
1103 *ppos += bytes; in dev_mem_read()
1128 if (*ppos % 4) in dev_mem_write()
1182 *ppos += bytes; in dev_mem_write()
[all …]
/linux-6.3-rc2/net/mac80211/
A Ddebugfs.c21 loff_t *ppos, char *fmt, ...) in mac80211_format_buffer() argument
78 loff_t *ppos) in aqm_read() argument
119 loff_t *ppos) in aqm_write() argument
206 size_t count, loff_t *ppos) in aql_pending_read() argument
237 loff_t *ppos) in aql_txq_limit_read() argument
264 loff_t *ppos) in aql_txq_limit_write() argument
327 size_t count, loff_t *ppos) in aql_enable_write() argument
367 loff_t *ppos) in force_tx_status_read() argument
382 loff_t *ppos) in force_tx_status_write() argument
589 size_t count, loff_t *ppos, in format_devstat_counter() argument
[all …]
/linux-6.3-rc2/fs/fuse/
A Dcontrol.c35 size_t count, loff_t *ppos) in fuse_conn_abort_write() argument
48 size_t len, loff_t *ppos) in fuse_conn_waiting_read() argument
53 if (!*ppos) { in fuse_conn_waiting_read()
68 size_t len, loff_t *ppos, unsigned val) in fuse_conn_limit_read() argument
77 size_t count, loff_t *ppos, unsigned *val, in fuse_conn_limit_write() argument
84 if (*ppos) in fuse_conn_limit_write()
104 loff_t *ppos) in fuse_conn_max_background_read() argument
116 return fuse_conn_limit_read(file, buf, len, ppos, val); in fuse_conn_max_background_read()
121 size_t count, loff_t *ppos) in fuse_conn_max_background_write() argument
146 loff_t *ppos) in fuse_conn_congestion_threshold_read() argument
[all …]
/linux-6.3-rc2/drivers/scsi/qedf/
A Dqedf_debugfs.c99 loff_t *ppos) in qedf_dbg_fp_int_cmd_read() argument
122 *ppos += cnt; in qedf_dbg_fp_int_cmd_read()
130 if (!count || *ppos) in qedf_dbg_fp_int_cmd_write()
138 loff_t *ppos) in qedf_dbg_debug_cmd_read() argument
148 *ppos += cnt; in qedf_dbg_debug_cmd_read()
162 if (!count || *ppos) in qedf_dbg_debug_cmd_write()
198 *ppos += cnt; in qedf_dbg_stop_io_on_error_cmd_read()
205 loff_t *ppos) in qedf_dbg_stop_io_on_error_cmd_write() argument
215 if (!count || *ppos) in qedf_dbg_stop_io_on_error_cmd_write()
386 *ppos += cnt; in qedf_dbg_clear_stats_cmd_read()
[all …]
/linux-6.3-rc2/drivers/acpi/
A Dcustom_method.c23 size_t count, loff_t *ppos) in cm_write() argument
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()
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/
A Ddebugfs.c233 loff_t *ppos) in iwl_dbgfs_set_nic_temperature_write() argument
419 loff_t *ppos) in iwl_dbgfs_amsdu_len_write() argument
748 loff_t *ppos) in iwl_dbgfs_fw_rx_stats_read() argument
938 loff_t *ppos, in iwl_dbgfs_frame_stats_read() argument
1005 loff_t *ppos) in iwl_dbgfs_drv_rx_stats_read() argument
1277 loff_t *ppos) in iwl_dbgfs_inject_beacon_ie_write() argument
1288 loff_t *ppos) in iwl_dbgfs_inject_beacon_ie_restore_write() argument
1318 loff_t *ppos) in iwl_dbgfs_fw_dbg_conf_write() argument
1763 *ppos += ret; in iwl_dbgfs_mem_read()
1772 loff_t *ppos) in iwl_dbgfs_mem_write() argument
[all …]
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/
A Ddebugfs.c63 size_t count, loff_t *ppos) in mwifiex_info_read() argument
167 size_t count, loff_t *ppos) in mwifiex_getlog_read() argument
317 size_t count, loff_t *ppos) in mwifiex_histogram_write() argument
377 size_t count, loff_t *ppos) in mwifiex_debug_read() argument
502 size_t count, loff_t *ppos) in mwifiex_debug_mask_read() argument
528 size_t count, loff_t *ppos) in mwifiex_debug_mask_write() argument
583 size_t count, loff_t *ppos) in mwifiex_verext_read() argument
603 loff_t *ppos) in mwifiex_memrw_write() argument
650 size_t count, loff_t *ppos) in mwifiex_memrw_read() argument
756 size_t count, loff_t *ppos) in mwifiex_hscfg_write() argument
[all …]
/linux-6.3-rc2/net/core/
A Dsysctl_net_core.c56 if (*ppos || !*lenp) { in dump_cpumask()
72 *ppos += len; in dump_cpumask()
95 void *buffer, size_t *lenp, loff_t *ppos) in rps_default_mask_sysctl() argument
116 dump_cpumask(buffer, lenp, ppos, in rps_default_mask_sysctl()
126 void *buffer, size_t *lenp, loff_t *ppos) in rps_sock_flow_sysctl() argument
195 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_cpu_sysctl() argument
243 dump_cpumask(buffer, lenp, ppos, mask); in flow_limit_cpu_sysctl()
274 void *buffer, size_t *lenp, loff_t *ppos) in set_default_qdisc() argument
293 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_dev_weight() argument
311 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_rss_key() argument
[all …]
/linux-6.3-rc2/drivers/parport/
A Dprocfs.c47 if (*ppos) { in do_active_device()
67 *ppos += len; in do_active_device()
84 if (*ppos) { in do_autoprobe()
109 *ppos += len; in do_autoprobe()
123 if (*ppos) { in do_hardware_base_addr()
138 *ppos += len; in do_hardware_base_addr()
150 if (*ppos) { in do_hardware_irq()
165 *ppos += len; in do_hardware_irq()
177 if (*ppos) { in do_hardware_dma()
192 *ppos += len; in do_hardware_dma()
[all …]
/linux-6.3-rc2/drivers/staging/vme_user/
A Dvme_user.c120 loff_t *ppos) in resource_to_user() argument
128 count, *ppos); in resource_to_user()
148 count, *ppos); in resource_from_user()
164 size_t count, loff_t *ppos) in buffer_from_user() argument
176 loff_t *ppos) in vme_user_read() argument
191 if ((*ppos < 0) || (*ppos > (image_size - 1))) { in vme_user_read()
198 count = image_size - *ppos; in vme_user_read()
213 *ppos += retval; in vme_user_read()
233 if ((*ppos < 0) || (*ppos > (image_size - 1))) { in vme_user_write()
240 count = image_size - *ppos; in vme_user_write()
[all …]
/linux-6.3-rc2/drivers/s390/cio/
A Dvfio_ccw_chp.c17 loff_t *ppos) in vfio_ccw_schib_region_read() argument
20 unsigned int i = VFIO_CCW_OFFSET_TO_INDEX(*ppos) - VFIO_CCW_NUM_REGIONS; in vfio_ccw_schib_region_read()
21 loff_t pos = *ppos & VFIO_CCW_OFFSET_MASK; in vfio_ccw_schib_region_read()
52 loff_t *ppos) in vfio_ccw_schib_region_write() argument
82 loff_t *ppos) in vfio_ccw_crw_region_read() argument
84 unsigned int i = VFIO_CCW_OFFSET_TO_INDEX(*ppos) - VFIO_CCW_NUM_REGIONS; in vfio_ccw_crw_region_read()
85 loff_t pos = *ppos & VFIO_CCW_OFFSET_MASK; in vfio_ccw_crw_region_read()
125 loff_t *ppos) in vfio_ccw_crw_region_write() argument
A Dvfio_ccw_async.c16 loff_t *ppos) in vfio_ccw_async_region_read() argument
18 unsigned int i = VFIO_CCW_OFFSET_TO_INDEX(*ppos) - VFIO_CCW_NUM_REGIONS; in vfio_ccw_async_region_read()
19 loff_t pos = *ppos & VFIO_CCW_OFFSET_MASK; in vfio_ccw_async_region_read()
38 loff_t *ppos) in vfio_ccw_async_region_write() argument
40 unsigned int i = VFIO_CCW_OFFSET_TO_INDEX(*ppos) - VFIO_CCW_NUM_REGIONS; in vfio_ccw_async_region_write()
41 loff_t pos = *ppos & VFIO_CCW_OFFSET_MASK; in vfio_ccw_async_region_write()
/linux-6.3-rc2/drivers/net/wireless/intel/iwlegacy/
A Ddebug.c201 loff_t *ppos) in il_dbgfs_tx_stats_read() argument
242 loff_t *ppos) in il_dbgfs_clear_traffic_stats_write() argument
262 loff_t *ppos) in il_dbgfs_rx_stats_read() argument
306 loff_t *ppos) in il_dbgfs_sram_read() argument
390 loff_t *ppos) in il_dbgfs_stations_read() argument
454 loff_t *ppos) in il_dbgfs_nvm_read() argument
577 loff_t *ppos) in il_dbgfs_status_read() argument
638 loff_t *ppos) in il_dbgfs_interrupt_read() argument
738 loff_t *ppos) in il_dbgfs_qos_read() argument
1111 loff_t *ppos) in il_dbgfs_clear_ucode_stats_write() argument
[all …]
/linux-6.3-rc2/drivers/char/
A Dnvram.c183 *ppos = i; in pc_nvram_read()
202 *ppos = i; in pc_nvram_write()
229 size_t count, loff_t *ppos) in nvram_misc_read() argument
235 if (*ppos >= nvram_size) in nvram_misc_read()
238 count = min_t(size_t, count, nvram_size - *ppos); in nvram_misc_read()
245 ret = nvram_read(tmp, count, ppos); in nvram_misc_read()
250 *ppos -= ret; in nvram_misc_read()
260 size_t count, loff_t *ppos) in nvram_misc_write() argument
265 if (*ppos >= nvram_size) in nvram_misc_write()
268 count = min_t(size_t, count, nvram_size - *ppos); in nvram_misc_write()
[all …]
A Dmem.c112 size_t count, loff_t *ppos) in read_mem() argument
114 phys_addr_t p = *ppos; in read_mem()
120 if (p != *ppos) in read_mem()
190 *ppos += read; in read_mem()
201 phys_addr_t p = *ppos; in write_mem()
206 if (p != *ppos) in write_mem()
267 *ppos += written; in write_mem()
408 unsigned long i = *ppos; in read_port()
419 *ppos = i; in read_port()
426 unsigned long i = *ppos; in write_port()
[all …]
/linux-6.3-rc2/sound/soc/sof/
A Dsof-client-ipc-msg-injector.c53 size_t count, loff_t *ppos) in sof_msg_inject_dfs_read() argument
59 if (!rhdr->hdr.size || !count || *ppos) in sof_msg_inject_dfs_read()
68 *ppos += count; in sof_msg_inject_dfs_read()
74 size_t count, loff_t *ppos) in sof_msg_inject_ipc4_dfs_read() argument
105 *ppos += header_size; in sof_msg_inject_ipc4_dfs_read()
118 *ppos += remaining; in sof_msg_inject_ipc4_dfs_read()
149 size_t count, loff_t *ppos) in sof_msg_inject_dfs_write() argument
156 if (*ppos) in sof_msg_inject_dfs_write()
160 ppos, buffer, count); in sof_msg_inject_dfs_write()
179 size_t count, loff_t *ppos) in sof_msg_inject_ipc4_dfs_write() argument
[all …]
/linux-6.3-rc2/drivers/parisc/
A Deisa_eeprom.c26 char __user *buf, size_t count, loff_t *ppos ) in eisa_eeprom_read() argument
32 if (*ppos < 0 || *ppos >= HPEE_MAX_LENGTH) in eisa_eeprom_read()
35 count = *ppos + count < HPEE_MAX_LENGTH ? count : HPEE_MAX_LENGTH - *ppos; in eisa_eeprom_read()
39 tmp[i] = readb(eisa_eeprom_addr+(*ppos)++); in eisa_eeprom_read()
/linux-6.3-rc2/fs/
A Dread_write.c360 if (ppos) { in rw_verify_area()
386 kiocb.ki_pos = (ppos ? *ppos : 0); in new_sync_read()
391 if (ppos) in new_sync_read()
488 kiocb.ki_pos = (ppos ? *ppos : 0); in new_sync_write()
609 if (ppos) { in ksys_read()
633 if (ppos) { in ksys_write()
730 kiocb.ki_pos = (ppos ? *ppos : 0); in do_iter_readv_writev()
737 if (ppos) in do_iter_readv_writev()
949 if (ppos) { in do_readv()
973 if (ppos) { in do_writev()
[all …]

Completed in 82 milliseconds

12345678910>>...29