Searched refs:new_cap (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.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 | 344 size_t new_cap; in btf_dump_add_emit_queue_id() local 347 new_cap = max(16, d->emit_queue_cap * 3 / 2); in btf_dump_add_emit_queue_id() 348 new_queue = libbpf_reallocarray(d->emit_queue, new_cap, sizeof(new_queue[0])); in btf_dump_add_emit_queue_id() 352 d->emit_queue_cap = new_cap; in btf_dump_add_emit_queue_id() 1023 size_t new_cap; in btf_dump_push_decl_stack_id() local 1026 new_cap = max(16, d->decl_stack_cap * 3 / 2); in btf_dump_push_decl_stack_id() 1027 new_stack = libbpf_reallocarray(d->decl_stack, new_cap, sizeof(new_stack[0])); in btf_dump_push_decl_stack_id() 1031 d->decl_stack_cap = new_cap; in btf_dump_push_decl_stack_id()
|
D | libbpf.c | 1299 size_t new_cap; in bpf_object__add_map() local 1305 new_cap = max((size_t)4, obj->maps_cap * 3 / 2); in bpf_object__add_map() 1306 new_maps = libbpf_reallocarray(obj->maps, new_cap, sizeof(*obj->maps)); in bpf_object__add_map() 1312 obj->maps_cap = new_cap; in bpf_object__add_map()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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() 3874 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export() local 3941 tcap = new_cap; in handle_cap_export() 3943 t_seq - 1, t_mseq, (u64)-1, flag, &new_cap); in handle_cap_export() 3972 new_cap = ceph_get_cap(mdsc, NULL); in handle_cap_export() 3988 if (new_cap) in handle_cap_export() 3989 ceph_put_cap(mdsc, new_cap); in handle_cap_export() 4004 struct ceph_cap *cap, *ocap, *new_cap = NULL; in handle_cap_import() local [all …]
|
D | inode.c | 756 struct ceph_cap *new_cap = NULL; in ceph_fill_inode() local 773 new_cap = ceph_get_cap(mdsc, caps_reservation); in ceph_fill_inode() 774 if (!new_cap) in ceph_fill_inode() 989 info->cap.flags, &new_cap); in ceph_fill_inode() 1051 if (new_cap) in ceph_fill_inode() 1052 ceph_put_cap(mdsc, new_cap); in ceph_fill_inode()
|
D | super.h | 1107 struct ceph_cap **new_cap);
|
/kernel/linux/linux-5.10/drivers/pci/ |
D | pci.c | 3283 struct pci_cap_saved_state *new_cap) in pci_add_saved_cap() argument 3285 hlist_add_head(&new_cap->next, &pci_dev->saved_cap_space); in pci_add_saved_cap()
|