Searched refs:new_sz (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | netprio_cgroup.c | 44 size_t new_sz, new_len; in extend_netdev_table() local 56 new_sz = PRIOMAP_MIN_SZ; in extend_netdev_table() 58 new_len = (new_sz - offsetof(struct netprio_map, priomap)) / in extend_netdev_table() 62 new_sz *= 2; in extend_netdev_table() 64 if (WARN_ON(new_sz < PRIOMAP_MIN_SZ)) in extend_netdev_table() 69 new = kzalloc(new_sz, GFP_KERNEL); in extend_netdev_table()
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | mips-relocs.c | 113 size_t new_sz; in add_reloc() local 131 new_sz = relocs_sz ? relocs_sz * 2 : 128; in add_reloc() 132 new = realloc(relocs, new_sz * sizeof(*relocs)); in add_reloc() 139 relocs_sz = new_sz; in add_reloc()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | thread-stack.c | 121 size_t sz, new_sz; in thread_stack__grow() local 123 new_sz = ts->sz + STACK_GROWTH; in thread_stack__grow() 124 sz = new_sz * sizeof(struct thread_stack_entry); in thread_stack__grow() 131 ts->sz = new_sz; in thread_stack__grow() 180 unsigned int new_sz = 1; in thread_stack__new() local 183 new_sz = roundup_pow_of_two(cpu + 1); in thread_stack__new() 185 if (!ts || new_sz > old_sz) { in thread_stack__new() 186 new_ts = calloc(new_sz, sizeof(*ts)); in thread_stack__new() 191 new_ts->arr_sz = new_sz; in thread_stack__new()
|
| /OK3568_Linux_fs/kernel/fs/ubifs/ |
| H A D | dir.c | 1267 int unlink = !!new_inode, new_sz, old_sz; in do_rename() local 1313 new_sz = CALC_DENT_SIZE(fname_len(&new_nm)); in do_rename() 1429 new_dir->i_size += new_sz; in do_rename() 1481 new_dir->i_size -= new_sz; in do_rename()
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | libbpf.c | 5308 __u32 new_sz; member 5332 res->orig_sz = res->new_sz = 0; in bpf_core_calc_relo() 5340 &res->new_val, &res->new_sz, in bpf_core_calc_relo() 5349 if (res->orig_sz != res->new_sz) { in bpf_core_calc_relo() 5545 if (res->new_sz != res->orig_sz) { in bpf_core_patch_insn() 5555 insn_bpf_sz = insn_bytes_to_bpf_size(res->new_sz); in bpf_core_patch_insn() 5558 prog->name, relo_idx, insn_idx, res->new_sz); in bpf_core_patch_insn() 5564 prog->name, relo_idx, insn_idx, res->orig_sz, res->new_sz); in bpf_core_patch_insn() 6061 size_t old_sz, new_sz; in adjust_prog_btf_ext_info() local 6092 new_sz = old_sz + (copy_end - copy_start); in adjust_prog_btf_ext_info() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_tc.c | 3005 size_t new_sz, old_sz; in alloc_mod_hdr_actions() local 3021 new_sz = action_size * new_num_actions; in alloc_mod_hdr_actions() 3023 ret = krealloc(mod_hdr_acts->actions, new_sz, GFP_KERNEL); in alloc_mod_hdr_actions() 3027 memset(ret + old_sz, 0, new_sz - old_sz); in alloc_mod_hdr_actions()
|