Home
last modified time | relevance | path

Searched refs:hash_entry (Results 1 – 3 of 3) sorted by relevance

/xnu-8019.80.24/bsd/kern/
H A Dsocket_flows.c395 struct soflow_hash_entry *hash_entry = NULL; in soflow_db_init() local
405 db->soflow_db_debug = SOFLOW_ENABLE_DEBUG(so, hash_entry); in soflow_db_init()
413 soflow_entry_free(struct soflow_hash_entry *hash_entry) in soflow_entry_free() argument
415 …struct socket *so = (hash_entry && hash_entry->soflow_db) ? hash_entry->soflow_db->soflow_db_so : … in soflow_entry_free()
417 if (hash_entry == NULL) { in soflow_entry_free()
421 SOFLOW_ENTRY_LOG(LOG_INFO, so, hash_entry, hash_entry->soflow_debug, "Free entry"); in soflow_entry_free()
422 kfree_type(struct soflow_hash_entry, hash_entry); in soflow_entry_free()
426 soflow_db_remove_entry(struct soflow_db *db, struct soflow_hash_entry *hash_entry) in soflow_db_remove_entry() argument
428 if (hash_entry == NULL) { in soflow_db_remove_entry()
436 if (hash_entry->soflow_nstat_context != NULL) { in soflow_db_remove_entry()
[all …]
H A Dsocket_flows.h102 typedef bool (*soflow_feat_gc_needed_func)(struct socket *so, struct soflow_hash_entry *hash_entry,…
105 typedef bool (*soflow_feat_gc_perform_func)(struct socket *so, struct soflow_hash_entry *hash_entry
108 …def bool (*soflow_feat_detach_entry_func)(struct socket *so, struct soflow_hash_entry *hash_entry);
117 struct soflow_hash_entry *hash_entry,
/xnu-8019.80.24/bsd/net/
H A Dcontent_filter.c2576 cfil_info_alloc(struct socket *so, struct soflow_hash_entry *hash_entry) in cfil_info_alloc() argument
2626 if (hash_entry == NULL) { in cfil_info_alloc()
2639 cfil_info->cfi_hash_entry = hash_entry; in cfil_info_alloc()
2640 cfil_info->cfi_sock_id = ((so->so_gencnt << 32) | (hash_entry->soflow_flowhash & 0xffffffff)); in cfil_info_alloc()
3115 struct soflow_hash_entry hash_entry = {}; in cfil_dispatch_closed_event_sign() local
3147 soflow_fill_hash_entry_from_address(&hash_entry, TRUE, &cfil_info->cfi_so_attach_laddr.sa, FALSE); in cfil_dispatch_closed_event_sign()
3148 …soflow_fill_hash_entry_from_address(&hash_entry, FALSE, &cfil_info->cfi_so_attach_faddr.sa, FALSE); in cfil_dispatch_closed_event_sign()
3149 hash_entry_ptr = &hash_entry; in cfil_dispatch_closed_event_sign()
3182 struct soflow_hash_entry hash_entry; in cfil_dispatch_attach_event() local
3184 memset(&hash_entry, 0, sizeof(struct soflow_hash_entry)); in cfil_dispatch_attach_event()
[all …]