Searched refs:new_cap (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/tools/lib/bpf/ |
D | hashmap.c | 105 size_t new_cap_bits, new_cap; in hashmap_grow() local 112 new_cap = 1UL << new_cap_bits; in hashmap_grow() 113 new_buckets = calloc(new_cap, sizeof(new_buckets[0])); in hashmap_grow() 122 map->cap = new_cap; in hashmap_grow()
|
D | btf_dump.c | 333 size_t new_cap; in btf_dump_add_emit_queue_id() local 336 new_cap = max(16, d->emit_queue_cap * 3 / 2); in btf_dump_add_emit_queue_id() 337 new_queue = libbpf_reallocarray(d->emit_queue, new_cap, sizeof(new_queue[0])); in btf_dump_add_emit_queue_id() 341 d->emit_queue_cap = new_cap; in btf_dump_add_emit_queue_id() 1012 size_t new_cap; in btf_dump_push_decl_stack_id() local 1015 new_cap = max(16, d->decl_stack_cap * 3 / 2); in btf_dump_push_decl_stack_id() 1016 new_stack = libbpf_reallocarray(d->decl_stack, new_cap, sizeof(new_stack[0])); in btf_dump_push_decl_stack_id() 1020 d->decl_stack_cap = new_cap; in btf_dump_push_decl_stack_id()
|
D | libbpf.c | 1298 size_t new_cap; in bpf_object__add_map() local 1304 new_cap = max((size_t)4, obj->maps_cap * 3 / 2); in bpf_object__add_map() 1305 new_maps = libbpf_reallocarray(obj->maps, new_cap, sizeof(*obj->maps)); in bpf_object__add_map() 1311 obj->maps_cap = new_cap; in bpf_object__add_map()
|
/Linux-v5.10/tools/perf/util/ |
D | hashmap.c | 105 size_t new_cap_bits, new_cap; in hashmap_grow() local 112 new_cap = 1UL << new_cap_bits; in hashmap_grow() 113 new_buckets = calloc(new_cap, sizeof(new_buckets[0])); in hashmap_grow() 122 map->cap = new_cap; in hashmap_grow()
|
/Linux-v5.10/kernel/ |
D | umh.c | 491 kernel_cap_t new_cap; in proc_cap_handler() local 529 new_cap.cap[i] = cap_array[i]; in proc_cap_handler() 537 usermodehelper_bset = cap_intersect(usermodehelper_bset, new_cap); in proc_cap_handler() 539 usermodehelper_inheritable = cap_intersect(usermodehelper_inheritable, new_cap); in proc_cap_handler()
|
/Linux-v5.10/fs/ceph/ |
D | caps.c | 634 struct ceph_cap **new_cap) in ceph_add_cap() argument 654 cap = *new_cap; in ceph_add_cap() 655 *new_cap = NULL; in ceph_add_cap() 3752 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export() local 3819 tcap = new_cap; in handle_cap_export() 3821 t_seq - 1, t_mseq, (u64)-1, flag, &new_cap); in handle_cap_export() 3850 new_cap = ceph_get_cap(mdsc, NULL); in handle_cap_export() 3866 if (new_cap) in handle_cap_export() 3867 ceph_put_cap(mdsc, new_cap); in handle_cap_export() 3882 struct ceph_cap *cap, *ocap, *new_cap = NULL; in handle_cap_import() local [all …]
|
D | inode.c | 754 struct ceph_cap *new_cap = NULL; in ceph_fill_inode() local 769 new_cap = ceph_get_cap(mdsc, caps_reservation); in ceph_fill_inode() 770 if (!new_cap) in ceph_fill_inode() 985 info->cap.flags, &new_cap); in ceph_fill_inode() 1047 if (new_cap) in ceph_fill_inode() 1048 ceph_put_cap(mdsc, new_cap); in ceph_fill_inode()
|
D | super.h | 1086 struct ceph_cap **new_cap);
|
/Linux-v5.10/drivers/pci/ |
D | pci.c | 3264 struct pci_cap_saved_state *new_cap) in pci_add_saved_cap() argument 3266 hlist_add_head(&new_cap->next, &pci_dev->saved_cap_space); in pci_add_saved_cap()
|