Lines Matching refs:offp

342 			    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
502 return simple_read_from_buffer(ubuf, size, offp, buf, 2); in tool_peer_link_read()
511 size_t size, loff_t *offp) in tool_peer_link_event_write() argument
542 size_t size, loff_t *offp) in tool_mw_read() argument
549 return simple_read_from_buffer(ubuf, size, offp, in tool_mw_read()
554 size_t size, loff_t *offp) in tool_mw_write() argument
561 return simple_write_to_buffer(inmw->mm_base, inmw->size, offp, in tool_mw_write()
638 size_t size, loff_t *offp) in tool_mw_trans_read() argument
691 ret = simple_read_from_buffer(ubuf, size, offp, buf, off); in tool_mw_trans_read()
700 size_t size, loff_t *offp) in tool_mw_trans_write() argument
725 size_t size, loff_t *offp) in tool_peer_mw_read() argument
728 loff_t pos = *offp; in tool_peer_mw_read()
753 *offp = pos + size; in tool_peer_mw_read()
763 size_t size, loff_t *offp) in tool_peer_mw_write() argument
767 loff_t pos = *offp; in tool_peer_mw_write()
789 *offp = pos + size; in tool_peer_mw_write()
866 size_t size, loff_t *offp) in tool_peer_mw_trans_read() argument
916 ret = simple_read_from_buffer(ubuf, size, offp, buf, off); in tool_peer_mw_trans_read()
924 size_t size, loff_t *offp) in tool_peer_mw_trans_write() argument
1026 size_t size, loff_t *offp) in tool_db_read() argument
1030 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->db_read); in tool_db_read()
1034 size_t size, loff_t *offp) in tool_db_write() argument
1038 return tool_fn_write(tc, ubuf, size, offp, tc->ntb->ops->db_set, in tool_db_write()
1047 size_t size, loff_t *offp) in tool_db_valid_mask_read() argument
1051 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->db_valid_mask); in tool_db_valid_mask_read()
1059 size_t size, loff_t *offp) in tool_db_mask_read() argument
1063 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->db_read_mask); in tool_db_mask_read()
1067 size_t size, loff_t *offp) in tool_db_mask_write() argument
1071 return tool_fn_write(tc, ubuf, size, offp, tc->ntb->ops->db_set_mask, in tool_db_mask_write()
1080 size_t size, loff_t *offp) in tool_peer_db_read() argument
1084 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->peer_db_read); in tool_peer_db_read()
1088 size_t size, loff_t *offp) in tool_peer_db_write() argument
1092 return tool_fn_write(tc, ubuf, size, offp, tc->ntb->ops->peer_db_set, in tool_peer_db_write()
1101 size_t size, loff_t *offp) in tool_peer_db_mask_read() argument
1105 return tool_fn_read(tc, ubuf, size, offp, in tool_peer_db_mask_read()
1111 size_t size, loff_t *offp) in tool_peer_db_mask_write() argument
1115 return tool_fn_write(tc, ubuf, size, offp, in tool_peer_db_mask_write()
1126 size_t size, loff_t *offp) in tool_db_event_write() argument
1152 size_t size, loff_t *offp) in tool_spad_read() argument
1164 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_spad_read()
1168 size_t size, loff_t *offp) in tool_spad_write() argument
1193 size_t size, loff_t *offp) in tool_peer_spad_read() argument
1205 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_peer_spad_read()
1209 size_t size, loff_t *offp) in tool_peer_spad_write() argument
1275 size_t size, loff_t *offp) in tool_inmsg_read() argument
1287 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_inmsg_read()
1296 size_t size, loff_t *offp) in tool_outmsg_write() argument
1316 size_t size, loff_t *offp) in tool_msg_sts_read() argument
1320 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->msg_read_sts); in tool_msg_sts_read()
1324 size_t size, loff_t *offp) in tool_msg_sts_write() argument
1328 return tool_fn_write(tc, ubuf, size, offp, NULL, in tool_msg_sts_write()
1337 size_t size, loff_t *offp) in tool_msg_inbits_read() argument
1341 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->msg_inbits); in tool_msg_inbits_read()
1349 size_t size, loff_t *offp) in tool_msg_outbits_read() argument
1353 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->msg_outbits); in tool_msg_outbits_read()
1361 size_t size, loff_t *offp) in tool_msg_mask_write() argument
1365 return tool_fn_write(tc, ubuf, size, offp, in tool_msg_mask_write()
1376 size_t size, loff_t *offp) in tool_msg_event_write() argument