Home
last modified time | relevance | path

Searched full:blob (Results 1 – 25 of 525) sorted by relevance

12345678910>>...21

/linux/drivers/gpu/drm/
H A Ddrm_property.c514 * NOTE: The idea seems to have been to use this to read all the blob in drm_mode_getproperty_ioctl()
517 * read the value for a blob property. It also doesn't make a lot of in drm_mode_getproperty_ioctl()
529 struct drm_property_blob *blob = in drm_property_free_blob() local
532 mutex_lock(&blob->dev->mode_config.blob_lock); in drm_property_free_blob()
533 list_del(&blob->head_global); in drm_property_free_blob()
534 mutex_unlock(&blob->dev->mode_config.blob_lock); in drm_property_free_blob()
536 drm_mode_object_unregister(blob->dev, &blob->base); in drm_property_free_blob()
538 kvfree(blob); in drm_property_free_blob()
542 * drm_property_create_blob - Create new blob property
544 * @length: Length to allocate for blob data
[all …]
/linux/drivers/media/test-drivers/visl/
H A Dvisl-debugfs.c43 struct visl_blob *blob; in visl_trace_bitstream() local
48 blob = kzalloc(sizeof(*blob), GFP_KERNEL); in visl_trace_bitstream()
49 if (!blob) in visl_trace_bitstream()
52 blob->blob.data = vzalloc(data_sz); in visl_trace_bitstream()
53 if (!blob->blob.data) in visl_trace_bitstream()
56 blob->blob.size = data_sz; in visl_trace_bitstream()
59 memcpy(blob->blob.data, vaddr, data_sz); in visl_trace_bitstream()
62 &blob->blob); in visl_trace_bitstream()
66 blob->dentry = dentry; in visl_trace_bitstream()
69 list_add_tail(&blob->list, &ctx->dev->bitstream_blobs); in visl_trace_bitstream()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dfw.c219 const struct firmware *blob; in nvkm_falcon_fw_ctor_hs() local
227 ret = nvkm_firmware_load_name(subdev, img, "", ver, &blob); in nvkm_falcon_fw_ctor_hs()
231 hdr = nvfw_bin_hdr(subdev, blob->data); in nvkm_falcon_fw_ctor_hs()
232 hshdr = nvfw_hs_header(subdev, blob->data + hdr->header_offset); in nvkm_falcon_fw_ctor_hs()
235 blob->data + hdr->data_offset, hdr->data_size, falcon, fw); in nvkm_falcon_fw_ctor_hs()
245 loc = *(u32 *)(blob->data + hshdr->patch_loc); in nvkm_falcon_fw_ctor_hs()
246 sig = *(u32 *)(blob->data + hshdr->patch_sig); in nvkm_falcon_fw_ctor_hs()
258 ret = nvkm_falcon_fw_sign(fw, loc, hshdr->sig_prod_size, blob->data, in nvkm_falcon_fw_ctor_hs()
264 lhdr = nvfw_hs_load_header(subdev, blob->data + hshdr->hdr_offset); in nvkm_falcon_fw_ctor_hs()
280 nvkm_firmware_put(blob); in nvkm_falcon_fw_ctor_hs()
[all …]
/linux/scripts/dtc/
H A Dfdtget.c104 * @param blob FDT blob
108 static int list_properties(const void *blob, int node) in list_properties() argument
114 prop = fdt_first_property_offset(blob, node); in list_properties()
119 data = fdt_get_property_by_offset(blob, prop, NULL); in list_properties()
120 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties()
123 prop = fdt_next_property_offset(blob, prop); in list_properties()
132 * @param blob FDT blob
136 static int list_subnodes(const void *blob, int node) in list_subnodes() argument
145 tag = fdt_next_tag(blob, node, &nextoffset); in list_subnodes()
148 pathp = fdt_get_name(blob, node, NULL); in list_subnodes()
[all …]
H A Dfdtput.c120 static int store_key_value(void *blob, const char *node_name, in store_key_value() argument
126 node = fdt_path_offset(blob, node_name); in store_key_value()
132 err = fdt_setprop(blob, node, property, buf, len); in store_key_value()
146 * @param blob FDT blob to write into
150 static int create_paths(void *blob, const char *in_path) in create_paths() argument
166 node = fdt_subnode_offset_namelen(blob, offset, path, in create_paths()
169 node = fdt_add_subnode_namelen(blob, offset, path, in create_paths()
188 * @param blob FDT blob to write into
192 static int create_node(void *blob, const char *node_name) in create_node() argument
205 node = fdt_path_offset(blob, node_name); in create_node()
[all …]
/linux/arch/s390/include/uapi/asm/
H A Dpkey.h23 #define SECKEYBLOBSIZE 64 /* secure key blob size is always 64 bytes */
24 #define PROTKEYBLOBSIZE 80 /* protected key blob size is always 80 bytes */
25 #define MAXPROTKEYSIZE 64 /* a protected key blob may be up to 64 bytes */
28 #define MINEP11AESKEYBLOBSIZE 256 /* min EP11 AES key blob size */
29 #define MAXEP11AESKEYBLOBSIZE 336 /* max EP11 AES key blob size */
31 /* Minimum size of a key blob */
89 /* Struct to hold a CCA AES secure key blob */
91 __u8 seckey[SECKEYBLOBSIZE]; /* the secure key blob */
98 __u8 protkey[MAXPROTKEYSIZE]; /* the protected key blob */
127 struct pkey_seckey seckey; /* out: the secure key blob */
[all …]
/linux/drivers/of/
H A Dfdt.c69 bool of_fdt_device_is_available(const void *blob, unsigned long node) in of_fdt_device_is_available() argument
71 const char *status = fdt_getprop(blob, node, "status", NULL); in of_fdt_device_is_available()
94 static void populate_properties(const void *blob, in populate_properties() argument
106 for (cur = fdt_first_property_offset(blob, offset); in populate_properties()
108 cur = fdt_next_property_offset(blob, cur)) { in populate_properties()
113 val = fdt_getprop_by_offset(blob, cur, &pname, &sz); in populate_properties()
191 static int populate_node(const void *blob, in populate_node() argument
202 pathp = fdt_get_name(blob, offset, &len); in populate_node()
226 populate_properties(blob, offset, mem, np, pathp, dryrun); in populate_node()
263 * @blob
270 unflatten_dt_nodes(const void * blob,void * mem,struct device_node * dad,struct device_node ** nodepp) unflatten_dt_nodes() argument
351 __unflatten_device_tree(const void * blob,struct device_node * dad,struct device_node ** mynodes,void * (* dt_alloc)(u64 size,u64 align),bool detached) __unflatten_device_tree() argument
440 of_fdt_unflatten_tree(const unsigned long * blob,struct device_node * dad,struct device_node ** mynodes) of_fdt_unflatten_tree() argument
549 const void *blob = initial_boot_params; of_scan_flat_dt() local
580 const void *blob = initial_boot_params; of_scan_flat_dt_subnodes() local
638 of_fdt_is_compatible(const void * blob,unsigned long node,const char * compat) of_fdt_is_compatible() argument
[all...]
/linux/security/ipe/
H A Dhooks.c227 * ipe_bdev_free_security() - Free IPE's LSM blob of block_devices.
233 struct ipe_bdev *blob = ipe_bdev(bdev); in ipe_bdev_free_security() local
235 ipe_digest_free(blob->root_hash); in ipe_bdev_free_security()
239 static void ipe_set_dmverity_signature(struct ipe_bdev *blob, in ipe_set_dmverity_signature() argument
243 blob->dm_verity_signed = size > 0 && value; in ipe_set_dmverity_signature()
246 static inline void ipe_set_dmverity_signature(struct ipe_bdev *blob, in ipe_set_dmverity_signature() argument
254 * ipe_bdev_setintegrity() - Save integrity data from a bdev to IPE's LSM blob.
255 * @bdev: Supplies a pointer to a block_device that contains the LSM blob.
261 * of a validated signed dm-verity root hash into LSM blob.
270 struct ipe_bdev *blob = ipe_bdev(bdev); in ipe_bdev_setintegrity() local
[all …]
/linux/include/drm/
H A Ddrm_property.h133 * Object properties work like blob properties, but in a more
138 * Blob properties store a binary blob without any format restriction.
139 * The binary blobs are created as KMS standalone objects, and blob
140 * property instance values store the ID of their associated blob
141 * object. Blob properties are created by calling
144 * Actual blob objects to contain blob data are created using
147 * Besides the built-in limit to only accept blob objects blob
149 * blob properties exist is backwards compatibility with existing
201 * struct drm_property_blob - Blob data for &drm_property
204 * @head_global: entry on the global blob list in
[all …]
H A Ddrm_color_mgmt.h81 * @blob: blob containing the LUT
84 * The number of entries in the color LUT stored in @blob.
86 static inline int drm_color_lut_size(const struct drm_property_blob *blob) in drm_color_lut_size() argument
88 return blob->length / sizeof(struct drm_color_lut); in drm_color_lut_size()
93 * @blob: blob containing the LUT
96 * The number of entries in the color LUT stored in @blob.
98 static inline int drm_color_lut32_size(const struct drm_property_blob *blob) in drm_color_lut32_size() argument
100 return blob->length / sizeof(struct drm_color_lut32); in drm_color_lut32_size()
/linux/drivers/staging/media/ipu3/
H A Dipu3-css-fw.c19 bi->type, bi->blob.size, name); in imgu_css_fw_show_binary()
152 const char *name = (void *)css->fwp + bi->blob.prog_name_offset; in imgu_css_fw_init()
155 if (bi->blob.prog_name_offset >= css->fw->size) in imgu_css_fw_init()
157 len = strnlen(name, css->fw->size - bi->blob.prog_name_offset); in imgu_css_fw_init()
158 if (len + 1 > css->fw->size - bi->blob.prog_name_offset || in imgu_css_fw_init()
162 if (bi->blob.size != bi->blob.text_size + bi->blob.icache_size in imgu_css_fw_init()
163 + bi->blob.data_size + bi->blob.padding_size) in imgu_css_fw_init()
165 if (bi->blob.offset + bi->blob.size > css->fw->size) in imgu_css_fw_init()
220 if (bi->blob.memory_offsets.offsets[IMGU_ABI_PARAM_CLASS_PARAM] in imgu_css_fw_init()
223 bi->blob.memory_offsets.offsets[IMGU_ABI_PARAM_CLASS_CONFIG] in imgu_css_fw_init()
[all …]
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c76 work1 = payload->blob; in tpm2_key_encode()
77 work1 = asn1_encode_sequence(work1, work1 + sizeof(payload->blob), in tpm2_key_encode()
86 return work1 - payload->blob; in tpm2_key_encode()
107 u8 *blob; in tpm2_key_decode() local
111 ret = asn1_ber_decoder(&tpm2key_decoder, &ctx, payload->blob, in tpm2_key_decode()
119 blob = kmalloc(ctx.priv_len + ctx.pub_len + 4, GFP_KERNEL); in tpm2_key_decode()
120 if (!blob) in tpm2_key_decode()
123 *buf = blob; in tpm2_key_decode()
126 memcpy(blob, ctx.priv, ctx.priv_len); in tpm2_key_decode()
127 blob += ctx.priv_len; in tpm2_key_decode()
[all …]
H A Dtrusted_dcp.c23 * DOC: dcp blob format
29 * key stored in the key blob.
32 * blob encryption key (BEK) and 128-bit nonce. The BEK and nonce are used to
37 * BEK-encrypted payload and authentication tag make up the blob format together
42 * struct dcp_blob_fmt - DCP BLOB format.
53 * The total size of a DCP BLOB is sizeof(struct dcp_blob_fmt) + @payload_len +
202 struct dcp_blob_fmt *b = (struct dcp_blob_fmt *)p->blob; in trusted_dcp_seal()
221 pr_err("Unable to encrypt blob payload: %i\n", ret); in trusted_dcp_seal()
227 pr_err("Unable to encrypt blob key: %i\n", ret); in trusted_dcp_seal()
244 struct dcp_blob_fmt *b = (struct dcp_blob_fmt *)p->blob; in trusted_dcp_unseal()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-qemu_fw_cfg31 The only legacy blob displayed is the fw_cfg device revision:
51 blob's 'file name' in the fw_cfg directory.
52 size The length of the blob, as given in the fw_cfg
54 key The value of the blob's selector key as given in the
57 raw The raw bytes of the blob, obtained by selecting the
59 of bytes equal to the blob size from the data
68 to give each blob a descriptive name. For example::
85 blob names, ending in symlinks to the by_key entry for each
96 of fw_cfg blob names are always "well behaved". I.e., there is
98 a dirname component of another fw_cfg blob, in which case the
H A Dsysfs-firmware-ofw35 Exports the FDT blob that was passed to the kernel by
37 as kexec to access the raw binary. This blob is also
39 made to the blob by the bootloader.
48 blob, and verified at late_initcall time. The sysfs
50 i.e., if the FDT blob has not been modified in the mean
/linux/security/
H A Dlsm_init.c264 * lsm_blob_size_update - Update the LSM blob size and offset information
265 * @sz_req: the requested additional blob size
266 * @sz_cur: the existing blob size
292 /* Register the LSM blob sizes. */ in lsm_prepare()
297 /* inode blob gets an rcu_head in addition to LSM blobs. */ in lsm_prepare()
442 lsm_pr("blob(cred) size %d\n", blob_sizes.lbs_cred); in security_init()
443 lsm_pr("blob(file) size %d\n", blob_sizes.lbs_file); in security_init()
444 lsm_pr("blob(ib) size %d\n", blob_sizes.lbs_ib); in security_init()
445 lsm_pr("blob(inode) size %d\n", blob_sizes.lbs_inode); in security_init()
446 lsm_pr("blob(ipc) size %d\n", blob_sizes.lbs_ipc); in security_init()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgk20a.c37 gk20a_gr_av_to_init_(struct nvkm_blob *blob, u8 count, u32 pitch, struct gf100_gr_pack **ppack) in gk20a_gr_av_to_init_() argument
44 nent = (blob->size / sizeof(struct gk20a_fw_av)); in gk20a_gr_av_to_init_()
54 struct gk20a_fw_av *av = &((struct gk20a_fw_av *)blob->data)[i]; in gk20a_gr_av_to_init_()
67 gk20a_gr_av_to_init(struct nvkm_blob *blob, struct gf100_gr_pack **ppack) in gk20a_gr_av_to_init() argument
69 return gk20a_gr_av_to_init_(blob, 1, 1, ppack); in gk20a_gr_av_to_init()
80 gk20a_gr_aiv_to_init(struct nvkm_blob *blob, struct gf100_gr_pack **ppack) in gk20a_gr_aiv_to_init() argument
87 nent = (blob->size / sizeof(struct gk20a_fw_aiv)); in gk20a_gr_aiv_to_init()
97 struct gk20a_fw_aiv *av = &((struct gk20a_fw_aiv *)blob->data)[i]; in gk20a_gr_aiv_to_init()
110 gk20a_gr_av_to_method(struct nvkm_blob *blob, struct gf100_gr_pack **ppack) in gk20a_gr_av_to_method() argument
120 nent = (blob->size / sizeof(struct gk20a_fw_av)); in gk20a_gr_av_to_method()
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_color.c1190 struct drm_property_blob *blob; in create_linear_lut() local
1194 blob = drm_property_create_blob(display->drm, in create_linear_lut()
1197 if (IS_ERR(blob)) in create_linear_lut()
1198 return blob; in create_linear_lut()
1200 lut = blob->data; in create_linear_lut()
1210 return blob; in create_linear_lut()
1257 const struct drm_property_blob *blob) in i9xx_load_lut_8() argument
1264 if (!blob) in i9xx_load_lut_8()
1267 lut = blob->data; in i9xx_load_lut_8()
1275 const struct drm_property_blob *blob) in i9xx_load_lut_10() argument
[all …]
/linux/include/soc/fsl/
H A Dcaam-blob.h66 * caam_blob_gen_init - initialize blob generation
74 * caam_blob_gen_exit - free blob generation resources
80 * caam_process_blob - encapsulate or decapsulate blob
82 * @info: pointer to blobbing info describing key, blob and
93 * caam_encap_blob - encapsulate blob
96 * output blob and key modifier buffers.
111 * caam_decap_blob - decapsulate blob
114 * input blob and key modifier buffers.
/linux/Documentation/security/keys/
H A Dtrusted-encrypted.rst18 - Key-blob, an encrypted key-data, created to be stored, loaded and seen by
35 key blob.
43 - Key-Blob, to be loaded, stored and seen by user-space.
102 environment. Only basic blob key encryption is executed there.
110 values, and only unsealed by the TPM, if PCRs and blob integrity
252 pcrlock= pcr number to be extended to "lock" blob
321 specific to this DCP key-blob implementation. The key length for new keys is
375 $ keyctl pipe 440502848 > kmk.blob
377 Load a trusted key from the saved blob::
379 $ keyctl add trusted kmk "load `cat kmk.blob`" @u
[all …]
/linux/drivers/ata/
H A Dpata_octeon_cf.c381 u16 blob; in octeon_cf_tf_read16() local
385 blob = __raw_readw(base + 0xc); in octeon_cf_tf_read16()
386 tf->error = blob >> 8; in octeon_cf_tf_read16()
388 blob = __raw_readw(base + 2); in octeon_cf_tf_read16()
389 tf->nsect = blob & 0xff; in octeon_cf_tf_read16()
390 tf->lbal = blob >> 8; in octeon_cf_tf_read16()
392 blob = __raw_readw(base + 4); in octeon_cf_tf_read16()
393 tf->lbam = blob & 0xff; in octeon_cf_tf_read16()
394 tf->lbah = blob >> 8; in octeon_cf_tf_read16()
396 blob = __raw_readw(base + 6); in octeon_cf_tf_read16()
[all …]
/linux/tools/testing/selftests/tpm2/
H A Dtpm2_tests.py26 blob = self.client.seal(self.root_key, data, auth, None)
27 result = self.client.unseal(self.root_key, blob, auth, None)
55 blob = self.client.seal(self.root_key, data, auth, policy_dig)
63 result = self.client.unseal(self.root_key, blob, auth, handle)
75 blob = self.client.seal(self.root_key, data, auth, None)
77 result = self.client.unseal(self.root_key, blob,
102 blob = self.client.seal(self.root_key, data, auth, policy_dig)
116 result = self.client.unseal(self.root_key, blob, auth, handle)
135 result = self.client.unseal(self.root_key, blob, auth, handle)
152 blob = self.client.seal(self.root_key, data, auth, None)
/linux/tools/perf/scripts/python/
H A Dgecko.py48 # https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/ty…
68 # https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/ty…
80 # https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/ty…
85 # https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/ty…
201 # https://github.com/firefox-devtools/profiler/blob/main/docs-developer/gecko-profile-format.md
202 …# https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/t…
207 …# https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/t…
220 …# https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/t…
230 …# https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/t…
246 …# https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/t…
[all …]
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dos.h12 nvkm_blob_dtor(struct nvkm_blob *blob) in nvkm_blob_dtor() argument
14 kfree(blob->data); in nvkm_blob_dtor()
15 blob->data = NULL; in nvkm_blob_dtor()
16 blob->size = 0; in nvkm_blob_dtor()
/linux/include/uapi/linux/
H A Dblk-crypto.h12 /* Long-term wrapped key blob (output) */
19 /* Long-term wrapped key blob (output) */
26 /* Long-term wrapped key blob (input) */
29 /* Ephemerally-wrapped key blob (output) */

12345678910>>...21