Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/bpf/
H A Dbpf.c116 static mod_hash_t *bpf_hash = NULL; variable
400 bpf_hash = mod_hash_create_idhash("bpf_dev_tab", 31, in bpfilterattach()
402 if (bpf_hash == NULL) in bpfilterattach()
414 mod_hash_destroy_idhash(bpf_hash); in bpfilterattach()
415 bpf_hash = NULL; in bpfilterattach()
440 mod_hash_destroy_idhash(bpf_hash); in bpfilterdetach()
441 bpf_hash = NULL; in bpfilterdetach()
1855 (void) mod_hash_find(bpf_hash, (mod_hash_key_t)(uintptr_t)minor, in bpf_dev_find()
1864 (void) mod_hash_insert(bpf_hash, (mod_hash_key_t)(uintptr_t)d->bd_dev, in bpf_dev_add()
1873 (void) mod_hash_remove(bpf_hash, (mod_hash_key_t)(uintptr_t)d->bd_dev, in bpf_dev_remove()
[all …]