Home
last modified time | relevance | path

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

12

/linux-6.6.21/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-6.6.21/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()
406 size_t size, loff_t *offp) in tool_port_read() argument
414 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_port_read()
422 size_t size, loff_t *offp) in tool_peer_port_read() argument
432 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_peer_port_read()
463 size_t size, loff_t *offp) in tool_link_write() argument
489 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-6.6.21/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-6.6.21/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-6.6.21/drivers/gpu/drm/i915/display/
Dintel_wm.c289 size_t len, loff_t *offp, u16 wm[8]) in wm_latency_write() argument
323 size_t len, loff_t *offp) in pri_wm_latency_write() argument
334 return wm_latency_write(file, ubuf, len, offp, latencies); in pri_wm_latency_write()
338 size_t len, loff_t *offp) in spr_wm_latency_write() argument
349 return wm_latency_write(file, ubuf, len, offp, latencies); in spr_wm_latency_write()
353 size_t len, loff_t *offp) in cur_wm_latency_write() argument
364 return wm_latency_write(file, ubuf, len, offp, latencies); in cur_wm_latency_write()
Dintel_display_debugfs.c525 size_t len, loff_t *offp) in crtc_updates_write() argument
803 size_t len, loff_t *offp) in i915_displayport_test_active_write() argument
856 *offp += len; in i915_displayport_test_active_write()
1258 size_t len, loff_t *offp) in i915_dsc_fec_support_write() argument
1282 *offp += len; in i915_dsc_fec_support_write()
1334 size_t len, loff_t *offp) in i915_dsc_bpc_write() argument
1348 *offp += len; in i915_dsc_bpc_write()
1401 size_t len, loff_t *offp) in i915_dsc_output_format_write() argument
1415 *offp += len; in i915_dsc_output_format_write()
/linux-6.6.21/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-6.6.21/kernel/power/
Duser.c135 size_t count, loff_t *offp) in snapshot_read() argument
137 loff_t pg_offp = *offp & ~PAGE_MASK; in snapshot_read()
160 *offp += res; in snapshot_read()
169 size_t count, loff_t *offp) in snapshot_write() argument
171 loff_t pg_offp = *offp & ~PAGE_MASK; in snapshot_write()
201 *offp += res; in snapshot_write()
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/drivers/gpu/drm/msm/dp/
Ddp_debug.c133 size_t len, loff_t *offp) in dp_test_active_write() argument
170 *offp += len; in dp_test_active_write()
/linux-6.6.21/fs/xfs/
Dxfs_bmap_util.h49 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
/linux-6.6.21/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.c427 size_t len, loff_t *offp) in connector_write() argument
468 size_t len, loff_t *offp) in edid_write() argument
/linux-6.6.21/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-6.6.21/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()
996 size_t count, loff_t *offp) in idt_dbgfs_csr_read() argument
1016 return simple_read_from_buffer(ubuf, count, offp, buf, size); in idt_dbgfs_csr_read()
/linux-6.6.21/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-6.6.21/drivers/firmware/efi/
Dcapsule-loader.c169 size_t count, loff_t *offp) in efi_capsule_write() argument
/linux-6.6.21/drivers/block/aoe/
Daoechr.c170 aoechr_write(struct file *filp, const char __user *buf, size_t cnt, loff_t *offp) in aoechr_write() argument

12