Lines Matching defs:op
155 * @op: operation being checked
162 static int common_perm(int op, struct path *path, u32 mask,
170 error = aa_path_perm(op, profile, path, 0, mask, cond);
177 * @op: operation being checked
185 static int common_perm_dir_dentry(int op, struct path *dir,
191 return common_perm(op, &path, mask, cond);
196 * @op: operation being checked
203 static int common_perm_mnt_dentry(int op, struct vfsmount *mnt,
211 return common_perm(op, &path, mask, &cond);
216 * @op: operation being checked
223 static int common_perm_rm(int op, struct path *dir,
235 return common_perm_dir_dentry(op, dir, dentry, mask, &cond);
240 * @op: operation being checked
248 static int common_perm_create(int op, struct path *dir, struct dentry *dentry,
256 return common_perm_dir_dentry(op, dir, dentry, mask, &cond);
426 static int common_file_perm(int op, struct file *file, u32 mask)
449 error = aa_file_perm(op, profile, file, mask);
469 static int common_mmap(int op, struct file *file, unsigned long prot,
488 return common_file_perm(op, file, mask);
599 aad.op = OP_SETPROCATTR;