Lines Matching defs:file

150 static int hdr_size(struct ib_umad_file *file)  in hdr_size()
157 static struct ib_mad_agent *__get_agent(struct ib_umad_file *file, int id) in __get_agent()
162 static int queue_packet(struct ib_umad_file *file, in queue_packet()
185 static void dequeue_send(struct ib_umad_file *file, in dequeue_send()
196 struct ib_umad_file *file = agent->context; in send_handler() local
215 struct ib_umad_file *file = agent->context; in recv_handler() local
260 static ssize_t copy_recv_mad(struct ib_umad_file *file, char __user *buf, in copy_recv_mad()
313 static ssize_t copy_send_mad(struct ib_umad_file *file, char __user *buf, in copy_send_mad()
335 struct ib_umad_file *file = filp->private_data; in ib_umad_read() local
412 static int is_duplicate(struct ib_umad_file *file, in is_duplicate()
448 struct ib_umad_file *file = filp->private_data; in ib_umad_write() local
608 struct ib_umad_file *file = filp->private_data; in ib_umad_poll() local
621 static int ib_umad_reg_agent(struct ib_umad_file *file, void __user *arg, in ib_umad_reg_agent()
724 static int ib_umad_reg_agent2(struct ib_umad_file *file, void __user *arg) in ib_umad_reg_agent2()
837 static int ib_umad_unreg_agent(struct ib_umad_file *file, u32 __user *arg) in ib_umad_unreg_agent()
868 static long ib_umad_enable_pkey(struct ib_umad_file *file) in ib_umad_enable_pkey()
930 struct ib_umad_file *file; in ib_umad_open() local
972 struct ib_umad_file *file = filp->private_data; in ib_umad_close() local
1243 struct ib_umad_file *file; in ib_umad_kill_port() local