Home
last modified time | relevance | path

Searched refs:old_sz (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmod_hdr.c163 size_t new_sz, old_sz; in mlx5e_mod_hdr_alloc() local
177 old_sz = mod_hdr_acts->max_actions * MLX5_MH_ACT_SZ; in mlx5e_mod_hdr_alloc()
182 memcpy(ret, mod_hdr_acts->actions, old_sz); in mlx5e_mod_hdr_alloc()
188 memset(ret + old_sz, 0, new_sz - old_sz); in mlx5e_mod_hdr_alloc()
/linux-6.1.9/fs/ubifs/
Ddir.c1300 int unlink = !!new_inode, new_sz, old_sz; in do_rename() local
1349 old_sz = CALC_DENT_SIZE(fname_len(&old_nm)); in do_rename()
1411 old_sz -= CALC_DENT_SIZE(fname_len(&old_nm)); in do_rename()
1448 old_dir->i_size -= old_sz; in do_rename()
1529 old_dir->i_size += old_sz; in do_rename()
/linux-6.1.9/tools/perf/util/
Dthread-stack.c179 unsigned int old_sz = ts ? ts->arr_sz : 0; in thread_stack__new() local
185 if (!ts || new_sz > old_sz) { in thread_stack__new()
190 memcpy(new_ts, ts, old_sz * sizeof(*ts)); in thread_stack__new()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.c5908 size_t old_sz, new_sz; in adjust_prog_btf_ext_info() local
5937 old_sz = (size_t)(*prog_rec_cnt) * ext_info->rec_size; in adjust_prog_btf_ext_info()
5938 new_sz = old_sz + (copy_end - copy_start); in adjust_prog_btf_ext_info()
5944 memcpy(new_prog_info + old_sz, copy_start, copy_end - copy_start); in adjust_prog_btf_ext_info()
5953 rec = new_prog_info + old_sz; in adjust_prog_btf_ext_info()