Lines Matching refs:port
348 struct garp_port *port = dev->garp_port; in garp_request_join() local
349 struct garp_applicant *app = port->applicants[appl->type]; in garp_request_join()
368 struct garp_port *port = dev->garp_port; in garp_request_leave() local
369 struct garp_applicant *app = port->applicants[appl->type]; in garp_request_leave()
505 struct garp_port *port; in garp_pdu_rcv() local
509 port = rcu_dereference(dev->garp_port); in garp_pdu_rcv()
510 if (!port) in garp_pdu_rcv()
512 app = rcu_dereference(port->applicants[appl->type]); in garp_pdu_rcv()
537 struct garp_port *port; in garp_init_port() local
539 port = kzalloc(sizeof(*port), GFP_KERNEL); in garp_init_port()
540 if (!port) in garp_init_port()
542 rcu_assign_pointer(dev->garp_port, port); in garp_init_port()
548 struct garp_port *port = dev->garp_port; in garp_release_port() local
552 if (port->applicants[i]) in garp_release_port()
557 kfree(port); in garp_release_port()
603 struct garp_port *port = dev->garp_port; in garp_uninit_applicant() local
604 struct garp_applicant *app = port->applicants[appl->type]; in garp_uninit_applicant()
608 rcu_assign_pointer(port->applicants[appl->type], NULL); in garp_uninit_applicant()