Home
last modified time | relevance | path

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

/linux-4.1.27/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 …]
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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/fs/xfs/
Dxfs_bmap_util.h51 xfs_fileoff_t *offp, xfs_extlen_t *lenp);
/linux-4.1.27/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.1.27/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.1.27/arch/um/drivers/
Drandom.c48 loff_t *offp) in rng_dev_read() argument
/linux-4.1.27/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.1.27/fs/ocfs2/
Dinode.h152 size_t size, loff_t *offp);
/linux-4.1.27/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.1.27/lib/
Ddynamic_debug.c649 size_t len, loff_t *offp) in ddebug_proc_write() argument
675 *offp += len; in ddebug_proc_write()
/linux-4.1.27/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.1.27/drivers/char/hw_random/
Dcore.c223 size_t size, loff_t *offp) in rng_dev_read() argument
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_debugfs.c3826 size_t len, loff_t *offp) in display_crc_ctl_write() argument
3859 *offp += len; in display_crc_ctl_write()
3978 size_t len, loff_t *offp, uint16_t wm[8]) in wm_latency_write() argument
4014 size_t len, loff_t *offp) in pri_wm_latency_write() argument
4026 return wm_latency_write(file, ubuf, len, offp, latencies); in pri_wm_latency_write()
4030 size_t len, loff_t *offp) in spr_wm_latency_write() argument
4042 return wm_latency_write(file, ubuf, len, offp, latencies); in spr_wm_latency_write()
4046 size_t len, loff_t *offp) in cur_wm_latency_write() argument
4058 return wm_latency_write(file, ubuf, len, offp, latencies); in cur_wm_latency_write()
/linux-4.1.27/tools/perf/util/
Dunwind-libunwind.c400 unw_word_t __maybe_unused *offp, void __maybe_unused *arg) in get_proc_name() argument
/linux-4.1.27/drivers/video/fbdev/
Dpxa3xx-gcu.c387 size_t count, loff_t *offp) in pxa3xx_gcu_write() argument
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1452 echo_get_stripe_off_id(struct lov_stripe_md *lsm, u64 *offp, u64 *idp) in echo_get_stripe_off_id() argument
1464 offset = *offp; in echo_get_stripe_off_id()
1477 *offp = offset * stripe_size + woffset % stripe_size; in echo_get_stripe_off_id()
/linux-4.1.27/arch/powerpc/xmon/
Dxmon.c145 static struct bpt *in_breakpoint_table(unsigned long pc, unsigned long *offp);
724 static struct bpt *in_breakpoint_table(unsigned long nip, unsigned long *offp) in in_breakpoint_table() argument
735 *offp = off - offsetof(struct bpt, instr[0]); in in_breakpoint_table()
/linux-4.1.27/drivers/ntb/
Dntb_hw.c1429 size_t count, loff_t *offp) in ntb_debugfs_read() argument
1512 ret = simple_read_from_buffer(ubuf, count, offp, buf, offset); in ntb_debugfs_read()
Dntb_transport.c396 loff_t *offp) in debugfs_read() argument
460 ret = simple_read_from_buffer(ubuf, count, offp, buf, out_offset); in debugfs_read()
/linux-4.1.27/drivers/usb/gadget/function/
Df_hid.c269 size_t count, loff_t *offp) in f_hidg_write() argument
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_bmap.c3186 xfs_fileoff_t *offp, /* in/out: aligned offset */ in xfs_bmap_extsize_align() argument
3201 orig_off = align_off = *offp; in xfs_bmap_extsize_align()
3346 *offp = align_off; in xfs_bmap_extsize_align()