Home
last modified time | relevance | path

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

/drivers/char/tpm/eventlog/
Defi.c24 u32 log_size; in tpm_read_log_efi() local
43 log_size = log_tbl->size; in tpm_read_log_efi()
46 if (!log_size) { in tpm_read_log_efi()
51 log_tbl = memremap(efi.tpm_log, sizeof(*log_tbl) + log_size, in tpm_read_log_efi()
59 log->bios_event_log = devm_kmemdup(&chip->dev, log_tbl->log, log_size, GFP_KERNEL); in tpm_read_log_efi()
65 log->bios_event_log_end = log->bios_event_log + log_size; in tpm_read_log_efi()
96 log_size + final_events_log_size, in tpm_read_log_efi()
111 memcpy((void *)log->bios_event_log + log_size, in tpm_read_log_efi()
119 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.c835 unsigned int log_size = order_base_2(size); in iova_rcache_insert() local
837 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_insert()
840 return __iova_rcache_insert(iovad, &iovad->rcaches[log_size], pfn); in iova_rcache_insert()
891 unsigned int log_size = order_base_2(size); in iova_rcache_get() local
893 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_get()
896 return __iova_rcache_get(&iovad->rcaches[log_size], limit_pfn - size); in iova_rcache_get()
/drivers/net/wireless/realtek/rtw89/
Defuse.c237 u32 log_size = rtwdev->chip->logical_efuse_size; in rtw89_parse_efuse_map() local
240 u32 full_log_size = log_size + dav_log_size; in rtw89_parse_efuse_map()
256 dav_log_map = log_map + log_size; in rtw89_parse_efuse_map()
/drivers/accel/ivpu/
Divpu_fw_log.c97 u32 log_size = log->size - log->header_size; in fw_log_print_buffer() local
111 buffer_print(log_buffer + log_end, log_size - log_end, p); in fw_log_print_buffer()
/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.c254 in.log_size = ilog2(srq->msrq.max); in mlx5_ib_create_srq()
/drivers/net/ethernet/amazon/ena/
Dena_com.c1111 u16 log_size) in ena_com_indirect_table_allocate() argument
1123 if ((get_resp.u.ind_table.min_size > log_size) || in ena_com_indirect_table_allocate()
1124 (get_resp.u.ind_table.max_size < log_size)) { in ena_com_indirect_table_allocate()
1127 1 << log_size, 1 << get_resp.u.ind_table.min_size, in ena_com_indirect_table_allocate()
1132 tbl_size = (1ULL << log_size) * in ena_com_indirect_table_allocate()
1140 tbl_size = (1ULL << log_size) * sizeof(u16); in ena_com_indirect_table_allocate()
1145 rss->tbl_log_size = log_size; in ena_com_indirect_table_allocate()
1150 tbl_size = (1ULL << log_size) * in ena_com_indirect_table_allocate()
Dena_com.h630 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/scsi/qla2xxx/
Dqla_mr.h303 uint32_t log_size; member
/drivers/dma/idxd/
Didxd.h287 unsigned int log_size; member
Ddevice.c776 evl->log_size = size; in idxd_device_evl_setup()
830 evl_log_size = evl->log_size; in idxd_device_evl_free()
/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c300 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.c3886 size_t log_size = NVME_MAX_CHANGED_NAMESPACES * sizeof(__le32); in nvme_clear_changed_ns_log() local
3890 log = kzalloc(log_size, GFP_KERNEL); in nvme_clear_changed_ns_log()
3901 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.c1786 if (dump_size && resp->log_size) in be_cmd_get_fat_dump_len()
1787 *dump_size = le32_to_cpu(resp->log_size) - in be_cmd_get_fat_dump_len()
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c1250 u32 log_size; in event_log_show() local
1255 log_size = PAGE_SIZE / sizeof(*log) > log_len ? in event_log_show()
1257 log = kzalloc(log_size, GFP_KERNEL); in event_log_show()
1262 log_len = log_size / sizeof(*log); in event_log_show()