Lines Matching refs:filep

405 static ssize_t tool_port_read(struct file *filep, char __user *ubuf,
408 struct tool_ctx *tc = filep->private_data;
421 static ssize_t tool_peer_port_read(struct file *filep, char __user *ubuf,
424 struct tool_peer *peer = filep->private_data;
462 static ssize_t tool_link_write(struct file *filep, const char __user *ubuf,
465 struct tool_ctx *tc = filep->private_data;
488 static ssize_t tool_peer_link_read(struct file *filep, char __user *ubuf,
491 struct tool_peer *peer = filep->private_data;
509 static ssize_t tool_peer_link_event_write(struct file *filep,
513 struct tool_peer *peer = filep->private_data;
541 static ssize_t tool_mw_read(struct file *filep, char __user *ubuf,
544 struct tool_mw *inmw = filep->private_data;
553 static ssize_t tool_mw_write(struct file *filep, const char __user *ubuf,
556 struct tool_mw *inmw = filep->private_data;
637 static ssize_t tool_mw_trans_read(struct file *filep, char __user *ubuf,
640 struct tool_mw *inmw = filep->private_data;
699 static ssize_t tool_mw_trans_write(struct file *filep, const char __user *ubuf,
702 struct tool_mw *inmw = filep->private_data;
724 static ssize_t tool_peer_mw_read(struct file *filep, char __user *ubuf,
727 struct tool_mw *outmw = filep->private_data;
762 static ssize_t tool_peer_mw_write(struct file *filep, const char __user *ubuf,
765 struct tool_mw *outmw = filep->private_data;
865 static ssize_t tool_peer_mw_trans_read(struct file *filep, char __user *ubuf,
868 struct tool_mw_wrap *outmw_wrap = filep->private_data;
922 static ssize_t tool_peer_mw_trans_write(struct file *filep,
926 struct tool_mw_wrap *outmw_wrap = filep->private_data;
1025 static ssize_t tool_db_read(struct file *filep, char __user *ubuf,
1028 struct tool_ctx *tc = filep->private_data;
1033 static ssize_t tool_db_write(struct file *filep, const char __user *ubuf,
1036 struct tool_ctx *tc = filep->private_data;
1046 static ssize_t tool_db_valid_mask_read(struct file *filep, char __user *ubuf,
1049 struct tool_ctx *tc = filep->private_data;
1058 static ssize_t tool_db_mask_read(struct file *filep, char __user *ubuf,
1061 struct tool_ctx *tc = filep->private_data;
1066 static ssize_t tool_db_mask_write(struct file *filep, const char __user *ubuf,
1069 struct tool_ctx *tc = filep->private_data;
1079 static ssize_t tool_peer_db_read(struct file *filep, char __user *ubuf,
1082 struct tool_ctx *tc = filep->private_data;
1087 static ssize_t tool_peer_db_write(struct file *filep, const char __user *ubuf,
1090 struct tool_ctx *tc = filep->private_data;
1100 static ssize_t tool_peer_db_mask_read(struct file *filep, char __user *ubuf,
1103 struct tool_ctx *tc = filep->private_data;
1109 static ssize_t tool_peer_db_mask_write(struct file *filep,
1113 struct tool_ctx *tc = filep->private_data;
1124 static ssize_t tool_db_event_write(struct file *filep,
1128 struct tool_ctx *tc = filep->private_data;
1151 static ssize_t tool_spad_read(struct file *filep, char __user *ubuf,
1154 struct tool_spad *spad = filep->private_data;
1167 static ssize_t tool_spad_write(struct file *filep, const char __user *ubuf,
1170 struct tool_spad *spad = filep->private_data;
1192 static ssize_t tool_peer_spad_read(struct file *filep, char __user *ubuf,
1195 struct tool_spad *spad = filep->private_data;
1208 static ssize_t tool_peer_spad_write(struct file *filep, const char __user *ubuf,
1211 struct tool_spad *spad = filep->private_data;
1274 static ssize_t tool_inmsg_read(struct file *filep, char __user *ubuf,
1277 struct tool_msg *msg = filep->private_data;
1294 static ssize_t tool_outmsg_write(struct file *filep,
1298 struct tool_msg *msg = filep->private_data;
1315 static ssize_t tool_msg_sts_read(struct file *filep, char __user *ubuf,
1318 struct tool_ctx *tc = filep->private_data;
1323 static ssize_t tool_msg_sts_write(struct file *filep, const char __user *ubuf,
1326 struct tool_ctx *tc = filep->private_data;
1336 static ssize_t tool_msg_inbits_read(struct file *filep, char __user *ubuf,
1339 struct tool_ctx *tc = filep->private_data;
1348 static ssize_t tool_msg_outbits_read(struct file *filep, char __user *ubuf,
1351 struct tool_ctx *tc = filep->private_data;
1360 static ssize_t tool_msg_mask_write(struct file *filep, const char __user *ubuf,
1363 struct tool_ctx *tc = filep->private_data;
1374 static ssize_t tool_msg_event_write(struct file *filep,
1378 struct tool_ctx *tc = filep->private_data;