/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | bpf_prog_linfo.c | 18 __u32 rec_size; member 125 prog_linfo->rec_size = info->line_info_rec_size; in bpf_prog_linfo__new() 126 data_sz = (__u64)nr_linfo * prog_linfo->rec_size; in bpf_prog_linfo__new() 184 __u32 jited_rec_size, rec_size, nr_linfo, start, i; in bpf_prog_linfo__lfind_addr_func() local 204 rec_size = prog_linfo->rec_size; in bpf_prog_linfo__lfind_addr_func() 205 raw_linfo = prog_linfo->raw_linfo + (start * rec_size); in bpf_prog_linfo__lfind_addr_func() 210 raw_linfo += rec_size; in bpf_prog_linfo__lfind_addr_func() 215 return raw_linfo - rec_size; in bpf_prog_linfo__lfind_addr_func() 223 __u32 rec_size, nr_linfo, i; in bpf_prog_linfo__lfind() local 230 rec_size = prog_linfo->rec_size; in bpf_prog_linfo__lfind() [all …]
|
D | libbpf_internal.h | 165 __u32 rec_size; member 173 (seg)->rec_size * sec->num_info) 178 i++, rec = (void *)rec + (seg)->rec_size)
|
D | btf.c | 2416 ext_info->rec_size = record_size; in btf_ext_setup_info() 2570 record_size = ext_info->rec_size; in btf_ext_reloc_info() 2626 return btf_ext->func_info.rec_size; in btf_ext__func_info_rec_size() 2631 return btf_ext->line_info.rec_size; in btf_ext__line_info_rec_size() 3016 int i, j, r, rec_size; in btf_for_each_str_off() local 3073 rec_size = d->btf_ext->line_info.rec_size; in btf_for_each_str_off() 3093 line_data_cur += rec_size; in btf_for_each_str_off()
|
D | libbpf.c | 6072 copy_end = rec + ext_info->rec_size; in adjust_prog_btf_ext_info() 6081 old_sz = (size_t)(*prog_rec_cnt) * ext_info->rec_size; in adjust_prog_btf_ext_info() 6087 *prog_rec_cnt = new_sz / ext_info->rec_size; in adjust_prog_btf_ext_info() 6099 for (; rec < rec_end; rec += ext_info->rec_size) { in adjust_prog_btf_ext_info() 6104 *prog_rec_sz = ext_info->rec_size; in adjust_prog_btf_ext_info()
|
/kernel/linux/linux-5.10/fs/ntfs/ |
D | aops.c | 125 u32 rec_size; in ntfs_end_buffer_async_read() local 127 rec_size = ni->itype.index.block_size; in ntfs_end_buffer_async_read() 128 recs = PAGE_SIZE / rec_size; in ntfs_end_buffer_async_read() 134 i * rec_size), rec_size); in ntfs_end_buffer_async_read() 907 unsigned int rec_size = ni->itype.index.block_size; in ntfs_write_mst_block() local 917 if (WARN_ON(rec_size < NTFS_BLOCK_SIZE)) in ntfs_write_mst_block() 948 bhs_per_rec = rec_size >> bh_size_bits; in ntfs_write_mst_block() 1150 rec_size); in ntfs_write_mst_block()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 4090 __u32 info_len, rec_size; in do_test_file() local 4161 rec_size = info.func_info_rec_size; in do_test_file() 4162 if (CHECK(rec_size != sizeof(struct bpf_func_info), in do_test_file() 4163 "incorrect info.func_info_rec_size (1st) %d\n", rec_size)) { in do_test_file() 4168 func_info = malloc(info.nr_func_info * rec_size); in do_test_file() 4177 info.func_info_rec_size = rec_size; in do_test_file() 4193 if (CHECK(info.func_info_rec_size != rec_size, in do_test_file() 4229 finfo = (void *)finfo + rec_size; in do_test_file() 5794 __u32 info_len, rec_size, i; in test_get_finfo() local 5813 rec_size = info.func_info_rec_size; in test_get_finfo() [all …]
|
/kernel/linux/linux-5.10/drivers/s390/scsi/ |
D | zfcp_dbf.c | 766 static debug_info_t *zfcp_dbf_reg(const char *name, int size, int rec_size) in zfcp_dbf_reg() argument 770 d = debug_register(name, size, 1, rec_size); in zfcp_dbf_reg()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | verifier.c | 8883 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local 8897 rec_size = attr->line_info_rec_size; in check_btf_line() 8898 if (rec_size < MIN_BPF_LINEINFO_SIZE || in check_btf_line() 8899 rec_size > MAX_LINEINFO_REC_SIZE || in check_btf_line() 8900 rec_size & (sizeof(u32) - 1)) in check_btf_line() 8918 ncopy = min_t(u32, expected_size, rec_size); in check_btf_line() 8920 err = bpf_check_uarg_tail_zero(ulinfo, expected_size, rec_size); in check_btf_line() 8983 ulinfo += rec_size; in check_btf_line()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | reg.h | 3206 MLXSW_ITEM32_INDEXED(reg, iedr, rec_size, MLXSW_REG_IEDR_BASE_LEN, 0, 13, 3222 u8 rec_type, u16 rec_size, in mlxsw_reg_iedr_rec_pack() argument 3230 mlxsw_reg_iedr_rec_size_set(payload, rec_index, rec_size); in mlxsw_reg_iedr_rec_pack()
|