Home
last modified time | relevance | path

Searched refs:blob (Results 1 – 25 of 58) sorted by relevance

123

/linux-3.3/drivers/of/
Dfdt.c28 char *of_fdt_get_string(struct boot_param_header *blob, u32 offset) in of_fdt_get_string() argument
30 return ((char *)blob) + in of_fdt_get_string()
31 be32_to_cpu(blob->off_dt_strings) + offset; in of_fdt_get_string()
38 void *of_fdt_get_property(struct boot_param_header *blob, in of_fdt_get_property() argument
58 if (be32_to_cpu(blob->version) < 0x10) in of_fdt_get_property()
61 nstr = of_fdt_get_string(blob, noff); in of_fdt_get_property()
86 int of_fdt_is_compatible(struct boot_param_header *blob, in of_fdt_is_compatible() argument
92 cp = of_fdt_get_property(blob, node, "compatible", &cplen); in of_fdt_is_compatible()
110 int of_fdt_match(struct boot_param_header *blob, unsigned long node, in of_fdt_match() argument
119 tmp = of_fdt_is_compatible(blob, node, *compat); in of_fdt_match()
[all …]
/linux-3.3/scripts/dtc/
Dflattree.c370 struct data blob = empty_data; in dt_to_blob() local
418 blob = data_append_data(blob, &fdt, vi->hdr_size); in dt_to_blob()
419 blob = data_append_align(blob, 8); in dt_to_blob()
420 blob = data_merge(blob, reservebuf); in dt_to_blob()
421 blob = data_append_zeroes(blob, sizeof(struct fdt_reserve_entry)); in dt_to_blob()
422 blob = data_merge(blob, dtbuf); in dt_to_blob()
423 blob = data_merge(blob, strbuf); in dt_to_blob()
429 blob = data_append_zeroes(blob, padlen); in dt_to_blob()
431 if (fwrite(blob.val, blob.len, 1, f) != 1) { in dt_to_blob()
443 data_free(blob); in dt_to_blob()
[all …]
/linux-3.3/drivers/ata/
Dpata_octeon_cf.c340 u16 blob; in octeon_cf_tf_read16() local
344 blob = __raw_readw(base + 0xc); in octeon_cf_tf_read16()
345 tf->feature = blob >> 8; in octeon_cf_tf_read16()
347 blob = __raw_readw(base + 2); in octeon_cf_tf_read16()
348 tf->nsect = blob & 0xff; in octeon_cf_tf_read16()
349 tf->lbal = blob >> 8; in octeon_cf_tf_read16()
351 blob = __raw_readw(base + 4); in octeon_cf_tf_read16()
352 tf->lbam = blob & 0xff; in octeon_cf_tf_read16()
353 tf->lbah = blob >> 8; in octeon_cf_tf_read16()
355 blob = __raw_readw(base + 6); in octeon_cf_tf_read16()
[all …]
/linux-3.3/include/linux/
Dfirmware.h31 #define DECLARE_BUILTIN_FIRMWARE(name, blob) \ argument
32 DECLARE_BUILTIN_FIRMWARE_SIZE(name, &(blob), sizeof(blob))
34 #define DECLARE_BUILTIN_FIRMWARE_SIZE(name, blob, size) \ argument
36 __used __section(.builtin_fw) = { name, blob, size }
Dof_fdt.h65 extern char *of_fdt_get_string(struct boot_param_header *blob, u32 offset);
66 extern void *of_fdt_get_property(struct boot_param_header *blob,
70 extern int of_fdt_is_compatible(struct boot_param_header *blob,
73 extern int of_fdt_match(struct boot_param_header *blob, unsigned long node,
75 extern void of_fdt_unflatten_tree(unsigned long *blob,
Dgetcpu.h15 unsigned long blob[128 / sizeof(long)]; member
Ddebugfs.h87 struct debugfs_blob_wrapper *blob);
205 struct debugfs_blob_wrapper *blob) in debugfs_create_blob() argument
/linux-3.3/security/apparmor/
Dmatch.c35 static struct table_header *unpack_table(char *blob, size_t bsize) in unpack_table() argument
47 th.td_id = be16_to_cpu(*(u16 *) (blob)) - 1; in unpack_table()
48 th.td_flags = be16_to_cpu(*(u16 *) (blob + 2)); in unpack_table()
49 th.td_lolen = be32_to_cpu(*(u32 *) (blob + 8)); in unpack_table()
50 blob += sizeof(struct table_header); in unpack_table()
64 UNPACK_ARRAY(table->td_data, blob, th.td_lolen, in unpack_table()
67 UNPACK_ARRAY(table->td_data, blob, th.td_lolen, in unpack_table()
70 UNPACK_ARRAY(table->td_data, blob, th.td_lolen, in unpack_table()
202 struct aa_dfa *aa_dfa_unpack(void *blob, size_t size, int flags) in aa_dfa_unpack() argument
206 char *data = blob; in aa_dfa_unpack()
Dpolicy_unpack.c232 static size_t unpack_blob(struct aa_ext *e, char **blob, const char *name) in unpack_blob() argument
241 *blob = e->pos; in unpack_blob()
322 char *blob = NULL; in unpack_dfa() local
326 size = unpack_blob(e, &blob, "aadfa"); in unpack_dfa()
332 size_t sz = blob - (char *)e->start; in unpack_dfa()
341 dfa = aa_dfa_unpack(blob + pad, size - pad, flags); in unpack_dfa()
/linux-3.3/Documentation/security/
Dkeys-trusted-encrypted.txt13 (integrity measurement) values, and only unsealed by the TPM, if PCRs and blob
38 pcrlock= pcr number to be extended to "lock" blob
93 $ keyctl pipe 440502848 > kmk.blob
95 Load a trusted key from the saved blob:
97 $ keyctl add trusted kmk "load `cat kmk.blob`" @u
112 $ keyctl update 268728824 "update pcrinfo=`cat pcr.blob`"
144 $ keyctl pipe 159771175 > evm.blob
146 Load an encrypted key "evm" from saved blob:
148 $ keyctl add encrypted evm "load `cat evm.blob`" @u
/linux-3.3/fs/ceph/
Dxattr.c363 ci->i_xattrs.blob ? (int)ci->i_xattrs.blob->vec.iov_len : 0); in __build_xattrs()
372 if (ci->i_xattrs.blob && ci->i_xattrs.blob->vec.iov_len > 4) { in __build_xattrs()
373 p = ci->i_xattrs.blob->vec.iov_base; in __build_xattrs()
374 end = p + ci->i_xattrs.blob->vec.iov_len; in __build_xattrs()
491 if (ci->i_xattrs.blob) in __ceph_build_xattrs_blob()
492 ceph_buffer_put(ci->i_xattrs.blob); in __ceph_build_xattrs_blob()
493 ci->i_xattrs.blob = ci->i_xattrs.prealloc_blob; in __ceph_build_xattrs_blob()
755 struct ceph_buffer *blob = NULL; in ceph_setxattr() local
759 blob = ceph_buffer_new(required_blob_size, GFP_NOFS); in ceph_setxattr()
760 if (!blob) in ceph_setxattr()
[all …]
/linux-3.3/arch/powerpc/sysdev/
Dscom.c92 struct debugfs_blob_wrapper blob; member
159 ent->blob.data = dn->full_name; in scom_debug_init_one()
160 ent->blob.size = strlen(dn->full_name); in scom_debug_init_one()
171 debugfs_create_blob("path", 0400, dir, &ent->blob); in scom_debug_init_one()
/linux-3.3/drivers/net/wireless/rt2x00/
Drt2x00debug.c591 *blob) in rt2x00debug_create_file_driver()
599 blob->data = data; in rt2x00debug_create_file_driver()
602 blob->size = strlen(blob->data); in rt2x00debug_create_file_driver()
604 return debugfs_create_blob(name, S_IRUSR, intf->driver_folder, blob); in rt2x00debug_create_file_driver()
612 *blob) in rt2x00debug_create_file_chipset()
621 blob->data = data; in rt2x00debug_create_file_chipset()
643 blob->size = strlen(blob->data); in rt2x00debug_create_file_chipset()
645 return debugfs_create_blob(name, S_IRUSR, intf->driver_folder, blob); in rt2x00debug_create_file_chipset()
/linux-3.3/arch/powerpc/platforms/powermac/
Dpfunc_core.c81 static void print_blob(const char *title, const void *blob, int bytes)
85 printk("%02x ", *((u8 *)blob));
86 blob += 1;
281 const void *blob = pmf_next_blob(cmd, bytes); in pmf_parser_write_i2c() local
284 LOG_BLOB("pmf: data: \n", blob, bytes); in pmf_parser_write_i2c()
286 PMF_PARSE_CALL(write_i2c, cmd, h, bytes, blob); in pmf_parser_write_i2c()
323 const void *blob = pmf_next_blob(cmd, bytes); in pmf_parser_write_cfg() local
326 LOG_BLOB("pmf: data: \n", blob, bytes); in pmf_parser_write_cfg()
328 PMF_PARSE_CALL(write_cfg, cmd, h, offset, bytes, blob); in pmf_parser_write_cfg()
366 const void *blob = pmf_next_blob(cmd, bytes); in pmf_parser_write_i2c_sub() local
[all …]
/linux-3.3/fs/debugfs/
Dfile.c488 struct debugfs_blob_wrapper *blob = file->private_data; in read_file_blob() local
489 return simple_read_from_buffer(user_buf, count, ppos, blob->data, in read_file_blob()
490 blob->size); in read_file_blob()
525 struct debugfs_blob_wrapper *blob) in debugfs_create_blob() argument
527 return debugfs_create_file(name, mode, parent, blob, &fops_blob); in debugfs_create_blob()
/linux-3.3/security/keys/
Dtrusted.c493 unsigned char *blob, uint32_t *bloblen, in tpm_seal() argument
594 memcpy(blob, tb->data + TPM_DATA_OFFSET, storedsize); in tpm_seal()
607 const unsigned char *blob, int bloblen, in tpm_unseal() argument
644 &ordinal, bloblen, blob, 0, 0); in tpm_unseal()
649 &ordinal, bloblen, blob, 0, 0); in tpm_unseal()
659 storebytes(tb, blob, bloblen); in tpm_unseal()
707 p->key, p->key_len + 1, p->blob, &p->blob_len, in key_seal()
729 ret = tpm_unseal(tb, o->keyhandle, o->keyauth, p->blob, p->blob_len, in key_unseal()
872 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse()
1101 bufp = hex_byte_pack(bufp, p->blob[i]); in trusted_read()
/linux-3.3/include/keys/
Dtrusted-type.h26 unsigned char blob[MAX_BLOB_SIZE]; member
/linux-3.3/Documentation/powerpc/
Dbootwrapper.txt26 tree). This image embeds a device tree blob inside
42 dtbImage.%: Similar to zImage, except device tree blob is embedded
59 a device tree blob. This image is a flat binary that
86 tree blob inside the image.
101 Image types which embed a device tree blob (simpleImage, dtbImage, treeImage,
102 and cuImage) all generate the device tree blob from a file in the
/linux-3.3/arch/powerpc/boot/
Dlibfdt-wrapper.c170 void fdt_init(void *blob) in fdt_init() argument
187 fdt = blob; in fdt_init()
/linux-3.3/Documentation/ABI/testing/
Dsysfs-firmware-gsmi29 This file takes a binary blob and passes it onto
34 requirement is that the blob be prefixed with a
/linux-3.3/drivers/gpu/drm/
Ddrm_crtc.c2830 struct drm_property_blob *blob; in drm_property_create_blob() local
2835 blob = kzalloc(sizeof(struct drm_property_blob)+length, GFP_KERNEL); in drm_property_create_blob()
2836 if (!blob) in drm_property_create_blob()
2839 blob->data = (void *)((char *)blob + sizeof(struct drm_property_blob)); in drm_property_create_blob()
2840 blob->length = length; in drm_property_create_blob()
2842 memcpy(blob->data, data, length); in drm_property_create_blob()
2844 drm_mode_object_get(dev, &blob->base, DRM_MODE_OBJECT_BLOB); in drm_property_create_blob()
2846 list_add_tail(&blob->head, &dev->mode_config.property_blob_list); in drm_property_create_blob()
2847 return blob; in drm_property_create_blob()
2851 struct drm_property_blob *blob) in drm_property_destroy_blob() argument
[all …]
/linux-3.3/net/ceph/
Dauth_x_protocol.h13 char blob[]; member
/linux-3.3/arch/powerpc/platforms/powernv/
Dpci.h134 unsigned char blob[PNV_PCI_DIAG_BUF_SIZE]; member
/linux-3.3/Documentation/devicetree/bindings/i2c/
Domap-i2c.txt19 blob so that, all the required data will be used from device tree dts
/linux-3.3/security/apparmor/include/
Dmatch.h114 struct aa_dfa *aa_dfa_unpack(void *blob, size_t size, int flags);

123