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()
413 size_t size, loff_t *offp) in tool_port_read() argument
421 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_port_read()
429 size_t size, loff_t *offp) in tool_peer_port_read() argument
439 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_peer_port_read()
470 size_t size, loff_t *offp) in tool_link_write() argument
496 size_t size, loff_t *offp) in tool_peer_link_read() argument
509 return simple_read_from_buffer(ubuf, size, offp, buf, 2); in tool_peer_link_read()
518 size_t size, loff_t *offp) in tool_peer_link_event_write() argument
549 size_t size, loff_t *offp) in tool_mw_read() argument
556 return simple_read_from_buffer(ubuf, size, offp, in tool_mw_read()
561 size_t size, loff_t *offp) in tool_mw_write() argument
568 return simple_write_to_buffer(inmw->mm_base, inmw->size, offp, in tool_mw_write()
645 size_t size, loff_t *offp) in tool_mw_trans_read() argument
698 ret = simple_read_from_buffer(ubuf, size, offp, buf, off); in tool_mw_trans_read()
707 size_t size, loff_t *offp) in tool_mw_trans_write() argument
732 size_t size, loff_t *offp) in tool_peer_mw_read() argument
735 loff_t pos = *offp; in tool_peer_mw_read()
760 *offp = pos + size; in tool_peer_mw_read()
770 size_t size, loff_t *offp) in tool_peer_mw_write() argument
774 loff_t pos = *offp; in tool_peer_mw_write()
796 *offp = pos + size; in tool_peer_mw_write()
873 size_t size, loff_t *offp) in tool_peer_mw_trans_read() argument
923 ret = simple_read_from_buffer(ubuf, size, offp, buf, off); in tool_peer_mw_trans_read()
931 size_t size, loff_t *offp) in tool_peer_mw_trans_write() argument
1031 size_t size, loff_t *offp) in tool_db_read() argument
1035 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->db_read); in tool_db_read()
1039 size_t size, loff_t *offp) in tool_db_write() argument
1043 return tool_fn_write(tc, ubuf, size, offp, tc->ntb->ops->db_set, in tool_db_write()
1052 size_t size, loff_t *offp) in tool_db_valid_mask_read() argument
1056 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->db_valid_mask); in tool_db_valid_mask_read()
1064 size_t size, loff_t *offp) in tool_db_mask_read() argument
1068 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->db_read_mask); in tool_db_mask_read()
1072 size_t size, loff_t *offp) in tool_db_mask_write() argument
1076 return tool_fn_write(tc, ubuf, size, offp, tc->ntb->ops->db_set_mask, in tool_db_mask_write()
1085 size_t size, loff_t *offp) in tool_peer_db_read() argument
1089 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->peer_db_read); in tool_peer_db_read()
1093 size_t size, loff_t *offp) in tool_peer_db_write() argument
1097 return tool_fn_write(tc, ubuf, size, offp, tc->ntb->ops->peer_db_set, in tool_peer_db_write()
1106 size_t size, loff_t *offp) in tool_peer_db_mask_read() argument
1110 return tool_fn_read(tc, ubuf, size, offp, in tool_peer_db_mask_read()
1116 size_t size, loff_t *offp) in tool_peer_db_mask_write() argument
1120 return tool_fn_write(tc, ubuf, size, offp, in tool_peer_db_mask_write()
1131 size_t size, loff_t *offp) in tool_db_event_write() argument
1157 size_t size, loff_t *offp) in tool_spad_read() argument
1169 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_spad_read()
1173 size_t size, loff_t *offp) in tool_spad_write() argument
1198 size_t size, loff_t *offp) in tool_peer_spad_read() argument
1210 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_peer_spad_read()
1214 size_t size, loff_t *offp) in tool_peer_spad_write() argument
1280 size_t size, loff_t *offp) in tool_inmsg_read() argument
1292 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_inmsg_read()
1301 size_t size, loff_t *offp) in tool_outmsg_write() argument
1321 size_t size, loff_t *offp) in tool_msg_sts_read() argument
1325 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->msg_read_sts); in tool_msg_sts_read()
1329 size_t size, loff_t *offp) in tool_msg_sts_write() argument
1333 return tool_fn_write(tc, ubuf, size, offp, NULL, in tool_msg_sts_write()
1342 size_t size, loff_t *offp) in tool_msg_inbits_read() argument
1346 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->msg_inbits); in tool_msg_inbits_read()
1354 size_t size, loff_t *offp) in tool_msg_outbits_read() argument
1358 return tool_fn_read(tc, ubuf, size, offp, tc->ntb->ops->msg_outbits); in tool_msg_outbits_read()
1366 size_t size, loff_t *offp) in tool_msg_mask_write() argument
1370 return tool_fn_write(tc, ubuf, size, offp, in tool_msg_mask_write()
1381 size_t size, loff_t *offp) in tool_msg_event_write() argument