/linux-6.12.1/drivers/char/tpm/eventlog/ |
D | efi.c | 24 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()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | verifier_log.c | 78 opts.log_size = sizeof(logs.reference); in verif_log_subtest() 102 opts.log_size = 25; in verif_log_subtest() 131 opts.log_size = i; in verif_log_subtest() 180 opts.log_size = sizeof(logs.buf); in verif_log_subtest() 191 opts.log_size = 0; in verif_log_subtest() 200 opts.log_size = sizeof(logs.buf); in verif_log_subtest() 211 opts.log_size = 0; in verif_log_subtest() 220 opts.log_size = log_true_sz_fixed - 1; in verif_log_subtest() 228 opts.log_size = log_true_sz_fixed; in verif_log_subtest() 236 opts.log_size = log_true_sz_rolling - 1; in verif_log_subtest() [all …]
|
D | raw_tp_writable_test_run.c | 24 .log_size = sizeof(error), in serial_test_raw_tp_writable_test_run() 41 .log_size = sizeof(error), in serial_test_raw_tp_writable_test_run()
|
D | syscall.c | 8 __u32 log_size; member 21 .log_size = sizeof(verifier_log), in test_syscall_load_prog()
|
D | core_reloc_raw.c | 49 .log_size = sizeof(log), in test_bad_local_id() 95 attr.log_size = sizeof(log); in test_bad_local_id()
|
D | raw_tp_writable_reject_nbd_invalid.c | 25 .log_size = sizeof(error), in test_raw_tp_writable_reject_nbd_invalid()
|
D | log_buf.c | 161 opts.log_size = log_buf_sz; in bpf_prog_load_log_buf() 223 opts.log_size = log_buf_sz; in bpf_btf_load_log_buf()
|
/linux-6.12.1/drivers/firmware/efi/libstub/ |
D | tpm.c | 59 size_t log_size, last_entry_size; in efi_retrieve_tcg2_eventlog() local 68 log_size = 0; in efi_retrieve_tcg2_eventlog() 95 log_size = log_last_entry - log_location + last_entry_size; in efi_retrieve_tcg2_eventlog() 100 sizeof(*log_tbl) + log_size, (void **)&log_tbl); in efi_retrieve_tcg2_eventlog() 132 memset(log_tbl, 0, sizeof(*log_tbl) + log_size); in efi_retrieve_tcg2_eventlog() 133 log_tbl->size = log_size; in efi_retrieve_tcg2_eventlog() 136 memcpy(log_tbl->log, (void *) first_entry_addr, log_size); in efi_retrieve_tcg2_eventlog()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/ |
D | efuse.c | 151 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-6.12.1/tools/lib/bpf/ |
D | bpf.c | 244 __u32 log_size, log_level, attach_prog_fd, attach_btf_obj_fd; in bpf_prog_load() local 295 log_size = OPTS_GET(opts, log_size, 0); in bpf_prog_load() 298 if (!!log_buf != !!log_size) in bpf_prog_load() 317 attr.log_size = log_size; in bpf_prog_load() 374 attr.log_size = log_size; in bpf_prog_load() 1208 size_t log_size; in bpf_btf_load() local 1220 log_size = OPTS_GET(opts, log_size, 0); in bpf_btf_load() 1223 if (log_size > UINT_MAX) in bpf_btf_load() 1225 if (log_size && !log_buf) in bpf_btf_load() 1241 attr.btf_log_size = (__u32)log_size; in bpf_btf_load() [all …]
|
D | libbpf_probes.c | 109 .log_size = log_buf_sz, in probe_prog_load() 135 opts.log_size = sizeof(buf); in probe_prog_load() 148 opts.log_size = sizeof(buf); in probe_prog_load()
|
D | skel_internal.h | 56 __u32 log_size; member 338 attr.log_size = opts->ctx->log_size; in bpf_load_and_run()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | syscall.c | 21 __u32 log_size; member 138 prog_load_attr.log_size = ctx->log_size; in load_prog()
|
/linux-6.12.1/drivers/soc/qcom/ |
D | pmic_pdcharger_ulog.c | 40 u32 log_size; member 61 .log_size = MAX_ULOG_SIZE in pmic_pdcharger_ulog_request()
|
/linux-6.12.1/drivers/accel/ivpu/ |
D | ivpu_fw_log.c | 97 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()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/ |
D | efuse.c | 242 u32 log_size = rtwdev->chip->logical_efuse_size; in rtw89_parse_efuse_map_ax() local 245 u32 full_log_size = log_size + dav_log_size; in rtw89_parse_efuse_map_ax() 261 dav_log_map = log_map + log_size; in rtw89_parse_efuse_map_ax()
|
/linux-6.12.1/drivers/iommu/ |
D | iova.c | 804 unsigned int log_size = order_base_2(size); in iova_rcache_insert() local 806 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_insert() 809 return __iova_rcache_insert(iovad, &iovad->rcaches[log_size], pfn); in iova_rcache_insert() 860 unsigned int log_size = order_base_2(size); in iova_rcache_get() local 862 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_get() 865 return __iova_rcache_get(&iovad->rcaches[log_size], limit_pfn - size); in iova_rcache_get()
|
/linux-6.12.1/fs/hfs/ |
D | inode.c | 270 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()
|
/linux-6.12.1/tools/build/feature/ |
D | test-bpf.c | 38 attr.log_size = 0; in main()
|
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/ |
D | fbnic_txrx.c | 1725 u32 log_size = fls(twq->size_mask); in fbnic_enable_twq0() local 1740 fbnic_ring_wr32(twq, FBNIC_QUEUE_TWQ0_SIZE, log_size & 0xf); in fbnic_enable_twq0() 1748 u32 log_size = fls(tcq->size_mask); in fbnic_enable_tcq() local 1763 fbnic_ring_wr32(tcq, FBNIC_QUEUE_TCQ_SIZE, log_size & 0xf); in fbnic_enable_tcq() 1777 u32 log_size; in fbnic_enable_bdq() local 1786 log_size = fls(hpq->size_mask); in fbnic_enable_bdq() 1793 fbnic_ring_wr32(hpq, FBNIC_QUEUE_BDQ_HPQ_SIZE, log_size & 0xf); in fbnic_enable_bdq() 1798 log_size = fls(ppq->size_mask); in fbnic_enable_bdq() 1806 fbnic_ring_wr32(ppq, FBNIC_QUEUE_BDQ_PPQ_SIZE, log_size & 0xf); in fbnic_enable_bdq() 1830 u32 log_size = fls(rcq->size_mask); in fbnic_enable_rcq() local [all …]
|
/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | srq.h | 18 u32 log_size; member
|
D | srq_cmd.c | 15 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-6.12.1/drivers/vdpa/mlx5/core/ |
D | mr.c | 47 nsg--, dma_addr += BIT(mr->log_size), dma_len -= BIT(mr->log_size)) in populate_mtts() 79 MLX5_SET(mkc, mkc, log_page_size, mr->log_size); in fill_create_direct_mr() 81 get_octo_len(mr->end - mr->start, mr->log_size)); in fill_create_direct_mr() 83 get_octo_len(mr->end - mr->start, mr->log_size)); in fill_create_direct_mr() 417 mr->log_size = log_entity_size; in map_direct_mr()
|
/linux-6.12.1/samples/bpf/ |
D | sock_example.c | 65 .log_size = BPF_LOG_BUF_SIZE, in test_sock()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
D | mlx5hws_pool.h | 86 u32 log_size; member
|