Home
last modified time | relevance | path

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

/Linux-v6.6/tools/lib/bpf/
Dhashmap.c105 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()
Dbtf_dump.c380 size_t new_cap; in btf_dump_add_emit_queue_id() local
383 new_cap = max(16, d->emit_queue_cap * 3 / 2); in btf_dump_add_emit_queue_id()
384 new_queue = libbpf_reallocarray(d->emit_queue, new_cap, sizeof(new_queue[0])); in btf_dump_add_emit_queue_id()
388 d->emit_queue_cap = new_cap; in btf_dump_add_emit_queue_id()
1209 size_t new_cap; in btf_dump_push_decl_stack_id() local
1212 new_cap = max(16, d->decl_stack_cap * 3 / 2); in btf_dump_push_decl_stack_id()
1213 new_stack = libbpf_reallocarray(d->decl_stack, new_cap, sizeof(new_stack[0])); in btf_dump_push_decl_stack_id()
1217 d->decl_stack_cap = new_cap; in btf_dump_push_decl_stack_id()
/Linux-v6.6/tools/perf/util/
Dhashmap.c105 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.6/kernel/
Dumh.c503 kernel_cap_t new_cap, *cap; in proc_cap_handler() local
533 new_cap.val = (u32)cap_array[0]; in proc_cap_handler()
534 new_cap.val += (u64)cap_array[1] << 32; in proc_cap_handler()
541 *cap = cap_intersect(*cap, new_cap); in proc_cap_handler()
/Linux-v6.6/fs/ceph/
Dcaps.c636 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()
3974 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export() local
4042 tcap = new_cap; in handle_cap_export()
4044 t_seq - 1, t_mseq, (u64)-1, flag, &new_cap); in handle_cap_export()
4074 new_cap = ceph_get_cap(mdsc, NULL); in handle_cap_export()
4091 if (new_cap) in handle_cap_export()
4092 ceph_put_cap(mdsc, new_cap); in handle_cap_export()
4107 struct ceph_cap *cap, *ocap, *new_cap = NULL; in handle_cap_import() local
[all …]
Dinode.c928 struct ceph_cap *new_cap = NULL; in ceph_fill_inode() local
966 new_cap = ceph_get_cap(mdsc, caps_reservation); in ceph_fill_inode()
967 if (!new_cap) in ceph_fill_inode()
1234 info->cap.flags, &new_cap); in ceph_fill_inode()
1298 if (new_cap) in ceph_fill_inode()
1299 ceph_put_cap(mdsc, new_cap); in ceph_fill_inode()
Dsuper.h1224 struct ceph_cap **new_cap);
/Linux-v6.6/arch/arm64/kvm/
Darm.c76 u64 new_cap; in kvm_vm_ioctl_enable_cap() local
102 new_cap = cap->args[0]; in kvm_vm_ioctl_enable_cap()
111 } else if (new_cap && !kvm_is_block_size_supported(new_cap)) { in kvm_vm_ioctl_enable_cap()
115 kvm->arch.mmu.split_page_chunk_size = new_cap; in kvm_vm_ioctl_enable_cap()
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c148 uint64_t new_cap = *cap * 2; in add_modifier() local
149 uint64_t *new_mods = kmalloc(new_cap * sizeof(uint64_t), GFP_KERNEL); in add_modifier()
160 *cap = new_cap; in add_modifier()
/Linux-v6.6/rust/alloc/vec/
Dmod.rs2667 let (new_len, new_cap) = if T::IS_ZST { in into_flattened()
2683 unsafe { Vec::<T, A>::from_raw_parts_in(ptr.cast(), new_len, new_cap, alloc) } in into_flattened()
/Linux-v6.6/drivers/pci/
Dpci.c3439 struct pci_cap_saved_state *new_cap) in pci_add_saved_cap() argument
3441 hlist_add_head(&new_cap->next, &pci_dev->saved_cap_space); in pci_add_saved_cap()