Searched refs:new_sz (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.10/net/core/ |
| 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()
|
| /Linux-v5.10/tools/perf/util/ |
| 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()
|
| /Linux-v5.10/fs/ubifs/ |
| D | dir.c | 1251 int unlink = !!new_inode, new_sz, old_sz; in do_rename() local 1297 new_sz = CALC_DENT_SIZE(fname_len(&new_nm)); in do_rename() 1392 new_dir->i_size += new_sz; in do_rename() 1452 new_dir->i_size -= new_sz; in do_rename()
|
| /Linux-v5.10/tools/lib/bpf/ |
| D | libbpf.c | 5249 __u32 new_sz; member 5273 res->orig_sz = res->new_sz = 0; in bpf_core_calc_relo() 5281 &res->new_val, &res->new_sz, in bpf_core_calc_relo() 5290 if (res->orig_sz != res->new_sz) { in bpf_core_calc_relo() 5486 if (res->new_sz != res->orig_sz) { in bpf_core_patch_insn() 5496 insn_bpf_sz = insn_bytes_to_bpf_size(res->new_sz); in bpf_core_patch_insn() 5499 prog->name, relo_idx, insn_idx, res->new_sz); in bpf_core_patch_insn() 5505 prog->name, relo_idx, insn_idx, res->orig_sz, res->new_sz); in bpf_core_patch_insn() 5994 size_t old_sz, new_sz; in adjust_prog_btf_ext_info() local 6025 new_sz = old_sz + (copy_end - copy_start); in adjust_prog_btf_ext_info() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_tc.c | 2935 size_t new_sz, old_sz; in alloc_mod_hdr_actions() local 2951 new_sz = action_size * new_num_actions; in alloc_mod_hdr_actions() 2953 ret = krealloc(mod_hdr_acts->actions, new_sz, GFP_KERNEL); in alloc_mod_hdr_actions() 2957 memset(ret + old_sz, 0, new_sz - old_sz); in alloc_mod_hdr_actions()
|