• Home
  • Raw
  • Download

Lines Matching refs:size

249 	unsigned long	size = vma->vm_end - vma->vm_start;  in sel_mmap_handle_status()  local
254 if (vma->vm_pgoff > 0 || size != PAGE_SIZE) in sel_mmap_handle_status()
264 size, vma->vm_page_prot); in sel_mmap_handle_status()
592 static ssize_t sel_write_context(struct file *file, char *buf, size_t size) in sel_write_context() argument
606 length = security_context_to_sid(state, buf, size, &sid, GFP_KERNEL); in sel_write_context()
763 static ssize_t sel_write_access(struct file *file, char *buf, size_t size);
764 static ssize_t sel_write_create(struct file *file, char *buf, size_t size);
765 static ssize_t sel_write_relabel(struct file *file, char *buf, size_t size);
766 static ssize_t sel_write_user(struct file *file, char *buf, size_t size);
767 static ssize_t sel_write_member(struct file *file, char *buf, size_t size);
778 static ssize_t selinux_transaction_write(struct file *file, const char __user *buf, size_t size, lo… in selinux_transaction_write() argument
787 data = simple_transaction_get(file, buf, size); in selinux_transaction_write()
791 rv = write_op[ino](file, data, size); in selinux_transaction_write()
794 rv = size; in selinux_transaction_write()
812 static ssize_t sel_write_access(struct file *file, char *buf, size_t size) in sel_write_access() argument
829 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_access()
834 tcon = kzalloc(size + 1, GFP_KERNEL); in sel_write_access()
863 static ssize_t sel_write_create(struct file *file, char *buf, size_t size) in sel_write_create() argument
884 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_create()
889 tcon = kzalloc(size + 1, GFP_KERNEL); in sel_write_create()
894 namebuf = kzalloc(size + 1, GFP_KERNEL); in sel_write_create()
967 static ssize_t sel_write_relabel(struct file *file, char *buf, size_t size) in sel_write_relabel() argument
986 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_relabel()
991 tcon = kzalloc(size + 1, GFP_KERNEL); in sel_write_relabel()
1028 static ssize_t sel_write_user(struct file *file, char *buf, size_t size) in sel_write_user() argument
1047 con = kzalloc(size + 1, GFP_KERNEL); in sel_write_user()
1052 user = kzalloc(size + 1, GFP_KERNEL); in sel_write_user()
1093 static ssize_t sel_write_member(struct file *file, char *buf, size_t size) in sel_write_member() argument
1112 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_member()
1117 tcon = kzalloc(size + 1, GFP_KERNEL); in sel_write_member()