/linux-master/include/linux/ |
H A D | getcpu.h | 16 unsigned long blob[128 / sizeof(long)]; member in struct:getcpu_cache
|
/linux-master/drivers/media/test-drivers/visl/ |
H A D | visl-debugfs.c | 43 struct visl_blob *blob; local 48 blob = kzalloc(sizeof(*blob), GFP_KERNEL); 49 if (!blob) 52 blob->blob.data = vzalloc(data_sz); 53 if (!blob->blob.data) 56 blob->blob 82 struct visl_blob *blob; local [all...] |
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | papr-vpd.c | 122 * Internal VPD "blob" APIs for accumulating ibm,get-vpd results into 130 static bool vpd_blob_has_data(const struct vpd_blob *blob) argument 132 return blob->data && blob->len; 135 static void vpd_blob_free(const struct vpd_blob *blob) argument 137 if (blob) { 138 kvfree(blob->data); 139 kfree(blob); 145 * @blob: The blob t 152 vpd_blob_extend(struct vpd_blob *blob, const char *data, size_t len) argument 188 struct vpd_blob *blob; local 358 const struct vpd_blob *blob; local 389 const struct vpd_blob *blob; local 413 const struct vpd_blob *blob = file->private_data; local 426 const struct vpd_blob *blob = file->private_data; local 435 const struct vpd_blob *blob = file->private_data; local 467 const struct vpd_blob *blob; local [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_property.c | 514 * NOTE: The idea seems to have been to use this to read all the blob 517 * read the value for a blob property. It also doesn't make a lot of 529 struct drm_property_blob *blob = local 532 mutex_lock(&blob->dev->mode_config.blob_lock); 533 list_del(&blob->head_global); 534 mutex_unlock(&blob->dev->mode_config.blob_lock); 536 drm_mode_object_unregister(blob->dev, &blob->base); 538 kvfree(blob); 542 * drm_property_create_blob - Create new blob propert 559 struct drm_property_blob *blob; local 601 drm_property_blob_put(struct drm_property_blob *blob) argument 613 struct drm_property_blob *blob, *bt; local 632 drm_property_blob_get(struct drm_property_blob *blob) argument 655 struct drm_property_blob *blob = NULL; local 739 drm_property_replace_blob(struct drm_property_blob **blob, struct drm_property_blob *new_blob) argument 771 drm_property_replace_blob_from_id(struct drm_device *dev, struct drm_property_blob **blob, uint64_t blob_id, ssize_t expected_size, ssize_t expected_elem_size, bool *replaced) argument 817 struct drm_property_blob *blob; local 846 struct drm_property_blob *blob; local 882 struct drm_property_blob *blob = NULL, *bt; local 961 struct drm_property_blob *blob; local [all...] |
/linux-master/security/apparmor/include/ |
H A D | cred.h | 24 struct aa_label **blob = cred->security + apparmor_blob_sizes.lbs_cred; local 26 AA_BUG(!blob); 27 return *blob; 33 struct aa_label **blob = cred->security + apparmor_blob_sizes.lbs_cred; local 35 AA_BUG(!blob); 36 *blob = label;
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_firmware.c | 66 struct ia_css_blob_descr *sh_css_blob_info; /* Only ISP blob info (no SP) */ 90 blob_data = fw_data + fw->blob.offset; 94 sh_css_fw->blob.code = vmalloc(fw->blob.size); 95 if (!sh_css_fw->blob.code) 98 memcpy((void *)sh_css_fw->blob.code, blob_data, fw->blob.size); 99 sh_css_fw->blob.data = (char *)sh_css_fw->blob.code + fw->blob 111 const unsigned char *blob; local 379 sh_css_load_blob(const unsigned char *blob, unsigned int size) argument [all...] |
H A D | sh_css_firmware.h | 48 ia_css_ptr sh_css_load_blob(const unsigned char *blob, unsigned int size);
|
/linux-master/drivers/of/ |
H A D | fdt_address.c | 40 void (*count_cells)(const void *blob, int parentoffset, 48 static void __init fdt_bus_default_count_cells(const void *blob, int parentoffset, argument 54 prop = fdt_getprop(blob, parentoffset, "#address-cells", NULL); 62 prop = fdt_getprop(blob, parentoffset, "#size-cells", NULL); 109 static int __init fdt_translate_one(const void *blob, int parent, argument 119 ranges = fdt_getprop(blob, parent, rprop, &rlen); 163 static u64 __init fdt_translate_address(const void *blob, int node_offset) argument 173 fdt_get_name(blob, node_offset, NULL)); 175 reg = fdt_getprop(blob, node_offset, "reg", &len); 178 fdt_get_name(blob, node_offse [all...] |
/linux-master/scripts/dtc/ |
H A D | fdtoverlay.c | 25 "apply a number of overlays to a base blob\n" 37 "Input base DT blob", 38 "Output DT blob", 54 * both the base blob and the overlay 97 char *blob = NULL; local 102 blob = utilfdt_read(input_filename, &buf_len); 103 if (!blob) { 107 if (fdt_totalsize(blob) > buf_len) { 109 "\nBase blob is incomplete (%lu / %" PRIu32 " bytes read)\n", 110 (unsigned long)buf_len, fdt_totalsize(blob)); [all...] |
H A D | fdtput.c | 120 static int store_key_value(void *blob, const char *node_name, argument 126 node = fdt_path_offset(blob, node_name); 132 err = fdt_setprop(blob, node, property, buf, len); 146 * @param blob FDT blob to write into 150 static int create_paths(void *blob, const char *in_path) argument 166 node = fdt_subnode_offset_namelen(blob, offset, path, 169 node = fdt_add_subnode_namelen(blob, offset, path, 188 * @param blob FDT blob t 192 create_node(void *blob, const char *node_name) argument 225 char *blob; local [all...] |
H A D | fdtget.c | 104 * @param blob FDT blob 108 static int list_properties(const void *blob, int node) argument 114 prop = fdt_first_property_offset(blob, node); 119 data = fdt_get_property_by_offset(blob, prop, NULL); 120 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); 123 prop = fdt_next_property_offset(blob, prop); 132 * @param blob FDT blob 136 static int list_subnodes(const void *blob, in argument 192 show_data_for_item(const void *blob, struct display_info *disp, int node, const char *property) argument 239 char *blob; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | lut.c | 32 nv50_lut_load(struct nv50_lut *lut, int buffer, struct drm_property_blob *blob, argument 35 struct drm_color_lut *in = blob ? blob->data : NULL; 52 load(in, drm_color_lut_size(blob), mem);
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | os.h | 31 nvkm_blob_dtor(struct nvkm_blob *blob) argument 33 kfree(blob->data); 34 blob->data = NULL; 35 blob->size = 0;
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
H A D | ga102.c | 42 ga102_gsp_booter_ctor(struct nvkm_gsp *gsp, const char *name, const struct firmware *blob, argument 53 hdr = nvfw_bin_hdr(subdev, blob->data); 54 hshdr = nvfw_hs_header_v2(subdev, blob->data + hdr->header_offset); 55 meta = (u32 *)(blob->data + hshdr->meta_data_offset); 56 loc = *(u32 *)(blob->data + hshdr->patch_loc); 57 sig = *(u32 *)(blob->data + hshdr->patch_sig); 58 cnt = *(u32 *)(blob->data + hshdr->num_sig); 61 blob->data + hdr->data_offset, hdr->data_size, falcon, fw); 65 ret = nvkm_falcon_fw_sign(fw, loc, hshdr->sig_prod_size / cnt, blob->data, 70 lhdr = nvfw_hs_load_header_v2(subdev, blob [all...] |
H A D | tu102.c | 31 tu102_gsp_booter_ctor(struct nvkm_gsp *gsp, const char *name, const struct firmware *blob, argument 42 hdr = nvfw_bin_hdr(subdev, blob->data); 43 hshdr = nvfw_hs_header_v2(subdev, blob->data + hdr->header_offset); 44 loc = *(u32 *)(blob->data + hshdr->patch_loc); 45 sig = *(u32 *)(blob->data + hshdr->patch_sig); 46 cnt = *(u32 *)(blob->data + hshdr->num_sig); 49 blob->data + hdr->data_offset, hdr->data_size, falcon, fw); 53 ret = nvkm_falcon_fw_sign(fw, loc, hshdr->sig_prod_size / cnt, blob->data, 58 lhdr = nvfw_hs_load_header_v2(subdev, blob->data + hshdr->header_offset);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | fw.c | 210 const struct firmware *blob; local 218 ret = nvkm_firmware_load_name(subdev, img, "", ver, &blob); 222 hdr = nvfw_bin_hdr(subdev, blob->data); 223 hshdr = nvfw_hs_header(subdev, blob->data + hdr->header_offset); 226 blob->data + hdr->data_offset, hdr->data_size, falcon, fw); 236 loc = *(u32 *)(blob->data + hshdr->patch_loc); 237 sig = *(u32 *)(blob->data + hshdr->patch_sig); 249 ret = nvkm_falcon_fw_sign(fw, loc, hshdr->sig_prod_size, blob->data, 255 lhdr = nvfw_hs_load_header(subdev, blob->data + hshdr->hdr_offset); 271 nvkm_firmware_put(blob); 306 const struct firmware *blob; local [all...] |
/linux-master/security/keys/trusted-keys/ |
H A D | trusted_tpm2.c | 79 work1 = payload->blob; 80 work1 = asn1_encode_sequence(work1, work1 + sizeof(payload->blob), 85 return work1 - payload->blob; 102 u8 *blob; local 106 ret = asn1_ber_decoder(&tpm2key_decoder, &ctx, payload->blob, 114 blob = kmalloc(ctx.priv_len + ctx.pub_len + 4, GFP_KERNEL); 115 if (!blob) 118 *buf = blob; 121 memcpy(blob, ctx.priv, ctx.priv_len); 122 blob 369 u8 *blob, *pub; local [all...] |
H A D | trusted_caam.c | 10 #include <soc/fsl/caam-blob.h> 24 .output = p->blob, .output_len = MAX_BLOB_SIZE, 40 .input = p->blob, .input_len = p->blob_len,
|
/linux-master/include/drm/ |
H A D | drm_atomic_uapi.h | 46 struct drm_property_blob *blob);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | kptr_xchg_inline.c | 12 char blob[32]; member in struct:bin_data
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gk20a.c | 37 gk20a_gr_av_to_init_(struct nvkm_blob *blob, u8 count, u32 pitch, struct gf100_gr_pack **ppack) argument 44 nent = (blob->size / sizeof(struct gk20a_fw_av)); 54 struct gk20a_fw_av *av = &((struct gk20a_fw_av *)blob->data)[i]; 67 gk20a_gr_av_to_init(struct nvkm_blob *blob, struct gf100_gr_pack **ppack) argument 69 return gk20a_gr_av_to_init_(blob, 1, 1, ppack); 80 gk20a_gr_aiv_to_init(struct nvkm_blob *blob, struct gf100_gr_pack **ppack) argument 87 nent = (blob->size / sizeof(struct gk20a_fw_aiv)); 97 struct gk20a_fw_aiv *av = &((struct gk20a_fw_aiv *)blob->data)[i]; 110 gk20a_gr_av_to_method(struct nvkm_blob *blob, struct gf100_gr_pack **ppack) argument 120 nent = (blob 281 struct nvkm_blob blob; local [all...] |
H A D | ga102.c | 241 ga102_gr_av64_to_init(struct nvkm_blob *blob, struct gf100_gr_pack **ppack) argument 248 nent = (blob->size / sizeof(struct netlist_av64)); 259 struct netlist_av64 *av = &((struct netlist_av64 *)blob->data)[i]; 293 struct nvkm_blob blob = { local 306 case 4: gk20a_gr_av_to_init(&blob, &gr->bundle); break; 307 case 5: gk20a_gr_aiv_to_init(&blob, &gr->sw_ctx); break; 308 case 7: gk20a_gr_av_to_method(&blob, &gr->method); break; 309 case 28: tu102_gr_av_to_init_veid(&blob, &gr->bundle_veid); break; 310 case 34: ga102_gr_av64_to_init(&blob, &gr->bundle64); break; 311 case 48: gk20a_gr_av_to_init(&blob, [all...] |
/linux-master/drivers/staging/rtl8192e/rtl8192e/ |
H A D | r8192E_firmware.c | 90 static bool _rtl92e_fw_prepare(struct net_device *dev, struct rt_fw_blob *blob, argument 109 memset(blob->data, 0, padding); 111 memset(blob->data + padding + fw->size, 0, 4); 112 memcpy(blob->data + padding, fw->data, fw->size); 114 blob->size = round_up(fw->size, 4) + padding; 117 for (i = padding; i < blob->size; i += 4) { 118 u32 *data = (u32 *)(blob->data + i);
|
/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3-css-fw.c | 19 bi->type, bi->blob.size, name); 150 const char *name = (void *)css->fwp + bi->blob.prog_name_offset; 153 if (bi->blob.prog_name_offset >= css->fw->size) 155 len = strnlen(name, css->fw->size - bi->blob.prog_name_offset); 156 if (len + 1 > css->fw->size - bi->blob.prog_name_offset || 160 if (bi->blob.size != bi->blob.text_size + bi->blob.icache_size 161 + bi->blob.data_size + bi->blob 245 void *blob = (void *)css->fwp + bi->blob.offset; local [all...] |
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc_fw.c | 250 const struct uc_fw_blob blob; member in struct:uc_fw_platform_requirement 257 .blob = uc_, \ 308 const struct uc_fw_blob *blob = &fw_blobs[i].blob; local 318 * Continuing an earlier search after a found blob failed to load. 322 if (uc_fw->file_selected.path == blob->path) 328 uc_fw->file_selected.path = blob->path; 329 uc_fw->file_wanted.path = blob->path; 330 uc_fw->file_wanted.ver.major = blob->major; 331 uc_fw->file_wanted.ver.minor = blob [all...] |