/Linux-v6.1/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 | 380 __u32 rec_size; member 395 (seg)->rec_size * sec->num_info) 400 i++, rec = (void *)rec + (seg)->rec_size)
|
D | linker.c | 2438 rec_sz = obj->btf_ext->func_info.rec_size; in linker_append_btf_ext() 2467 rec_sz = obj->btf_ext->line_info.rec_size; in linker_append_btf_ext() 2509 rec_sz = obj->btf_ext->core_relo_info.rec_size; in linker_append_btf_ext()
|
D | libbpf.c | 5916 copy_end = rec + ext_info->rec_size; in adjust_prog_btf_ext_info() 5925 old_sz = (size_t)(*prog_rec_cnt) * ext_info->rec_size; in adjust_prog_btf_ext_info() 5931 *prog_rec_cnt = new_sz / ext_info->rec_size; in adjust_prog_btf_ext_info() 5943 for (; rec < rec_end; rec += ext_info->rec_size) { in adjust_prog_btf_ext_info() 5948 *prog_rec_sz = ext_info->rec_size; in adjust_prog_btf_ext_info()
|
D | btf.c | 2726 ext_info->rec_size = record_size; in btf_ext_setup_info()
|
/Linux-v6.1/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() 909 unsigned int rec_size = ni->itype.index.block_size; in ntfs_write_mst_block() local 919 if (WARN_ON(rec_size < NTFS_BLOCK_SIZE)) in ntfs_write_mst_block() 950 bhs_per_rec = rec_size >> bh_size_bits; in ntfs_write_mst_block() 1152 rec_size); in ntfs_write_mst_block()
|
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 4682 __u32 info_len, rec_size; in do_test_file() local 4757 rec_size = info.func_info_rec_size; in do_test_file() 4758 if (CHECK(rec_size != sizeof(struct bpf_func_info), in do_test_file() 4759 "incorrect info.func_info_rec_size (1st) %d\n", rec_size)) { in do_test_file() 4764 func_info = malloc(info.nr_func_info * rec_size); in do_test_file() 4773 info.func_info_rec_size = rec_size; in do_test_file() 4789 if (CHECK(info.func_info_rec_size != rec_size, in do_test_file() 4826 finfo = (void *)finfo + rec_size; in do_test_file() 6387 __u32 info_len, rec_size, i; in test_get_finfo() local 6406 rec_size = info.func_info_rec_size; in test_get_finfo() [all …]
|
/Linux-v6.1/drivers/s390/scsi/ |
D | zfcp_dbf.c | 741 static debug_info_t *zfcp_dbf_reg(const char *name, int size, int rec_size) in zfcp_dbf_reg() argument 745 d = debug_register(name, size, 1, rec_size); in zfcp_dbf_reg()
|
/Linux-v6.1/kernel/bpf/ |
D | verifier.c | 11127 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local 11141 rec_size = attr->line_info_rec_size; in check_btf_line() 11142 if (rec_size < MIN_BPF_LINEINFO_SIZE || in check_btf_line() 11143 rec_size > MAX_LINEINFO_REC_SIZE || in check_btf_line() 11144 rec_size & (sizeof(u32) - 1)) in check_btf_line() 11162 ncopy = min_t(u32, expected_size, rec_size); in check_btf_line() 11164 err = bpf_check_uarg_tail_zero(ulinfo, expected_size, rec_size); in check_btf_line() 11228 bpfptr_add(&ulinfo, rec_size); in check_btf_line() 11255 u32 i, nr_core_relo, ncopy, expected_size, rec_size; in check_core_relo() local 11272 rec_size = attr->core_relo_rec_size; in check_core_relo() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | reg.h | 3632 MLXSW_ITEM32_INDEXED(reg, iedr, rec_size, MLXSW_REG_IEDR_BASE_LEN, 0, 13, 3648 u8 rec_type, u16 rec_size, in mlxsw_reg_iedr_rec_pack() argument 3656 mlxsw_reg_iedr_rec_size_set(payload, rec_index, rec_size); in mlxsw_reg_iedr_rec_pack()
|