| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A 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()
|
| H A 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()
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A 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()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/container/ |
| H A D | vector.hpp | 475 const size_type new_cap = this->capacity() + at_least; in try_expand_fwd() local 476 size_type real_cap = new_cap; in try_expand_fwd() 478 bool const success = !!this->allocation_command(expand_fwd, new_cap, real_cap, reuse); in try_expand_fwd() 1497 BOOST_CONTAINER_FORCEINLINE void reserve(size_type new_cap) in reserve() argument 1499 if (this->capacity() < new_cap){ in reserve() 1500 this->priv_reserve_no_capacity(new_cap, alloc_version()); in reserve() 2142 bool stable_reserve(size_type new_cap) in stable_reserve() argument 2145 …return cp >= new_cap || (alloc_version::value == 2 && this->m_holder.try_expand_fwd(new_cap - cp)); in stable_reserve() 2242 size_type new_cap = new_size; in priv_merge() local 2244 p = this->m_holder.allocation_command(allocate_new, new_size, new_cap, p); in priv_merge() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/fs/ceph/ |
| H A 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 …]
|
| H A 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()
|
| H A D | super.h | 1108 struct ceph_cap **new_cap);
|
| /OK3568_Linux_fs/kernel/drivers/pci/ |
| H A D | pci.c | 3290 struct pci_cap_saved_state *new_cap) in pci_add_saved_cap() argument 3292 hlist_add_head(&new_cap->next, &pci_dev->saved_cap_space); in pci_add_saved_cap()
|