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

/linux-master/drivers/base/firmware_loader/
H A Dfallback_platform.c28 if (fw_priv->data && size > fw_priv->allocated_size)
H A Dfirmware.h71 size_t allocated_size; member in struct:fw_priv
H A Dmain.c143 fw_priv->allocated_size = size;
218 else if (!fw_priv->allocated_size)
319 if (fw_priv->allocated_size) {
320 out_size = fw_priv->allocated_size;
358 if (!fw_priv->allocated_size)
365 if (err && !fw_priv->allocated_size)
400 xz_buf.out_size = fw_priv->allocated_size;
506 msize = fw_priv->allocated_size;
H A Dsysfs.c338 if (offset + count > fw_priv->allocated_size) {
/linux-master/drivers/gpu/drm/amd/display/dc/inc/
H A Dcompressor.h108 uint32_t allocated_size; member in struct:compressor
/linux-master/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c56 .allocated_size = hdev->bpf.allocated_data,
78 if (ret > ctx_kern.ctx.allocated_size)
115 .allocated_size = HID_MAX_DESCRIPTOR_SIZE,
119 ctx_kern.data = kzalloc(ctx_kern.ctx.allocated_size, GFP_KERNEL);
130 if (ret > ctx_kern.ctx.allocated_size)
168 if (rdwr_buf_size + offset > ctx->allocated_size)
/linux-master/tools/testing/selftests/hid/progs/
H A Dhid_bpf_helpers.h62 __u32 allocated_size; member in struct:hid_bpf_ctx
/linux-master/include/linux/
H A Dhid_bpf.h32 * @allocated_size: Allocated size of data.
45 * ``size`` must always be less or equal than ``allocated_size`` (it is enforced
52 __u32 allocated_size; member in struct:hid_bpf_ctx
/linux-master/security/integrity/ima/
H A Dima_crypto.c231 * @allocated_size: Returned size of actual allocation.
243 static void *ima_alloc_pages(loff_t max_size, size_t *allocated_size, argument
256 *allocated_size = PAGE_SIZE << order;
270 *allocated_size = PAGE_SIZE;
274 *allocated_size = 0;
/linux-master/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_compressor.c458 compressor->base.allocated_size = 0;
/linux-master/drivers/gpu/drm/amd/display/dc/dce112/
H A Ddce112_compressor.c811 compressor->base.allocated_size = 0;
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c8305 u16 *allocated_size)
8323 *allocated_size = le32_to_cpu(desc.data[1]);
8330 u16 allocated_size = 0; local
8333 ret = hclge_set_umv_space(hdev, hdev->wanted_umv_size, &allocated_size);
8337 if (allocated_size < hdev->wanted_umv_size)
8340 hdev->wanted_umv_size, allocated_size);
8342 hdev->max_umv_size = allocated_size;
8304 hclge_set_umv_space(struct hclge_dev *hdev, u16 space_size, u16 *allocated_size) argument

Completed in 203 milliseconds