Lines Matching refs:rej

128 hwcap1_check(Syscapset *scapset, Xword val, Rej_desc *rej)  in hwcap1_check()  argument
137 if (rej) { in hwcap1_check()
140 rej->rej_type = SGS_REJ_HWCAP_1; in hwcap1_check()
141 rej->rej_str = conv_cap_val_hw1(mval, in hwcap1_check()
153 hwcap2_check(Syscapset *scapset, Xword val, Rej_desc *rej) in hwcap2_check() argument
161 if (rej) { in hwcap2_check()
164 rej->rej_type = SGS_REJ_HWCAP_2; in hwcap2_check()
165 rej->rej_str = conv_cap_val_hw2(mval, in hwcap2_check()
177 hwcap3_check(Syscapset *scapset, Xword val, Rej_desc *rej) in hwcap3_check() argument
185 if (rej) { in hwcap3_check()
188 rej->rej_type = SGS_REJ_HWCAP_3; in hwcap3_check()
189 rej->rej_str = conv_cap_val_hw3(mval, in hwcap3_check()
202 sfcap1_check(Syscapset *scapset, Xword val, Rej_desc *rej) in sfcap1_check() argument
212 if (rej) { in sfcap1_check()
215 rej->rej_type = SGS_REJ_SFCAP_1; in sfcap1_check()
216 rej->rej_str = conv_cap_val_sf1(SF1_SUNW_ADDR32, in sfcap1_check()
229 platcap_check(Syscapset *scapset, const char *str, Rej_desc *rej) in platcap_check() argument
240 if (rej) { in platcap_check()
248 rej->rej_type = SGS_REJ_PLATCAP; in platcap_check()
249 rej->rej_str = stravl_insert(str, 0, 0, 0); in platcap_check()
260 machcap_check(Syscapset *scapset, const char *str, Rej_desc *rej) in machcap_check() argument
271 if (rej) { in machcap_check()
279 rej->rej_type = SGS_REJ_MACHCAP; in machcap_check()
280 rej->rej_str = stravl_insert(str, 0, 0, 0); in machcap_check()
291 cap_check(Cap *cptr, char *strs, int alt, Fdesc *fdp, Rej_desc *rej) in cap_check() argument
321 if (hwcap1_check(scapset, val, rej) == 0) in cap_check()
327 if (sfcap1_check(scapset, val, rej) == 0) in cap_check()
333 if (hwcap2_check(scapset, val, rej) == 0) in cap_check()
350 if (platcap_check(scapset, str, rej) == 0) in cap_check()
368 if (machcap_check(scapset, str, rej) == 0) in cap_check()
382 if (hwcap3_check(scapset, val, rej) == 0) in cap_check()
388 rej->rej_type = SGS_REJ_UNKCAP; in cap_check()
389 rej->rej_info = cptr->c_tag; in cap_check()
468 cap_check_lmp(Rt_map *lmp, Rej_desc *rej) in cap_check_lmp() argument
474 (FLAGS1(lmp) & FL1_RT_ALTCAP), NULL, rej)); in cap_check_lmp()
484 cap_check_fdesc(Fdesc *fdp, Cap *cptr, char *strs, Rej_desc *rej) in cap_check_fdesc() argument
528 fdp, rej)); in cap_check_fdesc()
557 uint_t flags, Rej_desc *rej, int *in_nfavl) in cap_dir() argument
579 rejection_inherit(rej, &_rej); in cap_dir()
629 rejection_inherit(rej, &_rej); in cap_dir()
704 Rej_desc rej = { 0 }; in cap_filtees() local
706 if (cap_dir(&fdalp, lml, dir, flmp, flags, &rej, in_nfavl) == 0) in cap_filtees()
731 (flags | FLG_RT_PUBHDL), &ghp, fdp, &rej, in_nfavl); in cap_filtees()
826 uint_t mode, uint_t flags, Grp_hdl **hdl, Rej_desc *rej, int *in_nfavl) in load_cap() argument
837 if (cap_dir(&fdalp, lml, dir, clmp, flags, rej, in_nfavl) == 0) in load_cap()
848 flags, hdl, &fd, rej, in_nfavl)) != NULL)) in load_cap()