Searched refs:new_cap (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.15/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 | 361 size_t new_cap; in btf_dump_add_emit_queue_id() local 364 new_cap = max(16, d->emit_queue_cap * 3 / 2); in btf_dump_add_emit_queue_id() 365 new_queue = libbpf_reallocarray(d->emit_queue, new_cap, sizeof(new_queue[0])); in btf_dump_add_emit_queue_id() 369 d->emit_queue_cap = new_cap; in btf_dump_add_emit_queue_id() 1042 size_t new_cap; in btf_dump_push_decl_stack_id() local 1045 new_cap = max(16, d->decl_stack_cap * 3 / 2); in btf_dump_push_decl_stack_id() 1046 new_stack = libbpf_reallocarray(d->decl_stack, new_cap, sizeof(new_stack[0])); in btf_dump_push_decl_stack_id() 1050 d->decl_stack_cap = new_cap; in btf_dump_push_decl_stack_id()
|
D | libbpf.c | 1363 size_t new_cap; in bpf_object__add_map() local 1369 new_cap = max((size_t)4, obj->maps_cap * 3 / 2); in bpf_object__add_map() 1370 new_maps = libbpf_reallocarray(obj->maps, new_cap, sizeof(*obj->maps)); in bpf_object__add_map() 1376 obj->maps_cap = new_cap; in bpf_object__add_map()
|
/Linux-v5.15/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.15/kernel/ |
D | umh.c | 493 kernel_cap_t new_cap; in proc_cap_handler() local 531 new_cap.cap[i] = cap_array[i]; in proc_cap_handler() 539 usermodehelper_bset = cap_intersect(usermodehelper_bset, new_cap); in proc_cap_handler() 541 usermodehelper_inheritable = cap_intersect(usermodehelper_inheritable, new_cap); in proc_cap_handler()
|
/Linux-v5.15/fs/ceph/ |
D | caps.c | 634 struct ceph_cap **new_cap) in ceph_add_cap() argument 652 cap = *new_cap; in ceph_add_cap() 653 *new_cap = NULL; in ceph_add_cap() 3818 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export() local 3885 tcap = new_cap; in handle_cap_export() 3887 t_seq - 1, t_mseq, (u64)-1, flag, &new_cap); in handle_cap_export() 3916 new_cap = ceph_get_cap(mdsc, NULL); in handle_cap_export() 3932 if (new_cap) in handle_cap_export() 3933 ceph_put_cap(mdsc, new_cap); in handle_cap_export() 3948 struct ceph_cap *cap, *ocap, *new_cap = NULL; in handle_cap_import() local [all …]
|
D | inode.c | 762 struct ceph_cap *new_cap = NULL; in ceph_fill_inode() local 800 new_cap = ceph_get_cap(mdsc, caps_reservation); in ceph_fill_inode() 801 if (!new_cap) in ceph_fill_inode() 1015 info->cap.flags, &new_cap); in ceph_fill_inode() 1077 if (new_cap) in ceph_fill_inode() 1078 ceph_put_cap(mdsc, new_cap); in ceph_fill_inode()
|
D | super.h | 1136 struct ceph_cap **new_cap);
|
/Linux-v5.15/drivers/pci/ |
D | pci.c | 3330 struct pci_cap_saved_state *new_cap) in pci_add_saved_cap() argument 3332 hlist_add_head(&new_cap->next, &pci_dev->saved_cap_space); in pci_add_saved_cap()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 4479 uint64_t new_cap = *cap * 2; in add_modifier() local 4480 uint64_t *new_mods = kmalloc(new_cap * sizeof(uint64_t), GFP_KERNEL); in add_modifier() 4491 *cap = new_cap; in add_modifier()
|