Lines Matching refs:perm_data
3058 struct perm_data *perm_data; in parse_perm_args() local
3096 perm_data = malloc(sizeof(struct perm_data)); in parse_perm_args()
3097 if (perm_data == NULL) in parse_perm_args()
3100 perm_data->op = op; in parse_perm_args()
3101 perm_data->mode = mode; in parse_perm_args()
3103 atom->data = perm_data; in parse_perm_args()
3118 struct perm_data *perm_data = atom->data; in perm_fn() local
3121 switch(perm_data->op) { in perm_fn()
3123 return (buf->st_mode & ~S_IFMT) == perm_data->mode; in perm_fn()
3125 return (buf->st_mode & perm_data->mode) == perm_data->mode; in perm_fn()
3134 return perm_data->mode == 0 || (buf->st_mode & perm_data->mode); in perm_fn()