Home
last modified time | relevance | path

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

12

/linux/drivers/ntb/test/
H A 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 …]
H A Dntb_perf.c1181 size_t size, loff_t *offp) in perf_dbgfs_read_info() argument
1252 ret = simple_read_from_buffer(ubuf, size, offp, buf, pos); in perf_dbgfs_read_info()
1264 size_t size, loff_t *offp) in perf_dbgfs_read_run() argument
1278 ret = simple_read_from_buffer(ubuf, size, offp, buf, pos); in perf_dbgfs_read_run()
1286 size_t size, loff_t *offp) in perf_dbgfs_write_run() argument
1315 size_t size, loff_t *offp) in perf_dbgfs_read_tcnt() argument
1323 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in perf_dbgfs_read_tcnt()
1328 size_t size, loff_t *offp) in perf_dbgfs_write_tcnt() argument
/linux/drivers/char/
H A Dadi.c49 size_t count, loff_t *offp) in adi_read() argument
62 offset = (*offp) * adi_blksize(); in adi_read()
88 (*offp) += bytes_read; in adi_read()
126 size_t count, loff_t *offp) in adi_write() argument
142 offset = (*offp) * adi_blksize(); in adi_write()
163 (*offp) += bytes_written; in adi_write()
H A Dvirtio_console.c730 size_t count, loff_t *offp) in port_fops_read() argument
797 size_t count, loff_t *offp) in port_fops_write() argument
/linux/drivers/mtd/ubi/
H A 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/drivers/ntb/hw/intel/
H A Dntb_hw_gen4.h109 size_t count, loff_t *offp);
112 size_t count, loff_t *offp);
H A Dntb_hw_gen3.h105 size_t count, loff_t *offp);
H A 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()
768 return ndev_ntb4_debugfs_read(filp, ubuf, count, offp); in ndev_debugfs_read()
H A Dntb_hw_gen3.c259 size_t count, loff_t *offp) in ndev_ntb3_debugfs_read() argument
416 ret = simple_read_from_buffer(ubuf, count, offp, buf, off); in ndev_ntb3_debugfs_read()
H A Dntb_hw_gen4.c230 size_t count, loff_t *offp) in ndev_ntb4_debugfs_read() argument
342 ret = simple_read_from_buffer(ubuf, count, offp, buf, off); in ndev_ntb4_debugfs_read()
/linux/arch/mips/sibyte/common/
H A 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/fs/xfs/
H A Dxfs_bmap_util.h51 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
/linux/drivers/gpu/drm/
H A Ddrm_debugfs_crc.c122 size_t len, loff_t *offp) in crc_control_write() argument
166 *offp += len; in crc_control_write()
/linux/drivers/misc/eeprom/
H A Didt_89hpesx.c899 size_t count, loff_t *offp) in idt_dbgfs_csr_write() argument
907 if (*offp) in idt_dbgfs_csr_write()
986 size_t count, loff_t *offp) in idt_dbgfs_csr_read() argument
1006 return simple_read_from_buffer(ubuf, count, offp, buf, size); in idt_dbgfs_csr_read()
/linux/drivers/crypto/bcm/
H A 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/drivers/block/aoe/
H A Daoechr.c170 aoechr_write(struct file *filp, const char __user *buf, size_t cnt, loff_t *offp) in aoechr_write() argument
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_debugfs.c143 size_t len, loff_t *offp) in nouveau_debugfs_pstate_set() argument
/linux/fs/
H A Dnamespace.c5555 u32 start, *offp; in statmount_string() local
5565 offp = &sm->fs_type; in statmount_string()
5569 offp = &sm->mnt_root; in statmount_string()
5573 offp = &sm->mnt_point; in statmount_string()
5577 offp = &sm->mnt_opts; in statmount_string()
5581 offp = &sm->opt_array; in statmount_string()
5585 offp = &sm->opt_sec_array; in statmount_string()
5589 offp = &sm->fs_subtype; in statmount_string()
5593 offp = &sm->sb_source; in statmount_string()
5597 offp = &sm->mnt_uidmap; in statmount_string()
[all …]
/linux/drivers/mailbox/
H A Dbcm-pdc-mailbox.c421 size_t count, loff_t *offp) in pdc_debugfs_read() argument
469 ret = simple_read_from_buffer(ubuf, count, offp, buf, out_offset); in pdc_debugfs_read()
/linux/drivers/ntb/hw/amd/
H A Dntb_hw_amd.c848 size_t count, loff_t *offp) in ndev_debugfs_read() argument
939 ret = simple_read_from_buffer(ubuf, count, offp, buf, off); in ndev_debugfs_read()
/linux/lib/
H A Ddynamic_debug.c1006 size_t len, loff_t *offp) in ddebug_proc_write() argument
1027 *offp += len; in ddebug_proc_write()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dpi.c937 size_t len, loff_t *offp) in mtk_dpi_debug_tp_write() argument
943 if (!m || !m->private || *offp || len > sizeof(buf) - 1) in mtk_dpi_debug_tp_write()
/linux/drivers/ntb/hw/idt/
H A Dntb_hw_idt.c2312 size_t count, loff_t *offp);
2331 size_t count, loff_t *offp) in idt_dbgfs_info_read() argument
2491 ret = simple_read_from_buffer(ubuf, count, offp, strbuf, off); in idt_dbgfs_info_read()
/linux/drivers/video/fbdev/
H A Dpxa3xx-gcu.c377 size_t count, loff_t *offp) in pxa3xx_gcu_write() argument
/linux/tools/perf/util/
H A Dunwind-libunwind-local.c537 unw_word_t __maybe_unused *offp, void __maybe_unused *arg) in get_proc_name()
538 get_proc_name(unw_addr_space_t __maybe_unused as,unw_word_t __maybe_unused addr,char __maybe_unused * bufp,size_t __maybe_unused buf_len,unw_word_t __maybe_unused * offp,void __maybe_unused * arg) get_proc_name() argument

12