Searched refs:rec_size (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/tools/lib/bpf/ |
| D | bpf_prog_linfo.c | 18 __u32 rec_size; member 124 prog_linfo->rec_size = info->line_info_rec_size; in bpf_prog_linfo__new() 125 prog_linfo->raw_linfo = malloc(nr_linfo * prog_linfo->rec_size); in bpf_prog_linfo__new() 129 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 [all …]
|
| D | libbpf_internal.h | 75 __u32 rec_size; member 83 (seg)->rec_size * sec->num_info) 88 i++, rec = (void *)rec + (seg)->rec_size)
|
| D | btf.c | 859 ext_info->rec_size = record_size; in btf_ext_setup_info() 1011 record_size = ext_info->rec_size; in btf_ext_reloc_info() 1067 return btf_ext->func_info.rec_size; in btf_ext__func_info_rec_size() 1072 return btf_ext->line_info.rec_size; in btf_ext__line_info_rec_size() 1454 int i, j, r, rec_size; in btf_for_each_str_off() local 1511 rec_size = d->btf_ext->line_info.rec_size; in btf_for_each_str_off() 1531 line_data_cur += rec_size; in btf_for_each_str_off()
|
| /Linux-v5.4/fs/ntfs/ |
| D | aops.c | 127 u32 rec_size; in ntfs_end_buffer_async_read() local 129 rec_size = ni->itype.index.block_size; in ntfs_end_buffer_async_read() 130 recs = PAGE_SIZE / rec_size; in ntfs_end_buffer_async_read() 136 i * rec_size), rec_size); in ntfs_end_buffer_async_read() 910 unsigned int rec_size = ni->itype.index.block_size; in ntfs_write_mst_block() local 920 if (WARN_ON(rec_size < NTFS_BLOCK_SIZE)) in ntfs_write_mst_block() 951 bhs_per_rec = rec_size >> bh_size_bits; in ntfs_write_mst_block() 1153 rec_size); in ntfs_write_mst_block()
|
| /Linux-v5.4/tools/testing/selftests/bpf/ |
| D | test_btf.c | 4123 __u32 info_len, rec_size; in do_test_file() local 4198 rec_size = info.func_info_rec_size; in do_test_file() 4199 if (CHECK(rec_size != sizeof(struct bpf_func_info), in do_test_file() 4200 "incorrect info.func_info_rec_size (1st) %d\n", rec_size)) { in do_test_file() 4205 func_info = malloc(info.nr_func_info * rec_size); in do_test_file() 4214 info.func_info_rec_size = rec_size; in do_test_file() 4230 if (CHECK(info.func_info_rec_size != rec_size, in do_test_file() 4266 finfo = (void *)finfo + rec_size; in do_test_file() 5849 __u32 info_len, rec_size, i; in test_get_finfo() local 5868 rec_size = info.func_info_rec_size; in test_get_finfo() [all …]
|
| /Linux-v5.4/drivers/s390/scsi/ |
| D | zfcp_dbf.c | 726 static debug_info_t *zfcp_dbf_reg(const char *name, int size, int rec_size) in zfcp_dbf_reg() argument 730 d = debug_register(name, size, 1, rec_size); in zfcp_dbf_reg()
|
| /Linux-v5.4/kernel/bpf/ |
| D | verifier.c | 6526 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local 6538 rec_size = attr->line_info_rec_size; in check_btf_line() 6539 if (rec_size < MIN_BPF_LINEINFO_SIZE || in check_btf_line() 6540 rec_size > MAX_LINEINFO_REC_SIZE || in check_btf_line() 6541 rec_size & (sizeof(u32) - 1)) in check_btf_line() 6559 ncopy = min_t(u32, expected_size, rec_size); in check_btf_line() 6561 err = bpf_check_uarg_tail_zero(ulinfo, expected_size, rec_size); in check_btf_line() 6624 ulinfo += rec_size; in check_btf_line()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | reg.h | 3206 MLXSW_ITEM32_INDEXED(reg, iedr, rec_size, MLXSW_REG_IEDR_BASE_LEN, 0, 11, 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()
|