Home
last modified time | relevance | path

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

/Linux-v5.4/tools/lib/bpf/
Dhashmap.c92 size_t new_cap_bits, new_cap; in hashmap_grow() local
100 new_cap = 1UL << new_cap_bits; in hashmap_grow()
101 new_buckets = calloc(new_cap, sizeof(new_buckets[0])); in hashmap_grow()
110 map->cap = new_cap; in hashmap_grow()
Dbtf_dump.c313 size_t new_cap; in btf_dump_add_emit_queue_id() local
316 new_cap = max(16, d->emit_queue_cap * 3 / 2); in btf_dump_add_emit_queue_id()
318 new_cap * sizeof(new_queue[0])); in btf_dump_add_emit_queue_id()
322 d->emit_queue_cap = new_cap; in btf_dump_add_emit_queue_id()
979 size_t new_cap; in btf_dump_push_decl_stack_id() local
982 new_cap = max(16, d->decl_stack_cap * 3 / 2); in btf_dump_push_decl_stack_id()
984 new_cap * sizeof(new_stack[0])); in btf_dump_push_decl_stack_id()
988 d->decl_stack_cap = new_cap; in btf_dump_push_decl_stack_id()
Dlibbpf.c781 size_t new_cap; in bpf_object__add_map() local
787 new_cap = max((size_t)4, obj->maps_cap * 3 / 2); in bpf_object__add_map()
788 new_maps = realloc(obj->maps, new_cap * sizeof(*obj->maps)); in bpf_object__add_map()
794 obj->maps_cap = new_cap; in bpf_object__add_map()
/Linux-v5.4/kernel/
Dumh.c637 kernel_cap_t new_cap; in proc_cap_handler() local
675 new_cap.cap[i] = cap_array[i]; in proc_cap_handler()
683 usermodehelper_bset = cap_intersect(usermodehelper_bset, new_cap); in proc_cap_handler()
685 usermodehelper_inheritable = cap_intersect(usermodehelper_inheritable, new_cap); in proc_cap_handler()
/Linux-v5.4/fs/ceph/
Dcaps.c610 struct ceph_cap **new_cap) in ceph_add_cap() argument
637 cap = *new_cap; in ceph_add_cap()
638 *new_cap = NULL; in ceph_add_cap()
3581 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export() local
3656 tcap = new_cap; in handle_cap_export()
3658 t_seq - 1, t_mseq, (u64)-1, flag, &new_cap); in handle_cap_export()
3687 new_cap = ceph_get_cap(mdsc, NULL); in handle_cap_export()
3702 if (new_cap) in handle_cap_export()
3703 ceph_put_cap(mdsc, new_cap); in handle_cap_export()
3719 struct ceph_cap *cap, *ocap, *new_cap = NULL; in handle_cap_import() local
[all …]
Dinode.c743 struct ceph_cap *new_cap = NULL; in fill_inode() local
758 new_cap = ceph_get_cap(mdsc, caps_reservation); in fill_inode()
970 info->cap.flags, &new_cap); in fill_inode()
1031 if (new_cap) in fill_inode()
1032 ceph_put_cap(mdsc, new_cap); in fill_inode()
Dsuper.h1042 struct ceph_cap **new_cap);
/Linux-v5.4/drivers/pci/
Dpci.c3048 struct pci_cap_saved_state *new_cap) in pci_add_saved_cap() argument
3050 hlist_add_head(&new_cap->next, &pci_dev->saved_cap_space); in pci_add_saved_cap()