Searched refs:allocated_size (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/hid/bpf/ |
H A D | hid_bpf_dispatch.c | 32 .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() 294 if (rdwr_buf_size + offset > ctx->allocated_size) in hid_bpf_get_data()
|
/linux/drivers/base/firmware_loader/ |
H A D | main.c | 143 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()
|
H A D | fallback_platform.c | 28 if (fw_priv->data && size > fw_priv->allocated_size) in firmware_fallback_platform()
|
H A D | firmware.h | 71 size_t allocated_size; member
|
H A D | sysfs.c | 338 if (offset + count > fw_priv->allocated_size) { in firmware_data_write()
|
/linux/security/integrity/ima/ |
H A D | ima_crypto.c | 238 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/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | compressor.h | 108 uint32_t allocated_size; member
|
/linux/tools/testing/selftests/hid/progs/ |
H A D | hid_bpf_helpers.h | 60 __u32 allocated_size; member
|
/linux/include/linux/ |
H A D | hid_bpf.h | 48 __u32 allocated_size; member
|
/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_compressor.c | 458 compressor->base.allocated_size = 0; in dce110_compressor_construct()
|
/linux/drivers/gpu/drm/amd/display/dc/dce112/ |
H A D | dce112_compressor.c | 811 compressor->base.allocated_size = 0; in dce112_compressor_construct()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 8397 u16 *allocated_size) in hclge_set_umv_space() argument 8415 *allocated_size = le32_to_cpu(desc.data[1]); in hclge_set_umv_space() 8422 u16 allocated_size = 0; in hclge_init_umv_space() local 8425 ret = hclge_set_umv_space(hdev, hdev->wanted_umv_size, &allocated_size); in hclge_init_umv_space() 8429 if (allocated_size < hdev->wanted_umv_size) in hclge_init_umv_space() 8432 hdev->wanted_umv_size, allocated_size); in hclge_init_umv_space() 8434 hdev->max_umv_size = allocated_size; in hclge_init_umv_space()
|