Searched refs:hash_entry (Results 1 – 3 of 3) sorted by relevance
| /xnu-10002.41.9/bsd/kern/ |
| H A D | socket_flows.c | 399 struct soflow_hash_entry *hash_entry = NULL; in soflow_db_init() local 409 db->soflow_db_debug = SOFLOW_ENABLE_DEBUG(so, hash_entry); in soflow_db_init() 417 soflow_entry_free(struct soflow_hash_entry *hash_entry) in soflow_entry_free() argument 419 …struct socket *so = (hash_entry && hash_entry->soflow_db) ? hash_entry->soflow_db->soflow_db_so : … in soflow_entry_free() 421 if (hash_entry == NULL) { in soflow_entry_free() 425 SOFLOW_ENTRY_LOG(LOG_INFO, so, hash_entry, hash_entry->soflow_debug, "Free entry"); in soflow_entry_free() 426 kfree_type(struct soflow_hash_entry, hash_entry); in soflow_entry_free() 430 soflow_db_remove_entry(struct soflow_db *db, struct soflow_hash_entry *hash_entry) in soflow_db_remove_entry() argument 432 if (hash_entry == NULL) { in soflow_db_remove_entry() 440 if (hash_entry->soflow_nstat_context != NULL) { in soflow_db_remove_entry() [all …]
|
| H A D | socket_flows.h | 108 typedef bool (*soflow_feat_gc_needed_func)(struct socket *so, struct soflow_hash_entry *hash_entry,… 111 typedef bool (*soflow_feat_gc_perform_func)(struct socket *so, struct soflow_hash_entry *hash_entry… 114 …def bool (*soflow_feat_detach_entry_func)(struct socket *so, struct soflow_hash_entry *hash_entry); 123 struct soflow_hash_entry *hash_entry,
|
| /xnu-10002.41.9/bsd/net/ |
| H A D | content_filter.c | 2616 cfil_info_alloc(struct socket *so, struct soflow_hash_entry *hash_entry) in cfil_info_alloc() argument 2666 if (hash_entry == NULL) { in cfil_info_alloc() 2680 cfil_info->cfi_hash_entry = hash_entry; in cfil_info_alloc() 2681 cfil_info->cfi_sock_id = ((so->so_gencnt << 32) | (hash_entry->soflow_flowhash & 0xffffffff)); in cfil_info_alloc() 3270 struct soflow_hash_entry hash_entry = {}; in cfil_dispatch_closed_event_sign() local 3302 …soflow_fill_hash_entry_from_address(&hash_entry, TRUE, SA(&cfil_info->cfi_so_attach_laddr.sa), FAL… in cfil_dispatch_closed_event_sign() 3303 …soflow_fill_hash_entry_from_address(&hash_entry, FALSE, SA(&cfil_info->cfi_so_attach_faddr.sa), FA… in cfil_dispatch_closed_event_sign() 3304 hash_entry_ptr = &hash_entry; in cfil_dispatch_closed_event_sign() 3377 struct soflow_hash_entry hash_entry; in cfil_dispatch_attach_event() local 3379 memset(&hash_entry, 0, sizeof(struct soflow_hash_entry)); in cfil_dispatch_attach_event() [all …]
|