Lines Matching refs:cp_flags
35 if(!(grants[GRANT_IDX(gid)].cp_flags & CPF_USED)) { \
100 new_grants[g].cp_flags = 0; in cpf_prealloc()
144 assert(!(grants[g].cp_flags & CPF_USED)); in cpf_new_grantslot()
169 grants[g].cp_flags = access | CPF_DIRECT | CPF_USED | CPF_VALID; in cpf_grant_direct()
192 grants[g].cp_flags = CPF_USED | CPF_INDIRECT | CPF_VALID; in cpf_grant_indirect()
217 grants[g].cp_flags = CPF_USED | CPF_MAGIC | CPF_VALID | access; in cpf_grant_magic()
243 r = ((grants[g].cp_flags & CPF_TRY) && in cpf_revoke()
250 grants[g].cp_flags = 0; in cpf_revoke()
292 grants[grant_ids[i]].cp_flags = CPF_USED; in cpf_getgrants()
312 grants[gid].cp_flags = access | CPF_DIRECT | CPF_USED | CPF_VALID;
329 grants[gid].cp_flags = CPF_USED | CPF_INDIRECT | CPF_VALID;
349 grants[gid].cp_flags = CPF_USED | CPF_MAGIC | CPF_VALID | access;
365 grants[gid].cp_flags = CPF_USED;