Home
last modified time | relevance | path

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

/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 …]
/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()
/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 …]
/drivers/android/
Dbinder.c2272 binder_size_t *offp; in binder_validate_ptr() local
2277 offp = start + index; in binder_validate_ptr()
2278 buffer_obj = (struct binder_buffer_object *)(b->data + *offp); in binder_validate_ptr()
2353 binder_size_t *offp, *off_start, *off_end; in binder_transaction_buffer_release() local
2370 for (offp = off_start; offp < off_end; offp++) { in binder_transaction_buffer_release()
2372 size_t object_size = binder_validate_object(buffer, *offp); in binder_transaction_buffer_release()
2376 debug_id, (u64)*offp, buffer->data_size); in binder_transaction_buffer_release()
2379 hdr = (struct binder_object_header *)(buffer->data + *offp); in binder_transaction_buffer_release()
2445 offp - off_start); in binder_transaction_buffer_release()
2890 binder_size_t *offp, *off_end, *off_start; in binder_transaction() local
[all …]
/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
/drivers/block/aoe/
Daoechr.c162 aoechr_write(struct file *filp, const char __user *buf, size_t cnt, loff_t *offp) in aoechr_write() argument
/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
1311 size_t count, loff_t *offp) in debugfs_read() argument
1346 ret = simple_read_from_buffer(ubuf, count, offp, buf, out_offset); in debugfs_read()
/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 …]
/drivers/char/hw_random/
Dcore.c223 size_t size, loff_t *offp) in rng_dev_read() argument
/drivers/video/fbdev/
Dpxa3xx-gcu.c387 size_t count, loff_t *offp) in pxa3xx_gcu_write() argument
/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()
/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()
/drivers/usb/gadget/function/
Df_hid.c281 size_t count, loff_t *offp) in f_hidg_write() argument
/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()