Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/hid/bpf/
Dhid_bpf_dispatch.c32 .allocated_size = hdev->bpf.allocated_data, in dispatch_hid_bpf_device_event()
68 if (ret > ctx_kern.ctx.allocated_size) in dispatch_hid_bpf_device_event()
87 .allocated_size = size, in dispatch_hid_bpf_raw_requests()
124 .allocated_size = size, in dispatch_hid_bpf_output_report()
158 .allocated_size = HID_MAX_DESCRIPTOR_SIZE, in call_hid_bpf_rdesc_fixup()
165 ctx_kern.data = kzalloc(ctx_kern.ctx.allocated_size, GFP_KERNEL); in call_hid_bpf_rdesc_fixup()
176 if (ret > ctx_kern.ctx.allocated_size) in call_hid_bpf_rdesc_fixup()
291 if (rdwr_buf_size + offset > ctx->allocated_size) in hid_bpf_get_data()
/linux-6.12.1/drivers/base/firmware_loader/
Dmain.c143 fw_priv->allocated_size = size; in __allocate_fw_priv()
218 else if (!fw_priv->allocated_size) in __free_fw_priv()
319 if (fw_priv->allocated_size) { in fw_decompress_zstd()
320 out_size = fw_priv->allocated_size; in fw_decompress_zstd()
358 if (!fw_priv->allocated_size) in fw_decompress_zstd()
365 if (err && !fw_priv->allocated_size) in fw_decompress_zstd()
400 xz_buf.out_size = fw_priv->allocated_size; in fw_decompress_xz_single()
506 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()
/linux-6.12.1/security/integrity/ima/
Dima_crypto.c238 static void *ima_alloc_pages(loff_t max_size, size_t *allocated_size, in ima_alloc_pages() argument
251 *allocated_size = PAGE_SIZE << order; in ima_alloc_pages()
265 *allocated_size = PAGE_SIZE; in ima_alloc_pages()
269 *allocated_size = 0; in ima_alloc_pages()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/
Dcompressor.h108 uint32_t allocated_size; member
/linux-6.12.1/tools/testing/selftests/hid/progs/
Dhid_bpf_helpers.h57 __u32 allocated_size; member
/linux-6.12.1/include/linux/
Dhid_bpf.h48 __u32 allocated_size; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_compressor.c458 compressor->base.allocated_size = 0; in dce110_compressor_construct()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_compressor.c811 compressor->base.allocated_size = 0; in dce112_compressor_construct()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c8381 u16 *allocated_size) in hclge_set_umv_space() argument
8399 *allocated_size = le32_to_cpu(desc.data[1]); in hclge_set_umv_space()
8406 u16 allocated_size = 0; in hclge_init_umv_space() local
8409 ret = hclge_set_umv_space(hdev, hdev->wanted_umv_size, &allocated_size); in hclge_init_umv_space()
8413 if (allocated_size < hdev->wanted_umv_size) in hclge_init_umv_space()
8416 hdev->wanted_umv_size, allocated_size); in hclge_init_umv_space()
8418 hdev->max_umv_size = allocated_size; in hclge_init_umv_space()