match_mask
static int srch_dir(const entry_t path, int match_mask, int depth,
static char *ispts(struct stat64 *fsb, int match_mask);
static char *ispty(struct stat64 *fsb, int match_mask);
uint_t match_mask);
_ttyname_common(struct stat64 *fsp, char *buffer, uint_t match_mask)
if (match_mask == MATCH_MM) {
if ((retval = ispty(fsp, match_mask)) != NULL)
if ((pt = ispts(fsp, match_mask)) != NULL) {
found = srch_dir(srch_dirs[dirno], match_mask,
found = srch_dir(dev_dir, match_mask, 0, srch_dirs, fsp);
ispts(struct stat64 *fsb, int match_mask)
if (match_mask == MATCH_MM) {
ispty(struct stat64 *fsb, int match_mask)
if (match_mask == MATCH_MM) {
int match_mask, /* flags mask */
file.flags = path.flags & match_mask;
file.flags = match_mask;
found = srch_dir(file, match_mask, depth+1,
if (match_mask & MATCH_FS &&
if (match_mask & MATCH_MM &&
if (match_mask & MATCH_INO &&
add_hook(&match_mask, BINOP_HOOK);
ipaddr_t match_mask;
match_mask = margs->ift_mask;
match_mask = ire->ire_mask;
if (ire_match_args(ire, margs->ift_addr, match_mask,