Lines Matching refs:filp
131 static ssize_t sel_read_enforce(struct file *filp, char __user *buf, in sel_read_enforce() argument
202 static ssize_t sel_read_handle_unknown(struct file *filp, char __user *buf, in sel_read_handle_unknown() argument
207 ino_t ino = file_inode(filp)->i_ino; in sel_read_handle_unknown()
220 static int sel_open_handle_status(struct inode *inode, struct file *filp) in sel_open_handle_status() argument
227 filp->private_data = status; in sel_open_handle_status()
232 static ssize_t sel_read_handle_status(struct file *filp, char __user *buf, in sel_read_handle_status() argument
235 struct page *status = filp->private_data; in sel_read_handle_status()
244 static int sel_mmap_handle_status(struct file *filp, in sel_mmap_handle_status() argument
247 struct page *status = filp->private_data; in sel_mmap_handle_status()
328 static ssize_t sel_read_policyvers(struct file *filp, char __user *buf, in sel_read_policyvers() argument
352 static ssize_t sel_read_mls(struct file *filp, char __user *buf, in sel_read_mls() argument
373 static int sel_open_policy(struct inode *inode, struct file *filp) in sel_open_policy() argument
378 BUG_ON(filp->private_data); in sel_open_policy()
407 filp->private_data = plm; in sel_open_policy()
421 static int sel_release_policy(struct inode *inode, struct file *filp) in sel_release_policy() argument
423 struct policy_load_memory *plm = filp->private_data; in sel_release_policy()
435 static ssize_t sel_read_policy(struct file *filp, char __user *buf, in sel_read_policy() argument
438 struct policy_load_memory *plm = filp->private_data; in sel_read_policy()
480 static int sel_mmap_policy(struct file *filp, struct vm_area_struct *vma) in sel_mmap_policy() argument
601 static ssize_t sel_read_checkreqprot(struct file *filp, char __user *buf, in sel_read_checkreqprot() argument
1280 static ssize_t sel_read_avc_cache_threshold(struct file *filp, char __user *buf, in sel_read_avc_cache_threshold() argument
1333 static ssize_t sel_read_avc_hash_stats(struct file *filp, char __user *buf, in sel_read_avc_hash_stats() argument