| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A 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 …]
|
| H A D | libbpf_internal.h | 165 __u32 rec_size; member 173 (seg)->rec_size * sec->num_info) 178 i++, rec = (void *)rec + (seg)->rec_size)
|
| H A 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()
|
| H A D | libbpf.c | 6082 copy_end = rec + ext_info->rec_size; in adjust_prog_btf_ext_info() 6091 old_sz = (size_t)(*prog_rec_cnt) * ext_info->rec_size; in adjust_prog_btf_ext_info() 6097 *prog_rec_cnt = new_sz / ext_info->rec_size; in adjust_prog_btf_ext_info() 6109 for (; rec < rec_end; rec += ext_info->rec_size) { in adjust_prog_btf_ext_info() 6114 *prog_rec_sz = ext_info->rec_size; in adjust_prog_btf_ext_info()
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | bootstage.c | 423 uint rec_size; in bootstage_unstash() local 467 rec_size = hdr->count * sizeof(*data->record); in bootstage_unstash() 468 memcpy(data->record + data->rec_count, ptr, rec_size); in bootstage_unstash() 471 ptr += rec_size; in bootstage_unstash()
|
| /OK3568_Linux_fs/kernel/fs/ntfs/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/s390/scsi/ |
| H A 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()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h265e/ |
| H A D | hal_h265e_vepu540c.c | 1539 size_t rec_size = mpp_buffer_get_size(recon_buf->buf[0]); in hal_h265e_v540c_wait() local 1553 fwrite(ptr + ctx->fbc_header_len, 1, rec_size - ctx->fbc_header_len, fp_fbd); in hal_h265e_v540c_wait()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | verifier.c | 8828 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local 8842 rec_size = attr->line_info_rec_size; in check_btf_line() 8843 if (rec_size < MIN_BPF_LINEINFO_SIZE || in check_btf_line() 8844 rec_size > MAX_LINEINFO_REC_SIZE || in check_btf_line() 8845 rec_size & (sizeof(u32) - 1)) in check_btf_line() 8863 ncopy = min_t(u32, expected_size, rec_size); in check_btf_line() 8865 err = bpf_check_uarg_tail_zero(ulinfo, expected_size, rec_size); in check_btf_line() 8928 ulinfo += rec_size; in check_btf_line()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/ |
| H A 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()
|