Searched refs:cp_flags (Results 1 – 4 of 4) sorted by relevance
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;[all …]
130 if((g.cp_flags & (CPF_USED | CPF_VALID)) != in verify_grant()133 "(0x%x, 0x%lx)\n", grant, g.cp_flags); in verify_grant()148 if((g.cp_flags & CPF_INDIRECT)) { in verify_grant()173 } while(g.cp_flags & CPF_INDIRECT); in verify_grant()176 if(((g.cp_flags & access) != access)) { in verify_grant()179 access, g.cp_flags); in verify_grant()183 if((g.cp_flags & CPF_DIRECT)) { in verify_grant()217 } else if(g.cp_flags & CPF_MAGIC) { in verify_grant()258 if (sfinfo != NULL && (sfinfo->try = !!(g.cp_flags & CPF_TRY))) { in verify_grant()
99 int cp_flags; /* misc. flags */ member
10 int cp_flags; /* CPF_* below */ member