Searched refs:new_cap (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.1/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 | 368 size_t new_cap; in btf_dump_add_emit_queue_id() local 371 new_cap = max(16, d->emit_queue_cap * 3 / 2); in btf_dump_add_emit_queue_id() 372 new_queue = libbpf_reallocarray(d->emit_queue, new_cap, sizeof(new_queue[0])); in btf_dump_add_emit_queue_id() 376 d->emit_queue_cap = new_cap; in btf_dump_add_emit_queue_id() 1097 size_t new_cap; in btf_dump_push_decl_stack_id() local 1100 new_cap = max(16, d->decl_stack_cap * 3 / 2); in btf_dump_push_decl_stack_id() 1101 new_stack = libbpf_reallocarray(d->decl_stack, new_cap, sizeof(new_stack[0])); in btf_dump_push_decl_stack_id() 1105 d->decl_stack_cap = new_cap; in btf_dump_push_decl_stack_id()
|
/Linux-v6.1/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-v6.1/kernel/ |
D | umh.c | 499 kernel_cap_t new_cap; in proc_cap_handler() local 537 new_cap.cap[i] = cap_array[i]; in proc_cap_handler() 545 usermodehelper_bset = cap_intersect(usermodehelper_bset, new_cap); in proc_cap_handler() 547 usermodehelper_inheritable = cap_intersect(usermodehelper_inheritable, new_cap); in proc_cap_handler()
|
/Linux-v6.1/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() 3859 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export() local 3927 tcap = new_cap; in handle_cap_export() 3929 t_seq - 1, t_mseq, (u64)-1, flag, &new_cap); in handle_cap_export() 3959 new_cap = ceph_get_cap(mdsc, NULL); in handle_cap_export() 3976 if (new_cap) in handle_cap_export() 3977 ceph_put_cap(mdsc, new_cap); in handle_cap_export() 3992 struct ceph_cap *cap, *ocap, *new_cap = NULL; in handle_cap_import() local [all …]
|
D | inode.c | 772 struct ceph_cap *new_cap = NULL; in ceph_fill_inode() local 810 new_cap = ceph_get_cap(mdsc, caps_reservation); in ceph_fill_inode() 811 if (!new_cap) in ceph_fill_inode() 1025 info->cap.flags, &new_cap); in ceph_fill_inode() 1089 if (new_cap) in ceph_fill_inode() 1090 ceph_put_cap(mdsc, new_cap); in ceph_fill_inode()
|
D | super.h | 1166 struct ceph_cap **new_cap);
|
/Linux-v6.1/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_plane.c | 134 uint64_t new_cap = *cap * 2; in add_modifier() local 135 uint64_t *new_mods = kmalloc(new_cap * sizeof(uint64_t), GFP_KERNEL); in add_modifier() 146 *cap = new_cap; in add_modifier()
|
/Linux-v6.1/rust/alloc/vec/ |
D | mod.rs | 2340 let (new_len, new_cap) = if mem::size_of::<T>() == 0 { in into_flattened() 2356 unsafe { Vec::<T, A>::from_raw_parts_in(ptr.cast(), new_len, new_cap, alloc) } in into_flattened()
|
/Linux-v6.1/drivers/pci/ |
D | pci.c | 3397 struct pci_cap_saved_state *new_cap) in pci_add_saved_cap() argument 3399 hlist_add_head(&new_cap->next, &pci_dev->saved_cap_space); in pci_add_saved_cap()
|