Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/ntb/hw/intel/
Dntb_hw_gen4.h92 size_t count, loff_t *offp);
95 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.c218 size_t count, loff_t *offp) in ndev_ntb4_debugfs_read() argument
330 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_debugfs_params.c29 loff_t *offp) in i915_param_int_write() argument
82 loff_t *offp) in i915_param_uint_write() argument
135 loff_t *offp) in i915_param_charp_write() argument
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_display_debugfs.c990 size_t len, loff_t *offp) in i915_ipc_status_write() argument
1239 size_t len, loff_t *offp) in i915_displayport_test_active_write() argument
1294 *offp += len; in i915_displayport_test_active_write()
1550 size_t len, loff_t *offp, u16 wm[8]) in wm_latency_write() argument
1596 size_t len, loff_t *offp) in pri_wm_latency_write() argument
1607 return wm_latency_write(file, ubuf, len, offp, latencies); in pri_wm_latency_write()
1611 size_t len, loff_t *offp) in spr_wm_latency_write() argument
1622 return wm_latency_write(file, ubuf, len, offp, latencies); in spr_wm_latency_write()
1626 size_t len, loff_t *offp) in cur_wm_latency_write() argument
1637 return wm_latency_write(file, ubuf, len, offp, latencies); in cur_wm_latency_write()
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_bmap_util.h49 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/crypto/bcm/
Dutil.c349 size_t count, loff_t *offp) in spu_debugfs_read() argument
467 ret = simple_read_from_buffer(ubuf, count, offp, buf, out_offset); in spu_debugfs_read()
/kernel/linux/linux-5.10/drivers/misc/eeprom/
Didt_89hpesx.c935 size_t count, loff_t *offp) in idt_dbgfs_csr_write() argument
943 if (*offp) in idt_dbgfs_csr_write()
1033 size_t count, loff_t *offp) in idt_dbgfs_csr_read() argument
1053 return simple_read_from_buffer(ubuf, count, offp, buf, size); in idt_dbgfs_csr_read()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_debug.c268 size_t len, loff_t *offp) in dp_test_active_write() argument
315 *offp += len; in dp_test_active_write()
/kernel/linux/linux-5.10/drivers/firmware/efi/
Dcapsule-loader.c169 size_t count, loff_t *offp) in efi_capsule_write() argument
/kernel/linux/linux-5.10/drivers/block/aoe/
Daoechr.c162 aoechr_write(struct file *filp, const char __user *buf, size_t cnt, loff_t *offp) in aoechr_write() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c142 size_t len, loff_t *offp) in nouveau_debugfs_pstate_set() argument

12