Home
last modified time | relevance | path

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

/linux-4.4.14/arch/ia64/kernel/
Dpatch.c102 s32 *offp = (s32 *) start; in ia64_patch_vtop() local
105 while (offp < (s32 *) end) { in ia64_patch_vtop()
106 ip = (u64) offp + *offp; in ia64_patch_vtop()
111 ++offp; in ia64_patch_vtop()
125 s32 *offp = (s32 *) start; in ia64_patch_rse() local
128 while (offp < (s32 *) end) { in ia64_patch_rse()
129 ip = (u64) offp + *offp; in ia64_patch_rse()
134 ++offp; in ia64_patch_rse()
145 s32 *offp = (s32 *) start; in ia64_patch_mckinley_e9() local
158 while (offp < (s32 *) end) { in ia64_patch_mckinley_e9()
[all …]
Dunwind.c715 alloc_spill_area (unsigned long *offp, unsigned long regsize, in alloc_spill_area() argument
723 *offp -= regsize; in alloc_spill_area()
724 reg->val = *offp; in alloc_spill_area()
/linux-4.4.14/drivers/ntb/test/
Dntb_tool.c158 size_t size, loff_t *offp, in tool_dbfn_read() argument
177 rc = simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_dbfn_read()
186 size_t size, loff_t *offp, in tool_dbfn_write() argument
199 rc = simple_write_to_buffer(buf, size, offp, ubuf, size); in tool_dbfn_write()
231 size_t size, loff_t *offp, in tool_spadfn_read() argument
256 rc = simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_spadfn_read()
265 size_t size, loff_t *offp, in tool_spadfn_write() argument
284 rc = simple_write_to_buffer(buf, size, offp, ubuf, size); in tool_spadfn_write()
310 size_t size, loff_t *offp) in tool_db_read() argument
314 return tool_dbfn_read(tc, ubuf, size, offp, in tool_db_read()
[all …]
/linux-4.4.14/drivers/fmc/
Dfmc-chardev.c58 loff_t *offp) in fc_read() argument
68 addr = *offp; in fc_read()
74 *offp += count; in fc_read()
79 loff_t *offp) in fc_write() argument
89 addr = *offp; in fc_write()
95 *offp += count; in fc_write()
/linux-4.4.14/drivers/mtd/ubi/
Dcdev.c185 loff_t *offp) in vol_cdev_read() argument
195 count, *offp, vol->vol_id); in vol_cdev_read()
205 if (*offp == vol->used_bytes || count == 0) in vol_cdev_read()
211 if (*offp + count > vol->used_bytes) in vol_cdev_read()
212 count_save = count = vol->used_bytes - *offp; in vol_cdev_read()
222 lnum = div_u64_rem(*offp, vol->usable_leb_size, &off); in vol_cdev_read()
241 *offp += len; in vol_cdev_read()
262 size_t count, loff_t *offp) in vol_cdev_direct_write() argument
275 count, *offp, vol->vol_id); in vol_cdev_direct_write()
280 lnum = div_u64_rem(*offp, vol->usable_leb_size, &off); in vol_cdev_direct_write()
[all …]
/linux-4.4.14/kernel/power/
Duser.c136 size_t count, loff_t *offp) in snapshot_read() argument
140 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
173 loff_t pg_offp = *offp & ~PAGE_MASK; in snapshot_write()
190 *offp += res; in snapshot_write()
/linux-4.4.14/arch/mips/sibyte/common/
Dsb_tbprof.c453 size_t size, loff_t *offp) in sbprof_tb_read() argument
459 long cur_off = *offp; in sbprof_tb_read()
478 *offp = cur_off + cur_count - err; in sbprof_tb_read()
497 *offp = cur_off; in sbprof_tb_read()
/linux-4.4.14/fs/xfs/
Dxfs_bmap_util.h51 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
/linux-4.4.14/drivers/android/
Dbinder.c1244 binder_size_t *offp, *off_end; in binder_transaction_buffer_release() local
1255 offp = (binder_size_t *)(buffer->data + in binder_transaction_buffer_release()
1260 off_end = (void *)offp + buffer->offsets_size; in binder_transaction_buffer_release()
1261 for (; offp < off_end; offp++) { in binder_transaction_buffer_release()
1264 if (*offp > buffer->data_size - sizeof(*fp) || in binder_transaction_buffer_release()
1266 !IS_ALIGNED(*offp, sizeof(u32))) { in binder_transaction_buffer_release()
1268 debug_id, (u64)*offp, buffer->data_size); in binder_transaction_buffer_release()
1271 fp = (struct flat_binder_object *)(buffer->data + *offp); in binder_transaction_buffer_release()
1323 binder_size_t *offp, *off_end; in binder_transaction() local
1501 offp = (binder_size_t *)(t->buffer->data + in binder_transaction()
[all …]
/linux-4.4.14/drivers/gpu/drm/
Ddrm_debugfs.c279 size_t len, loff_t *offp) in connector_write() argument
326 size_t len, loff_t *offp) in edid_write() argument
/linux-4.4.14/arch/um/drivers/
Drandom.c48 loff_t *offp) in rng_dev_read() argument
/linux-4.4.14/arch/sparc/kernel/
Dmdesc.c1011 size_t len, loff_t *offp) in mdesc_read() argument
1017 if (*offp >= hp->handle_size) in mdesc_read()
1020 bytes_left = hp->handle_size - *offp; in mdesc_read()
1025 mdesc += *offp; in mdesc_read()
1027 *offp += count; in mdesc_read()
/linux-4.4.14/fs/ocfs2/
Dinode.h152 size_t size, loff_t *offp);
/linux-4.4.14/drivers/block/aoe/
Daoechr.c162 aoechr_write(struct file *filp, const char __user *buf, size_t cnt, loff_t *offp) in aoechr_write() argument
/linux-4.4.14/lib/
Ddynamic_debug.c649 size_t len, loff_t *offp) in ddebug_proc_write() argument
675 *offp += len; in ddebug_proc_write()
/linux-4.4.14/drivers/char/
Dvirtio_console.c749 size_t count, loff_t *offp) in port_fops_read() argument
816 size_t count, loff_t *offp) in port_fops_write() argument
1303 size_t count, loff_t *offp) in debugfs_read() argument
1338 ret = simple_read_from_buffer(ubuf, count, offp, buf, out_offset); in debugfs_read()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_debugfs.c4101 size_t len, loff_t *offp) in display_crc_ctl_write() argument
4134 *offp += len; in display_crc_ctl_write()
4149 size_t len, loff_t *offp) in i915_displayport_test_active_write() argument
4205 *offp += len; in i915_displayport_test_active_write()
4445 size_t len, loff_t *offp, uint16_t wm[8]) in wm_latency_write() argument
4488 size_t len, loff_t *offp) in pri_wm_latency_write() argument
4500 return wm_latency_write(file, ubuf, len, offp, latencies); in pri_wm_latency_write()
4504 size_t len, loff_t *offp) in spr_wm_latency_write() argument
4516 return wm_latency_write(file, ubuf, len, offp, latencies); in spr_wm_latency_write()
4520 size_t len, loff_t *offp) in cur_wm_latency_write() argument
[all …]
/linux-4.4.14/drivers/char/hw_random/
Dcore.c223 size_t size, loff_t *offp) in rng_dev_read() argument
/linux-4.4.14/drivers/video/fbdev/
Dpxa3xx-gcu.c387 size_t count, loff_t *offp) in pxa3xx_gcu_write() argument
/linux-4.4.14/tools/perf/util/
Dunwind-libunwind.c410 unw_word_t __maybe_unused *offp, void __maybe_unused *arg) in get_proc_name() argument
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1453 echo_get_stripe_off_id(struct lov_stripe_md *lsm, u64 *offp, u64 *idp) in echo_get_stripe_off_id() argument
1465 offset = *offp; in echo_get_stripe_off_id()
1478 *offp = offset * stripe_size + woffset % stripe_size; in echo_get_stripe_off_id()
/linux-4.4.14/arch/powerpc/xmon/
Dxmon.c145 static struct bpt *in_breakpoint_table(unsigned long pc, unsigned long *offp);
725 static struct bpt *in_breakpoint_table(unsigned long nip, unsigned long *offp) in in_breakpoint_table() argument
736 *offp = off - offsetof(struct bpt, instr[0]); in in_breakpoint_table()
/linux-4.4.14/drivers/usb/gadget/function/
Df_hid.c269 size_t count, loff_t *offp) in f_hidg_write() argument
/linux-4.4.14/drivers/ntb/
Dntb_transport.c437 loff_t *offp) in debugfs_read() argument
522 ret = simple_read_from_buffer(ubuf, count, offp, buf, out_offset); in debugfs_read()
/linux-4.4.14/drivers/ntb/hw/intel/
Dntb_hw_intel.c551 size_t count, loff_t *offp) in ndev_debugfs_read() argument
774 ret = simple_read_from_buffer(ubuf, count, offp, buf, off); in ndev_debugfs_read()
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_bmap.c3185 xfs_fileoff_t *offp, /* in/out: aligned offset */ in xfs_bmap_extsize_align() argument
3200 orig_off = align_off = *offp; in xfs_bmap_extsize_align()
3345 *offp = align_off; in xfs_bmap_extsize_align()