Home
last modified time | relevance | path

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

/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()
/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()
/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()
/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
/drivers/iommu/
Diova.c1064 unsigned int log_size = order_base_2(size); in iova_rcache_insert() local
1066 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_insert()
1069 return __iova_rcache_insert(iovad, &iovad->rcaches[log_size], pfn); in iova_rcache_insert()
1120 unsigned int log_size = order_base_2(size); in iova_rcache_get() local
1122 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_get()
1125 return __iova_rcache_get(&iovad->rcaches[log_size], limit_pfn - size); in iova_rcache_get()
/drivers/infiniband/hw/mlx5/
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()
Dsrq.h18 u32 log_size; member
Dsrq.c252 in.log_size = ilog2(srq->msrq.max); in mlx5_ib_create_srq()
/drivers/net/ethernet/amazon/ena/
Dena_com.c1156 u16 log_size) in ena_com_indirect_table_allocate() argument
1168 if ((get_resp.u.ind_table.min_size > log_size) || in ena_com_indirect_table_allocate()
1169 (get_resp.u.ind_table.max_size < log_size)) { in ena_com_indirect_table_allocate()
1172 1 << log_size, 1 << get_resp.u.ind_table.min_size, in ena_com_indirect_table_allocate()
1177 tbl_size = (1ULL << log_size) * in ena_com_indirect_table_allocate()
1186 tbl_size = (1ULL << log_size) * sizeof(u16); in ena_com_indirect_table_allocate()
1192 rss->tbl_log_size = log_size; in ena_com_indirect_table_allocate()
1197 tbl_size = (1ULL << log_size) * in ena_com_indirect_table_allocate()
Dena_com.h629 int ena_com_rss_init(struct ena_com_dev *ena_dev, u16 log_size);
/drivers/infiniband/hw/mthca/
Dmthca_cmd.h300 int mthca_RESIZE_CQ(struct mthca_dev *dev, int cq_num, u32 lkey, u8 log_size);
Dmthca_cmd.c1669 int mthca_RESIZE_CQ(struct mthca_dev *dev, int cq_num, u32 lkey, u8 log_size) in mthca_RESIZE_CQ() argument
1689 MTHCA_PUT(inbox, log_size, RESIZE_CQ_LOG_SIZE_OFFSET); in mthca_RESIZE_CQ()
/drivers/md/
Ddm-bow.c820 unsigned int log_size; in prepare_unchanged_range() local
860 log_size = range_size(br); in prepare_unchanged_range()
881 ret = add_log_entry(bc, log_source, log_dest, log_size, checksum); in prepare_unchanged_range()
/drivers/scsi/qla2xxx/
Dqla_mr.h303 uint32_t log_size; member
/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c263 MLX5_SET(create_flow_table_in, in, flow_table_context.log_size, size ? ilog2(size) : 0); in mlx5_cmd_create_flow_table()
/drivers/nvme/host/
Dcore.c4157 size_t log_size = NVME_MAX_CHANGED_NAMESPACES * sizeof(__le32); in nvme_clear_changed_ns_log() local
4161 log = kzalloc(log_size, GFP_KERNEL); in nvme_clear_changed_ns_log()
4172 NVME_CSI_NVM, log, log_size, 0); in nvme_clear_changed_ns_log()
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h517 u32 log_size; member
Dbe_cmds.c1785 if (dump_size && resp->log_size) in be_cmd_get_fat_dump_len()
1786 *dump_size = le32_to_cpu(resp->log_size) - in be_cmd_get_fat_dump_len()
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c1267 u32 log_size; in show_event_log() local
1272 log_size = PAGE_SIZE / sizeof(*log) > log_len ? in show_event_log()
1274 log = kzalloc(log_size, GFP_KERNEL); in show_event_log()
1279 log_len = log_size / sizeof(*log); in show_event_log()