Lines Matching refs:size

246 	unsigned long	size = vma->vm_end - vma->vm_start;
251 if (vma->vm_pgoff > 0 || size != PAGE_SIZE)
261 size, vma->vm_page_prot);
643 static ssize_t sel_write_context(struct file *file, char *buf, size_t size)
654 length = security_context_to_sid(buf, size, &sid, GFP_KERNEL);
664 pr_err("SELinux: %s: context size (%u) exceeds "
816 static ssize_t sel_write_access(struct file *file, char *buf, size_t size);
817 static ssize_t sel_write_create(struct file *file, char *buf, size_t size);
818 static ssize_t sel_write_relabel(struct file *file, char *buf, size_t size);
819 static ssize_t sel_write_user(struct file *file, char *buf, size_t size);
820 static ssize_t sel_write_member(struct file *file, char *buf, size_t size);
831 static ssize_t selinux_transaction_write(struct file *file, const char __user *buf, size_t size, loff_t *pos)
840 data = simple_transaction_get(file, buf, size);
844 rv = write_op[ino](file, data, size);
847 rv = size;
865 static ssize_t sel_write_access(struct file *file, char *buf, size_t size)
879 scon = kzalloc(size + 1, GFP_KERNEL);
884 tcon = kzalloc(size + 1, GFP_KERNEL);
913 static ssize_t sel_write_create(struct file *file, char *buf, size_t size)
931 scon = kzalloc(size + 1, GFP_KERNEL);
936 tcon = kzalloc(size + 1, GFP_KERNEL);
941 namebuf = kzalloc(size + 1, GFP_KERNEL);
999 pr_err("SELinux: %s: context size (%u) exceeds "
1014 static ssize_t sel_write_relabel(struct file *file, char *buf, size_t size)
1030 scon = kzalloc(size + 1, GFP_KERNEL);
1035 tcon = kzalloc(size + 1, GFP_KERNEL);
1072 static ssize_t sel_write_user(struct file *file, char *buf, size_t size)
1088 con = kzalloc(size + 1, GFP_KERNEL);
1093 user = kzalloc(size + 1, GFP_KERNEL);
1134 static ssize_t sel_write_member(struct file *file, char *buf, size_t size)
1150 scon = kzalloc(size + 1, GFP_KERNEL);
1155 tcon = kzalloc(size + 1, GFP_KERNEL);
1181 pr_err("SELinux: %s: context size (%u) exceeds "