Home
last modified time | relevance | path

Searched refs:d (Results 1 – 13 of 13) sorted by relevance

/security/apparmor/
Dpolicy_unpack.c156 struct aa_loaddata *d = container_of(work, struct aa_loaddata, work); in do_loaddata_free() local
157 struct aa_ns *ns = aa_get_ns(d->ns); in do_loaddata_free()
161 __aa_fs_remove_rawdata(d); in do_loaddata_free()
166 kfree_sensitive(d->hash); in do_loaddata_free()
167 kfree_sensitive(d->name); in do_loaddata_free()
168 kvfree(d->data); in do_loaddata_free()
169 kfree_sensitive(d); in do_loaddata_free()
174 struct aa_loaddata *d = container_of(kref, struct aa_loaddata, count); in aa_loaddata_kref() local
176 if (d) { in aa_loaddata_kref()
177 INIT_WORK(&d->work, do_loaddata_free); in aa_loaddata_kref()
[all …]
Ddomain.c316 struct dentry *d; in aa_xattrs_match() local
326 d = bprm->file->f_path.dentry; in aa_xattrs_match()
329 size = vfs_getxattr_alloc(&init_user_ns, d, profile->xattrs[i], in aa_xattrs_match()
/security/integrity/ima/
Dima_crypto.c780 static void ima_pcrread(u32 idx, struct tpm_digest *d) in ima_pcrread() argument
785 if (tpm_pcr_read(ima_tpm_chip, idx, d) != 0) in ima_pcrread()
803 struct tpm_digest d = { .alg_id = alg_id, .digest = {0} }; in ima_calc_boot_aggregate_tfm() local
811 d.alg_id); in ima_calc_boot_aggregate_tfm()
819 ima_pcrread(i, &d); in ima_calc_boot_aggregate_tfm()
821 rc = crypto_shash_update(shash, d.digest, in ima_calc_boot_aggregate_tfm()
834 ima_pcrread(i, &d); in ima_calc_boot_aggregate_tfm()
835 rc = crypto_shash_update(shash, d.digest, in ima_calc_boot_aggregate_tfm()
/security/selinux/ss/
Dhashtab.h136 int (*apply)(void *k, void *d, void *args),
142 int (*destroy)(void *k, void *d, void *args),
Dhashtab.c86 int (*apply)(void *k, void *d, void *args), in hashtab_map() argument
135 int (*destroy)(void *k, void *d, void *args), in hashtab_duplicate() argument
Davtab.h100 const struct avtab_datum *d, void *p),
Davtab.c402 const struct avtab_datum *d, void *p), in avtab_read_item() argument
563 const struct avtab_datum *d, void *p) in avtab_insertf() argument
565 return avtab_insert(a, k, d); in avtab_insertf()
Dconditional.c260 const struct avtab_datum *d, void *ptr) in cond_insertf() argument
314 node_ptr = avtab_insert_nonunique(&p->te_cond_avtab, k, d); in cond_insertf()
Dservices.c451 static int dump_masked_av_helper(void *k, void *d, void *args) in dump_masked_av_helper() argument
453 struct perm_datum *pdatum = d; in dump_masked_av_helper()
3399 static int get_classes_callback(void *k, void *d, void *args) in get_classes_callback() argument
3401 struct class_datum *datum = d; in get_classes_callback()
3439 static int get_permissions_callback(void *k, void *d, void *args) in get_permissions_callback() argument
3441 struct perm_datum *datum = d; in get_permissions_callback()
Dpolicydb.c334 struct filename_trans_datum *next, *d = datum; in filenametr_destroy() local
339 ebitmap_destroy(&d->stypes); in filenametr_destroy()
340 next = d->next; in filenametr_destroy()
341 kfree(d); in filenametr_destroy()
342 d = next; in filenametr_destroy()
343 } while (unlikely(d)); in filenametr_destroy()
/security/smack/
Dsmack.h482 struct dentry *d) in smk_ad_setfield_u_fs_path_dentry() argument
484 a->a.u.dentry = d; in smk_ad_setfield_u_fs_path_dentry()
513 struct dentry *d) in smk_ad_setfield_u_fs_path_dentry() argument
/security/tomoyo/
Dutil.c451 unsigned char d; in tomoyo_correct_word2() local
456 d = *string++; in tomoyo_correct_word2()
458 if (d < '0' || d > '7' || e < '0' || e > '7') in tomoyo_correct_word2()
460 c = tomoyo_make_byte(c, d, e); in tomoyo_correct_word2()
/security/keys/
Dkeyring.c272 const u8 *d; in keyring_get_key_chunk() local
290 d = index_key->description + sizeof(index_key->desc); in keyring_get_key_chunk()
291 d += level * sizeof(long); in keyring_get_key_chunk()
297 chunk |= *d++; in keyring_get_key_chunk()