Home
last modified time | relevance | path

Searched refs:log_size (Results 1 – 25 of 45) sorted by relevance

12

/Linux-v5.15/drivers/char/tpm/eventlog/
Defi.c23 u32 log_size; in tpm_read_log_efi() local
42 log_size = log_tbl->size; in tpm_read_log_efi()
45 if (!log_size) { in tpm_read_log_efi()
50 log_tbl = memremap(efi.tpm_log, sizeof(*log_tbl) + log_size, in tpm_read_log_efi()
58 log->bios_event_log = kmemdup(log_tbl->log, log_size, GFP_KERNEL); in tpm_read_log_efi()
64 log->bios_event_log_end = log->bios_event_log + log_size; in tpm_read_log_efi()
95 log_size + final_events_log_size, in tpm_read_log_efi()
110 memcpy((void *)log->bios_event_log + log_size, in tpm_read_log_efi()
118 log_size + final_events_log_size; in tpm_read_log_efi()
/Linux-v5.15/drivers/firmware/efi/libstub/
Dtpm.c59 size_t log_size, last_entry_size; in efi_retrieve_tpm2_eventlog() local
89 log_size = 0; in efi_retrieve_tpm2_eventlog()
114 log_size = log_last_entry - log_location + last_entry_size; in efi_retrieve_tpm2_eventlog()
119 sizeof(*log_tbl) + log_size, (void **)&log_tbl); in efi_retrieve_tpm2_eventlog()
153 memset(log_tbl, 0, sizeof(*log_tbl) + log_size); in efi_retrieve_tpm2_eventlog()
154 log_tbl->size = log_size; in efi_retrieve_tpm2_eventlog()
157 memcpy(log_tbl->log, (void *) first_entry_addr, log_size); in efi_retrieve_tpm2_eventlog()
/Linux-v5.15/arch/ia64/mm/
Dtlb.c421 static int is_tr_overlap(struct ia64_tr_entry *p, u64 va, u64 log_size) in is_tr_overlap() argument
427 u64 va_end = va + (1<<log_size) - 1; in is_tr_overlap()
454 int ia64_itr_entry(u64 target_mask, u64 va, u64 pte, u64 log_size) in ia64_itr_entry() argument
475 if (is_tr_overlap(p, va, log_size)) { in ia64_itr_entry()
487 if (is_tr_overlap(p, va, log_size)) { in ia64_itr_entry()
525 ia64_itr(0x1, i, va, pte, log_size); in ia64_itr_entry()
530 p->itir = log_size << 2; in ia64_itr_entry()
534 ia64_itr(0x2, i, va, pte, log_size); in ia64_itr_entry()
539 p->itir = log_size << 2; in ia64_itr_entry()
/Linux-v5.15/tools/lib/bpf/
Dskel_internal.h37 __u32 log_size; member
91 attr.log_size = opts->ctx->log_size; in bpf_load_and_run()
Dgen_loader.c370 offsetof(struct bpf_loader_ctx, log_size), false); in bpf_gen__load_btf()
642 move_ctx2blob(gen, attr_field(prog_load_attr, log_size), 4, in bpf_gen__prog_load()
643 offsetof(struct bpf_loader_ctx, log_size), false); in bpf_gen__prog_load()
Dbpf.c254 attr.log_size = load_attr->log_buf_sz; in libbpf__bpf_prog_load()
323 attr.log_size = load_attr->log_buf_sz; in libbpf__bpf_prog_load()
411 attr.log_size = log_buf_sz; in bpf_verify_program()
/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dsyscall.c14 __u32 log_size; member
100 prog_load_attr.log_size = ctx->log_size; in bpf_prog()
/Linux-v5.15/arch/ia64/kernel/
Dsalinfo.c145 u64 log_size; member
387 data->log_size = ia64_sal_get_state_info(data->type, (u64 *) data->log_buffer); in salinfo_log_read_cpu()
409 data->log_size = data_saved->size; in salinfo_log_new_read()
410 memcpy(data->log_buffer, rh, data->log_size); in salinfo_log_new_read()
425 if (!data->log_size) { in salinfo_log_new_read()
442 bufsize = data->log_size; in salinfo_log_read()
518 if (offset > data->log_size - sizeof(efi_guid_t)) in salinfo_log_write()
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dsyscall.c8 __u32 log_size; member
21 .log_size = sizeof(verifier_log), in test_syscall()
/Linux-v5.15/drivers/net/wireless/realtek/rtw88/
Defuse.c151 u32 log_size = efuse->logical_size; in rtw_parse_efuse_map() local
157 log_map = kmalloc(log_size, GFP_KERNEL); in rtw_parse_efuse_map()
169 memset(log_map, 0xff, log_size); in rtw_parse_efuse_map()
/Linux-v5.15/drivers/vdpa/mlx5/core/
Dmr.c47 nsg--, dma_addr += BIT(mr->log_size), dma_len -= BIT(mr->log_size)) in populate_mtts()
73 MLX5_SET(mkc, mkc, log_page_size, mr->log_size); in create_direct_mr()
75 get_octo_len(mr->end - mr->start, mr->log_size)); in create_direct_mr()
77 get_octo_len(mr->end - mr->start, mr->log_size)); in create_direct_mr()
274 mr->log_size = log_entity_size; in map_direct_mr()
Dmlx5_vdpa.h20 int log_size; member
/Linux-v5.15/tools/build/feature/
Dtest-bpf.c32 attr.log_size = 0; in main()
/Linux-v5.15/fs/hfs/
Dinode.c272 u32 log_size = be32_to_cpu(__log_size); in hfs_inode_read_fork() local
281 inode->i_size = HFS_I(inode)->phys_size = log_size; in hfs_inode_read_fork()
282 HFS_I(inode)->fs_blocks = (log_size + sb->s_blocksize - 1) >> sb->s_blocksize_bits; in hfs_inode_read_fork()
410 __be32 *log_size, __be32 *phys_size) in hfs_inode_write_fork() argument
414 if (log_size) in hfs_inode_write_fork()
415 *log_size = cpu_to_be32(inode->i_size); in hfs_inode_write_fork()
Dhfs_fs.h210 __be32 log_size, __be32 phys_size, u32 clump_size);
/Linux-v5.15/drivers/iommu/
Diova.c967 unsigned int log_size = order_base_2(size); in iova_rcache_insert() local
969 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_insert()
972 return __iova_rcache_insert(iovad, &iovad->rcaches[log_size], pfn); in iova_rcache_insert()
1023 unsigned int log_size = order_base_2(size); in iova_rcache_get() local
1025 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_get()
1028 return __iova_rcache_get(&iovad->rcaches[log_size], limit_pfn - size); in iova_rcache_get()
/Linux-v5.15/arch/ia64/include/asm/
Dprocessor.h506 ia64_ptr (__u64 target_mask, __u64 vmaddr, __u64 log_size) in ia64_ptr() argument
509 ia64_ptri(vmaddr, (log_size << 2)); in ia64_ptr()
511 ia64_ptrd(vmaddr, (log_size << 2)); in ia64_ptr()
Dtlbflush.h24 extern int ia64_itr_entry(u64 target_mask, u64 va, u64 pte, u64 log_size);
/Linux-v5.15/drivers/infiniband/hw/mlx5/
Dsrq.h18 u32 log_size; member
Dsrq_cmd.c15 u32 log_srq_size = in->log_size; in get_pas_size()
33 MLX5_SET(wq, wq, log_wq_sz, in->log_size); in set_wq()
46 MLX5_SET(srqc, srqc, log_srq_size, in->log_size); in set_srqc()
61 in->log_size = MLX5_GET(wq, wq, log_wq_sz); in get_wq()
74 in->log_size = MLX5_GET(srqc, srqc, log_srq_size); in get_srqc()
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_verifier_log.c58 attr.log_size = log_len; in load()
/Linux-v5.15/drivers/net/ethernet/amazon/ena/
Dena_com.c1153 u16 log_size) in ena_com_indirect_table_allocate() argument
1165 if ((get_resp.u.ind_table.min_size > log_size) || in ena_com_indirect_table_allocate()
1166 (get_resp.u.ind_table.max_size < log_size)) { in ena_com_indirect_table_allocate()
1169 1 << log_size, 1 << get_resp.u.ind_table.min_size, in ena_com_indirect_table_allocate()
1174 tbl_size = (1ULL << log_size) * in ena_com_indirect_table_allocate()
1183 tbl_size = (1ULL << log_size) * sizeof(u16); in ena_com_indirect_table_allocate()
1189 rss->tbl_log_size = log_size; in ena_com_indirect_table_allocate()
1194 tbl_size = (1ULL << log_size) * in ena_com_indirect_table_allocate()
/Linux-v5.15/tools/testing/selftests/net/
Dreuseport_bpf_numa.c93 attr.log_size = sizeof(bpf_log_buf); in attach_bpf()
/Linux-v5.15/drivers/infiniband/hw/mthca/
Dmthca_cmd.h300 int mthca_RESIZE_CQ(struct mthca_dev *dev, int cq_num, u32 lkey, u8 log_size);
/Linux-v5.15/drivers/scsi/qla2xxx/
Dqla_mr.h303 uint32_t log_size; member

12