Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 53) sorted by relevance

123

/security/apparmor/
Dpolicy_unpack.c179 struct aa_loaddata *aa_loaddata_alloc(size_t size) in aa_loaddata_alloc()
198 static bool inbounds(struct aa_ext *e, size_t size) in inbounds()
221 size_t size = 0; in unpack_u16_chunk() local
278 size_t size = unpack_u16_chunk(e, &tag); in unpack_nameX() local
355 int size; in unpack_array() local
373 u32 size; in unpack_blob() local
393 size_t size = 0; in unpack_str() local
442 size_t size; in unpack_dfa() local
480 int i, size; in unpack_trans_table() local
548 int i, size; in unpack_xattrs() local
[all …]
Dapparmorfs.c413 static ssize_t policy_update(u32 mask, const char __user *buf, size_t size, in policy_update()
441 static ssize_t profile_load(struct file *f, const char __user *buf, size_t size, in profile_load()
459 size_t size, loff_t *pos) in profile_replace()
476 size_t size, loff_t *pos) in profile_remove()
533 size_t size, loff_t *ppos) in ns_revision_read()
811 ssize_t size; member
860 size_t size) in multi_transaction_new()
878 size_t size, loff_t *pos) in multi_transaction_read()
1108 unsigned int i, size = aa_hash_size(); in seq_profile_hash_show() local
1272 unsigned int i, size = aa_hash_size(); in seq_rawdata_hash_show() local
[all …]
Dprocattr.c102 int aa_setprocattr_changehat(char *args, size_t size, int flags) in aa_setprocattr_changehat()
Dlabel.c401 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp) in aa_label_init()
426 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp) in aa_label_alloc()
1459 #define update_for_len(total, len, size, str) \ argument
1484 static int aa_profile_snxprint(char *str, size_t size, struct aa_ns *view, in aa_profile_snxprint()
1595 int aa_label_snxprint(char *str, size_t size, struct aa_ns *ns, in aa_label_snxprint()
1662 int size; in aa_label_asxprint() local
1691 int size; in aa_label_acntsxprint() local
/security/selinux/ss/
Dsymtab.c15 unsigned int size; in symhash() local
36 int symtab_init(struct symtab *s, unsigned int size) in symtab_init()
Dhashtab.h24 u32 size; /* number of slots in hash table */ member
Dservices.h23 u16 size; /* array size of mapping */ member
Dhashtab.c17 u32 size) in hashtab_create()
/security/
Dcommoncap.c345 static bool is_v2header(size_t size, const struct vfs_cap_data *cap) in is_v2header()
352 static bool is_v3header(size_t size, const struct vfs_cap_data *cap) in is_v3header()
373 int size, ret; in cap_inode_getsecurity() local
454 static kuid_t rootid_from_xattr(const void *value, size_t size, in rootid_from_xattr()
466 static bool validheader(size_t size, const struct vfs_cap_data *cap) in validheader()
477 int cap_convert_nscap(struct dentry *dentry, void **ivalue, size_t size) in cap_convert_nscap()
577 int size; in get_vfs_caps_from_disk() local
914 const void *value, size_t size, int flags) in cap_inode_setxattr()
/security/integrity/ima/
Dima_main.c193 u32 secid, char *buf, loff_t size, int mask, in process_measurement()
543 int ima_post_read_file(struct file *file, void *buf, loff_t size, in ima_post_read_file()
634 static void process_buffer_measurement(const void *buf, int size, in process_buffer_measurement()
687 void ima_kexec_cmdline(const void *buf, int size) in ima_kexec_cmdline()
Dima_queue.c77 int size = 0; in get_binary_runtime_size() local
117 int size; in ima_add_digest_entry() local
Dima_crypto.c38 unsigned long long size; in param_set_bufsize() local
158 static void ima_free_pages(void *ptr, size_t size) in ima_free_pages()
588 static int calc_buffer_shash_tfm(const void *buf, loff_t size, in calc_buffer_shash_tfm()
Dima_fs.c209 void ima_print_digest(struct seq_file *m, u8 *digest, u32 size) in ima_print_digest()
279 loff_t size; in ima_read_policy() local
Dima_modsig.c117 void ima_collect_modsig(struct modsig *modsig, const void *buf, loff_t size) in ima_collect_modsig()
/security/integrity/platform_certs/
Dload_uefi.c31 unsigned long size = sizeof(db); in uefi_check_ignore_db() local
42 unsigned long *size) in get_cert_list()
Defi_parser.c39 const void *data, size_t size, in parse_efi_signature_list()
/security/integrity/
Ddigsig.c148 off_t size, key_perm_t perm) in integrity_add_key()
175 loff_t size; in integrity_load_x509() local
/security/apparmor/include/
Ddomain.h20 int size; member
Dpolicy.h88 u32 size; member
143 int size; member
/security/tomoyo/
Dnetwork.c124 void tomoyo_print_ip(char *buf, const unsigned int size, in tomoyo_print_ip()
424 const u8 size = r->param.inet_network.is_ipv6 ? 16 : 4; in tomoyo_check_inet_acl() local
759 int size) in tomoyo_socket_sendmsg_permission()
Dmemory.c74 void *tomoyo_commit_ok(void *data, const unsigned int size) in tomoyo_commit_ok()
Dgroup.c194 const u8 size = is_ipv6 ? 16 : 4; in tomoyo_address_matches_group() local
Ddomain.c31 int tomoyo_update_policy(struct tomoyo_acl_head *new_entry, const int size, in tomoyo_update_policy()
92 int tomoyo_update_domain(struct tomoyo_acl_info *new_entry, const int size, in tomoyo_update_domain()
/security/selinux/
Dselinuxfs.c249 unsigned long size = vma->vm_end - vma->vm_start; in sel_mmap_handle_status() local
592 static ssize_t sel_write_context(struct file *file, char *buf, size_t size) in sel_write_context()
778 static ssize_t selinux_transaction_write(struct file *file, const char __user *buf, size_t size, lo… in selinux_transaction_write()
812 static ssize_t sel_write_access(struct file *file, char *buf, size_t size) in sel_write_access()
863 static ssize_t sel_write_create(struct file *file, char *buf, size_t size) in sel_write_create()
967 static ssize_t sel_write_relabel(struct file *file, char *buf, size_t size) in sel_write_relabel()
1028 static ssize_t sel_write_user(struct file *file, char *buf, size_t size) in sel_write_user()
1093 static ssize_t sel_write_member(struct file *file, char *buf, size_t size) in sel_write_member()
Dnetport.c39 int size; member

123