Lines Matching defs:file
151 static int hdr_size(struct ib_umad_file *file) in hdr_size()
158 static struct ib_mad_agent *__get_agent(struct ib_umad_file *file, int id) in __get_agent()
163 static int queue_packet(struct ib_umad_file *file, in queue_packet()
186 static void dequeue_send(struct ib_umad_file *file, in dequeue_send()
197 struct ib_umad_file *file = agent->context; in send_handler() local
216 struct ib_umad_file *file = agent->context; in recv_handler() local
261 static ssize_t copy_recv_mad(struct ib_umad_file *file, char __user *buf, in copy_recv_mad()
311 static ssize_t copy_send_mad(struct ib_umad_file *file, char __user *buf, in copy_send_mad()
333 struct ib_umad_file *file = filp->private_data; in ib_umad_read() local
410 static int is_duplicate(struct ib_umad_file *file, in is_duplicate()
446 struct ib_umad_file *file = filp->private_data; in ib_umad_write() local
603 struct ib_umad_file *file = filp->private_data; in ib_umad_poll() local
616 static int ib_umad_reg_agent(struct ib_umad_file *file, void __user *arg, in ib_umad_reg_agent()
719 static int ib_umad_reg_agent2(struct ib_umad_file *file, void __user *arg) in ib_umad_reg_agent2()
832 static int ib_umad_unreg_agent(struct ib_umad_file *file, u32 __user *arg) in ib_umad_unreg_agent()
863 static long ib_umad_enable_pkey(struct ib_umad_file *file) in ib_umad_enable_pkey()
925 struct ib_umad_file *file; in ib_umad_open() local
967 struct ib_umad_file *file = filp->private_data; in ib_umad_close() local
1238 struct ib_umad_file *file; in ib_umad_kill_port() local