Home
last modified time | relevance | path

Searched refs:allocated_size (Results 1 – 10 of 10) sorted by relevance

/drivers/hid/bpf/
Dhid_bpf_dispatch.c56 .allocated_size = hdev->bpf.allocated_data, in dispatch_hid_bpf_device_event()
78 if (ret > ctx_kern.ctx.allocated_size) in dispatch_hid_bpf_device_event()
115 .allocated_size = HID_MAX_DESCRIPTOR_SIZE, in call_hid_bpf_rdesc_fixup()
119 ctx_kern.data = kzalloc(ctx_kern.ctx.allocated_size, GFP_KERNEL); in call_hid_bpf_rdesc_fixup()
130 if (ret > ctx_kern.ctx.allocated_size) in call_hid_bpf_rdesc_fixup()
165 if (rdwr_buf_size + offset > ctx->allocated_size) in hid_bpf_get_data()
/drivers/base/firmware_loader/
Dmain.c142 fw_priv->allocated_size = size; in __allocate_fw_priv()
217 else if (!fw_priv->allocated_size) in __free_fw_priv()
318 if (fw_priv->allocated_size) { in fw_decompress_zstd()
319 out_size = fw_priv->allocated_size; in fw_decompress_zstd()
357 if (!fw_priv->allocated_size) in fw_decompress_zstd()
364 if (err && !fw_priv->allocated_size) in fw_decompress_zstd()
399 xz_buf.out_size = fw_priv->allocated_size; in fw_decompress_xz_single()
569 msize = fw_priv->allocated_size; in fw_get_filesystem_firmware()
Dfallback_platform.c28 if (fw_priv->data && size > fw_priv->allocated_size) in firmware_fallback_platform()
Dfirmware.h71 size_t allocated_size; member
Dsysfs.c338 if (offset + count > fw_priv->allocated_size) { in firmware_data_write()
/drivers/virt/geniezone/
Dgzvm_vm.c357 size_t allocated_size; in gzvm_destroy_vm() local
372 allocated_size = GZVM_BLOCK_BASED_DEMAND_PAGE_SIZE / PAGE_SIZE * sizeof(u64); in gzvm_destroy_vm()
373 free_pages_exact(gzvm->demand_page_buffer, allocated_size); in gzvm_destroy_vm()
/drivers/gpu/drm/amd/display/dc/inc/
Dcompressor.h108 uint32_t allocated_size; member
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_compressor.c458 compressor->base.allocated_size = 0; in dce110_compressor_construct()
/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_compressor.c811 compressor->base.allocated_size = 0; in dce112_compressor_construct()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c8314 u16 *allocated_size) in hclge_set_umv_space() argument
8332 *allocated_size = le32_to_cpu(desc.data[1]); in hclge_set_umv_space()
8339 u16 allocated_size = 0; in hclge_init_umv_space() local
8342 ret = hclge_set_umv_space(hdev, hdev->wanted_umv_size, &allocated_size); in hclge_init_umv_space()
8346 if (allocated_size < hdev->wanted_umv_size) in hclge_init_umv_space()
8349 hdev->wanted_umv_size, allocated_size); in hclge_init_umv_space()
8351 hdev->max_umv_size = allocated_size; in hclge_init_umv_space()