Home
last modified time | relevance | path

Searched refs:offp (Results 1 – 25 of 44) sorted by relevance

12

/linux-5.19.10/arch/ia64/kernel/
Dpatch.c103 s32 *offp = (s32 *) start; in ia64_patch_vtop() local
106 while (offp < (s32 *) end) { in ia64_patch_vtop()
107 ip = (u64) offp + *offp; in ia64_patch_vtop()
112 ++offp; in ia64_patch_vtop()
126 s32 *offp = (s32 *) start; in ia64_patch_rse() local
129 while (offp < (s32 *) end) { in ia64_patch_rse()
130 ip = (u64) offp + *offp; in ia64_patch_rse()
135 ++offp; in ia64_patch_rse()
146 s32 *offp = (s32 *) start; in ia64_patch_mckinley_e9() local
159 while (offp < (s32 *) end) { in ia64_patch_mckinley_e9()
[all …]
/linux-5.19.10/drivers/ntb/test/
Dntb_tool.c342 size_t size, loff_t *offp, in tool_fn_read() argument
356 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_fn_read()
361 size_t size, loff_t *offp, in tool_fn_write() argument
370 if (*offp) in tool_fn_write()
413 size_t size, loff_t *offp) in tool_port_read() argument
421 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_port_read()
429 size_t size, loff_t *offp) in tool_peer_port_read() argument
439 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_peer_port_read()
470 size_t size, loff_t *offp) in tool_link_write() argument
496 size_t size, loff_t *offp) in tool_peer_link_read() argument
[all …]
Dntb_perf.c1183 size_t size, loff_t *offp) in perf_dbgfs_read_info() argument
1254 ret = simple_read_from_buffer(ubuf, size, offp, buf, pos); in perf_dbgfs_read_info()
1266 size_t size, loff_t *offp) in perf_dbgfs_read_run() argument
1280 ret = simple_read_from_buffer(ubuf, size, offp, buf, pos); in perf_dbgfs_read_run()
1288 size_t size, loff_t *offp) in perf_dbgfs_write_run() argument
1317 size_t size, loff_t *offp) in perf_dbgfs_read_tcnt() argument
1325 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in perf_dbgfs_read_tcnt()
1330 size_t size, loff_t *offp) in perf_dbgfs_write_tcnt() argument
/linux-5.19.10/drivers/char/
Dadi.c55 size_t count, loff_t *offp) in adi_read() argument
68 offset = (*offp) * adi_blksize(); in adi_read()
94 (*offp) += bytes_read; in adi_read()
132 size_t count, loff_t *offp) in adi_write() argument
148 offset = (*offp) * adi_blksize(); in adi_write()
169 (*offp) += bytes_written; in adi_write()
/linux-5.19.10/drivers/crypto/ccp/
Dccp-debugfs.c43 size_t count, loff_t *offp) in ccp5_debugfs_info_read() argument
88 ret = simple_read_from_buffer(ubuf, count, offp, obuf, oboff); in ccp5_debugfs_info_read()
98 size_t count, loff_t *offp) in ccp5_debugfs_stats_read() argument
150 ret = simple_read_from_buffer(ubuf, count, offp, obuf, oboff); in ccp5_debugfs_stats_read()
176 size_t count, loff_t *offp) in ccp5_debugfs_stats_write() argument
192 size_t count, loff_t *offp) in ccp5_debugfs_queue_read() argument
236 ret = simple_read_from_buffer(ubuf, count, offp, obuf, oboff); in ccp5_debugfs_queue_read()
247 size_t count, loff_t *offp) in ccp5_debugfs_queue_write() argument
/linux-5.19.10/drivers/mtd/ubi/
Dcdev.c172 loff_t *offp) in vol_cdev_read() argument
182 count, *offp, vol->vol_id); in vol_cdev_read()
192 if (*offp == vol->used_bytes || count == 0) in vol_cdev_read()
198 if (*offp + count > vol->used_bytes) in vol_cdev_read()
199 count_save = count = vol->used_bytes - *offp; in vol_cdev_read()
209 lnum = div_u64_rem(*offp, vol->usable_leb_size, &off); in vol_cdev_read()
228 *offp += len; in vol_cdev_read()
249 size_t count, loff_t *offp) in vol_cdev_direct_write() argument
262 count, *offp, vol->vol_id); in vol_cdev_direct_write()
267 lnum = div_u64_rem(*offp, vol->usable_leb_size, &off); in vol_cdev_direct_write()
[all …]
/linux-5.19.10/kernel/power/
Duser.c133 size_t count, loff_t *offp) in snapshot_read() argument
137 loff_t pg_offp = *offp & ~PAGE_MASK; in snapshot_read()
157 *offp += res; in snapshot_read()
166 size_t count, loff_t *offp) in snapshot_write() argument
170 loff_t pg_offp = *offp & ~PAGE_MASK; in snapshot_write()
197 *offp += res; in snapshot_write()
/linux-5.19.10/drivers/ntb/hw/intel/
Dntb_hw_gen4.h107 size_t count, loff_t *offp);
110 size_t count, loff_t *offp);
Dntb_hw_gen3.h105 size_t count, loff_t *offp);
Dntb_hw_gen3.c256 size_t count, loff_t *offp) in ndev_ntb3_debugfs_read() argument
413 ret = simple_read_from_buffer(ubuf, count, offp, buf, off); in ndev_ntb3_debugfs_read()
Dntb_hw_gen4.c220 size_t count, loff_t *offp) in ndev_ntb4_debugfs_read() argument
332 ret = simple_read_from_buffer(ubuf, count, offp, buf, off); in ndev_ntb4_debugfs_read()
Dntb_hw_gen1.c492 size_t count, loff_t *offp) in ndev_ntb_debugfs_read() argument
752 ret = simple_read_from_buffer(ubuf, count, offp, buf, off); in ndev_ntb_debugfs_read()
758 size_t count, loff_t *offp) in ndev_debugfs_read() argument
763 return ndev_ntb_debugfs_read(filp, ubuf, count, offp); in ndev_debugfs_read()
765 return ndev_ntb3_debugfs_read(filp, ubuf, count, offp); in ndev_debugfs_read()
767 return ndev_ntb4_debugfs_read(filp, ubuf, count, offp); in ndev_debugfs_read()
/linux-5.19.10/drivers/gpu/drm/i915/
Di915_debugfs_params.c51 loff_t *offp) in i915_param_int_write() argument
104 loff_t *offp) in i915_param_uint_write() argument
167 loff_t *offp) in i915_param_charp_write() argument
/linux-5.19.10/arch/mips/sibyte/common/
Dsb_tbprof.c441 size_t size, loff_t *offp) in sbprof_tb_read() argument
447 long cur_off = *offp; in sbprof_tb_read()
466 *offp = cur_off + cur_count - err; in sbprof_tb_read()
485 *offp = cur_off; in sbprof_tb_read()
/linux-5.19.10/drivers/gpu/drm/i915/display/
Dintel_display_debugfs.c807 size_t len, loff_t *offp) in crtc_updates_write() argument
1000 size_t len, loff_t *offp) in i915_ipc_status_write() argument
1187 size_t len, loff_t *offp) in i915_displayport_test_active_write() argument
1242 *offp += len; in i915_displayport_test_active_write()
1498 size_t len, loff_t *offp, u16 wm[8]) in wm_latency_write() argument
1544 size_t len, loff_t *offp) in pri_wm_latency_write() argument
1555 return wm_latency_write(file, ubuf, len, offp, latencies); in pri_wm_latency_write()
1559 size_t len, loff_t *offp) in spr_wm_latency_write() argument
1570 return wm_latency_write(file, ubuf, len, offp, latencies); in spr_wm_latency_write()
1574 size_t len, loff_t *offp) in cur_wm_latency_write() argument
[all …]
/linux-5.19.10/drivers/gpu/drm/msm/dp/
Ddp_debug.c134 size_t len, loff_t *offp) in dp_test_active_write() argument
171 *offp += len; in dp_test_active_write()
/linux-5.19.10/fs/xfs/
Dxfs_bmap_util.h49 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
/linux-5.19.10/drivers/gpu/drm/
Ddrm_debugfs_crc.c121 size_t len, loff_t *offp) in crc_control_write() argument
165 *offp += len; in crc_control_write()
Ddrm_debugfs.c301 size_t len, loff_t *offp) in connector_write() argument
348 size_t len, loff_t *offp) in edid_write() argument
/linux-5.19.10/arch/sparc/kernel/
Dmdesc.c1265 size_t len, loff_t *offp) in mdesc_read() argument
1271 if (*offp >= hp->handle_size) in mdesc_read()
1274 bytes_left = hp->handle_size - *offp; in mdesc_read()
1279 mdesc += *offp; in mdesc_read()
1281 *offp += count; in mdesc_read()
/linux-5.19.10/drivers/crypto/bcm/
Dutil.c351 size_t count, loff_t *offp) in spu_debugfs_read() argument
469 ret = simple_read_from_buffer(ubuf, count, offp, buf, out_offset); in spu_debugfs_read()
/linux-5.19.10/drivers/misc/eeprom/
Didt_89hpesx.c904 size_t count, loff_t *offp) in idt_dbgfs_csr_write() argument
912 if (*offp) in idt_dbgfs_csr_write()
1002 size_t count, loff_t *offp) in idt_dbgfs_csr_read() argument
1022 return simple_read_from_buffer(ubuf, count, offp, buf, size); in idt_dbgfs_csr_read()
/linux-5.19.10/drivers/firmware/efi/
Dcapsule-loader.c169 size_t count, loff_t *offp) in efi_capsule_write() argument
/linux-5.19.10/drivers/block/aoe/
Daoechr.c160 aoechr_write(struct file *filp, const char __user *buf, size_t cnt, loff_t *offp) in aoechr_write() argument
/linux-5.19.10/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c142 size_t len, loff_t *offp) in nouveau_debugfs_pstate_set() argument

12