Lines Matching refs:rej
117 hwcap1_check(Syscapset *scapset, Xword val, Rej_desc *rej)
126 if (rej) {
129 rej->rej_type = SGS_REJ_HWCAP_1;
130 rej->rej_str = conv_cap_val_hw1(mval,
142 hwcap2_check(Syscapset *scapset, Xword val, Rej_desc *rej)
150 if (rej) {
153 rej->rej_type = SGS_REJ_HWCAP_2;
154 rej->rej_str = conv_cap_val_hw2(mval,
167 sfcap1_check(Syscapset *scapset, Xword val, Rej_desc *rej)
177 if (rej) {
180 rej->rej_type = SGS_REJ_SFCAP_1;
181 rej->rej_str = conv_cap_val_sf1(SF1_SUNW_ADDR32,
194 platcap_check(Syscapset *scapset, const char *str, Rej_desc *rej)
205 if (rej) {
213 rej->rej_type = SGS_REJ_PLATCAP;
214 rej->rej_str = stravl_insert(str, 0, 0, 0);
225 machcap_check(Syscapset *scapset, const char *str, Rej_desc *rej)
236 if (rej) {
244 rej->rej_type = SGS_REJ_MACHCAP;
245 rej->rej_str = stravl_insert(str, 0, 0, 0);
256 cap_check(Cap *cptr, char *strs, int alt, Fdesc *fdp, Rej_desc *rej)
286 if (hwcap1_check(scapset, val, rej) == 0)
292 if (sfcap1_check(scapset, val, rej) == 0)
298 if (hwcap2_check(scapset, val, rej) == 0)
315 if (platcap_check(scapset, str, rej) == 0)
333 if (machcap_check(scapset, str, rej) == 0)
347 rej->rej_type = SGS_REJ_UNKCAP;
348 rej->rej_info = cptr->c_tag;
427 cap_check_lmp(Rt_map *lmp, Rej_desc *rej)
433 (FLAGS1(lmp) & FL1_RT_ALTCAP), NULL, rej));
443 cap_check_fdesc(Fdesc *fdp, Cap *cptr, char *strs, Rej_desc *rej)
487 fdp, rej));
516 uint_t flags, Rej_desc *rej, int *in_nfavl)
538 rejection_inherit(rej, &_rej);
588 rejection_inherit(rej, &_rej);
663 Rej_desc rej = { 0 };
665 if (cap_dir(&fdalp, lml, dir, flmp, flags, &rej, in_nfavl) == 0)
690 (flags | FLG_RT_PUBHDL), &ghp, fdp, &rej, in_nfavl);
785 uint_t mode, uint_t flags, Grp_hdl **hdl, Rej_desc *rej, int *in_nfavl)
796 if (cap_dir(&fdalp, lml, dir, clmp, flags, rej, in_nfavl) == 0)
807 flags, hdl, &fd, rej, in_nfavl)) != NULL))