Lines Matching refs:search_flow

1286 		struct necp_client_flow *search_flow = NULL;  in necp_defunct_flow_registration()  local
1287 LIST_FOREACH(search_flow, &flow_registration->flow_list, flow_chain) { in necp_defunct_flow_registration()
1288 if (search_flow->nexus && in necp_defunct_flow_registration()
1289 !uuid_is_null(search_flow->u.nexus_agent)) { in necp_defunct_flow_registration()
1295 uuid_copy(flow_defunct->nexus_agent, search_flow->u.nexus_agent); in necp_defunct_flow_registration()
1594 struct necp_client_flow *search_flow = NULL; in necp_destroy_client_flow_registration() local
1596 LIST_FOREACH_SAFE(search_flow, &flow_registration->flow_list, flow_chain, temp_flow) { in necp_destroy_client_flow_registration()
1597 if (search_flow->nexus && in necp_destroy_client_flow_registration()
1598 !uuid_is_null(search_flow->u.nexus_agent)) { in necp_destroy_client_flow_registration()
1608 int netagent_error = netagent_client_message_with_params(search_flow->u.nexus_agent, in necp_destroy_client_flow_registration()
1620 uuid_clear(search_flow->u.nexus_agent); in necp_destroy_client_flow_registration()
1622 if (search_flow->assigned_results != NULL) { in necp_destroy_client_flow_registration()
1623 kfree_data(search_flow->assigned_results, search_flow->assigned_results_length); in necp_destroy_client_flow_registration()
1624 search_flow->assigned_results = NULL; in necp_destroy_client_flow_registration()
1626 LIST_REMOVE(search_flow, flow_chain); in necp_destroy_client_flow_registration()
1628 if (search_flow->nexus) { in necp_destroy_client_flow_registration()
1632 if (search_flow->socket) { in necp_destroy_client_flow_registration()
1637 kfree_type(struct necp_client_flow, search_flow); in necp_destroy_client_flow_registration()
3673 struct necp_client_flow *search_flow = NULL; in necp_client_unregister_socket_flow() local
3675 LIST_FOREACH_SAFE(search_flow, &flow_registration->flow_list, flow_chain, temp_flow) { in necp_client_unregister_socket_flow()
3676 if (search_flow->socket && search_flow->u.socket_handle == handle) { in necp_client_unregister_socket_flow()
3677 if (search_flow->assigned_results != NULL) { in necp_client_unregister_socket_flow()
3678 kfree_data(search_flow->assigned_results, search_flow->assigned_results_length); in necp_client_unregister_socket_flow()
3679 search_flow->assigned_results = NULL; in necp_client_unregister_socket_flow()
3683 LIST_REMOVE(search_flow, flow_chain); in necp_client_unregister_socket_flow()
3685 kfree_type(struct necp_client_flow, search_flow); in necp_client_unregister_socket_flow()
3727 struct necp_client_flow *search_flow = NULL; in necp_client_unregister_multipath_cb() local
3729 LIST_FOREACH_SAFE(search_flow, &flow_registration->flow_list, flow_chain, temp_flow) { in necp_client_unregister_multipath_cb()
3730 if (!search_flow->socket && !search_flow->nexus && in necp_client_unregister_multipath_cb()
3731 search_flow->u.socket_handle == handle) { in necp_client_unregister_multipath_cb()
3732 search_flow->u.socket_handle = NULL; in necp_client_unregister_multipath_cb()
3733 search_flow->u.cb = NULL; in necp_client_unregister_multipath_cb()
4541 struct necp_client_flow *search_flow = NULL; in necp_update_client_result() local
4543 LIST_FOREACH(search_flow, &flow_registration->flow_list, flow_chain) { in necp_update_client_result()
4544 if (search_flow->assigned) { in necp_update_client_result()
4908 struct necp_client_flow *search_flow = NULL; in necp_defunct_client_fd_locked_inner() local
4910 LIST_FOREACH(search_flow, &flow_registration->flow_list, flow_chain) { in necp_defunct_client_fd_locked_inner()
4911 if (search_flow->nexus && in necp_defunct_client_fd_locked_inner()
4912 !uuid_is_null(search_flow->u.nexus_agent)) { in necp_defunct_client_fd_locked_inner()
4915 uuid_copy(flow_defunct->nexus_agent, search_flow->u.nexus_agent); in necp_defunct_client_fd_locked_inner()