Home
last modified time | relevance | path

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

/xnu-11215.1.10/bsd/kern/ !
H A Dsocket_flows.c396 struct soflow_hash_entry *hash_entry = NULL; in soflow_db_init() local
407 db->soflow_db_debug = SOFLOW_ENABLE_DEBUG(so, hash_entry); in soflow_db_init()
415 soflow_entry_free(struct soflow_hash_entry *hash_entry) in soflow_entry_free() argument
417 …struct socket *so = (hash_entry && hash_entry->soflow_db) ? hash_entry->soflow_db->soflow_db_so : … in soflow_entry_free()
419 if (hash_entry == NULL) { in soflow_entry_free()
423 SOFLOW_ENTRY_LOG(LOG_INFO, so, hash_entry, hash_entry->soflow_debug, "Free entry"); in soflow_entry_free()
424 kfree_type(struct soflow_hash_entry, hash_entry); in soflow_entry_free()
428 soflow_db_remove_entry(struct soflow_db *db, struct soflow_hash_entry *hash_entry) in soflow_db_remove_entry() argument
430 if (hash_entry == NULL) { in soflow_db_remove_entry()
438 if (hash_entry->soflow_nstat_context != NULL) { in soflow_db_remove_entry()
[all …]
H A Dsocket_flows.h111 typedef bool (*soflow_feat_gc_needed_func)(struct socket *so, struct soflow_hash_entry *hash_entry,…
114 typedef bool (*soflow_feat_gc_perform_func)(struct socket *so, struct soflow_hash_entry *hash_entry
117 …def bool (*soflow_feat_detach_entry_func)(struct socket *so, struct soflow_hash_entry *hash_entry);
126 struct soflow_hash_entry *hash_entry,
/xnu-11215.1.10/bsd/net/ !
H A Dcontent_filter.c2624 cfil_info_alloc(struct socket *so, struct soflow_hash_entry *hash_entry) in cfil_info_alloc() argument
2674 if (hash_entry == NULL) { in cfil_info_alloc()
2688 cfil_info->cfi_hash_entry = hash_entry; in cfil_info_alloc()
2689 cfil_info->cfi_sock_id = ((so->so_gencnt << 32) | (hash_entry->soflow_flowhash & 0xffffffff)); in cfil_info_alloc()
3290 struct soflow_hash_entry hash_entry = {}; in cfil_dispatch_closed_event_sign() local
3329 …soflow_fill_hash_entry_from_address(&hash_entry, TRUE, SA(&cfil_info->cfi_so_attach_laddr), FALSE); in cfil_dispatch_closed_event_sign()
3330 …soflow_fill_hash_entry_from_address(&hash_entry, FALSE, SA(&cfil_info->cfi_so_attach_faddr), FALSE… in cfil_dispatch_closed_event_sign()
3331 hash_entry_ptr = &hash_entry; in cfil_dispatch_closed_event_sign()
3404 struct soflow_hash_entry hash_entry; in cfil_dispatch_attach_event() local
3406 memset(&hash_entry, 0, sizeof(struct soflow_hash_entry)); in cfil_dispatch_attach_event()
[all …]