Searched refs:hash_entry (Results 1 – 3 of 3) sorted by relevance
| /xnu-11417.140.69/bsd/kern/ |
| H A D | socket_flows.c | 407 struct soflow_hash_entry *hash_entry = NULL; in soflow_db_init() local 418 db->soflow_db_debug = SOFLOW_ENABLE_DEBUG(so, hash_entry); in soflow_db_init() 426 soflow_entry_free(struct soflow_hash_entry *hash_entry) in soflow_entry_free() argument 428 …struct socket *so = (hash_entry && hash_entry->soflow_db) ? hash_entry->soflow_db->soflow_db_so : … in soflow_entry_free() 430 if (hash_entry == NULL) { in soflow_entry_free() 434 SOFLOW_ENTRY_LOG(LOG_INFO, so, hash_entry, hash_entry->soflow_debug, "Free entry"); in soflow_entry_free() 435 kfree_type(struct soflow_hash_entry, hash_entry); in soflow_entry_free() 439 soflow_db_remove_entry(struct soflow_db *db, struct soflow_hash_entry *hash_entry) in soflow_db_remove_entry() argument 441 if (hash_entry == NULL) { in soflow_db_remove_entry() 449 if (hash_entry->soflow_nstat_context != NULL) { in soflow_db_remove_entry() [all …]
|
| H A D | socket_flows.h | 114 typedef bool (*soflow_feat_gc_needed_func)(struct socket *so, struct soflow_hash_entry *hash_entry,… 117 typedef bool (*soflow_feat_gc_perform_func)(struct socket *so, struct soflow_hash_entry *hash_entry… 120 …def bool (*soflow_feat_detach_entry_func)(struct socket *so, struct soflow_hash_entry *hash_entry); 129 struct soflow_hash_entry *hash_entry,
|
| /xnu-11417.140.69/bsd/net/ |
| H A D | content_filter.c | 2627 cfil_info_alloc(struct socket *so, struct soflow_hash_entry *hash_entry) in cfil_info_alloc() argument 2679 if (hash_entry == NULL) { in cfil_info_alloc() 2693 cfil_info->cfi_hash_entry = hash_entry; in cfil_info_alloc() 2694 cfil_info->cfi_sock_id = ((so->so_gencnt << 32) | (hash_entry->soflow_flowhash & 0xffffffff)); in cfil_info_alloc() 3301 struct soflow_hash_entry hash_entry = {}; in cfil_dispatch_closed_event_sign() local 3339 …soflow_fill_hash_entry_from_address(&hash_entry, TRUE, SA(&cfil_info->cfi_so_attach_laddr), FALSE); in cfil_dispatch_closed_event_sign() 3340 …soflow_fill_hash_entry_from_address(&hash_entry, FALSE, SA(&cfil_info->cfi_so_attach_faddr), FALSE… in cfil_dispatch_closed_event_sign() 3341 hash_entry_ptr = &hash_entry; in cfil_dispatch_closed_event_sign() 3414 struct soflow_hash_entry hash_entry; in cfil_dispatch_attach_event() local 3416 memset(&hash_entry, 0, sizeof(struct soflow_hash_entry)); in cfil_dispatch_attach_event() [all …]
|