Lines Matching refs:pri

1943 ioctlname(private_t *pri, uint_t code)  in ioctlname()  argument
1970 (void) sprintf(pri->code_buf, in ioctlname()
1975 (void) sprintf(pri->code_buf, in ioctlname()
1979 (void) sprintf(pri->code_buf, "(('%c'<<8)|%d)", in ioctlname()
1982 ioctl_ioccom(pri->code_buf, sizeof (pri->code_buf), in ioctlname()
1985 (void) sprintf(pri->code_buf, "0x%.4X", code); in ioctlname()
1986 str = (const char *)pri->code_buf; in ioctlname()
2123 rctl_local_action(private_t *pri, uint_t val) in rctl_local_action() argument
2127 char *s = pri->code_buf; in rctl_local_action()
2134 sizeof (pri->code_buf)); in rctl_local_action()
2139 sizeof (pri->code_buf)); in rctl_local_action()
2144 sizeof (pri->code_buf)); in rctl_local_action()
2157 rctl_local_flags(private_t *pri, uint_t val) in rctl_local_flags() argument
2160 char *s = pri->code_buf; in rctl_local_flags()
2167 sizeof (pri->code_buf)); in rctl_local_flags()
2205 openarg(private_t *pri, int arg) in openarg() argument
2207 char *str = pri->code_buf; in openarg()
2233 (void) strlcat(str, "|O_NDELAY", sizeof (pri->code_buf)); in openarg()
2235 (void) strlcat(str, "|O_APPEND", sizeof (pri->code_buf)); in openarg()
2237 (void) strlcat(str, "|O_SYNC", sizeof (pri->code_buf)); in openarg()
2239 (void) strlcat(str, "|O_DSYNC", sizeof (pri->code_buf)); in openarg()
2241 (void) strlcat(str, "|O_NONBLOCK", sizeof (pri->code_buf)); in openarg()
2243 (void) strlcat(str, "|O_CREAT", sizeof (pri->code_buf)); in openarg()
2245 (void) strlcat(str, "|O_TRUNC", sizeof (pri->code_buf)); in openarg()
2247 (void) strlcat(str, "|O_EXCL", sizeof (pri->code_buf)); in openarg()
2249 (void) strlcat(str, "|O_NOCTTY", sizeof (pri->code_buf)); in openarg()
2251 (void) strlcat(str, "|O_LARGEFILE", sizeof (pri->code_buf)); in openarg()
2253 (void) strlcat(str, "|O_RSYNC", sizeof (pri->code_buf)); in openarg()
2255 (void) strlcat(str, "|O_XATTR", sizeof (pri->code_buf)); in openarg()
2257 (void) strlcat(str, "|O_NOFOLLOW", sizeof (pri->code_buf)); in openarg()
2259 (void) strlcat(str, "|O_NOLINKS", sizeof (pri->code_buf)); in openarg()
2261 (void) strlcat(str, "|O_CLOEXEC", sizeof (pri->code_buf)); in openarg()
2263 (void) strlcat(str, "|O_DIRECTORY", sizeof (pri->code_buf)); in openarg()
2265 (void) strlcat(str, "|O_DIRECT", sizeof (pri->code_buf)); in openarg()
2267 (void) strlcat(str, "|O_CLOFORK", sizeof (pri->code_buf)); in openarg()
2269 (void) strlcat(str, "|FXATTRDIROPEN", sizeof (pri->code_buf)); in openarg()
2293 ipcflags(private_t *pri, int arg) in ipcflags() argument
2295 char *str = pri->code_buf; in ipcflags()
2315 msgflags(private_t *pri, int arg) in msgflags() argument
2322 str = ipcflags(pri, arg); in msgflags()
2333 semflags(private_t *pri, int arg) in semflags() argument
2340 str = ipcflags(pri, arg); in semflags()
2351 shmflags(private_t *pri, int arg) in shmflags() argument
2358 str = ipcflags(pri, arg); in shmflags()
2464 strevents(private_t *pri, int arg) in strevents() argument
2466 char *str = pri->code_buf; in strevents()
2489 tiocflush(private_t *pri, int arg) /* bit map passsed by TIOCFLUSH */ in tiocflush() argument
2491 char *str = pri->code_buf; in tiocflush()
2523 mountflags(private_t *pri, int arg) /* bit map of mount syscall flags */ in mountflags() argument
2525 char *str = pri->code_buf; in mountflags()
2533 used = strlcat(str, "|MS_RDONLY", sizeof (pri->code_buf)); in mountflags()
2535 used = strlcat(str, "|MS_FSS", sizeof (pri->code_buf)); in mountflags()
2537 used = strlcat(str, "|MS_DATA", sizeof (pri->code_buf)); in mountflags()
2539 used = strlcat(str, "|MS_NOSUID", sizeof (pri->code_buf)); in mountflags()
2541 used = strlcat(str, "|MS_REMOUNT", sizeof (pri->code_buf)); in mountflags()
2543 used = strlcat(str, "|MS_NOTRUNC", sizeof (pri->code_buf)); in mountflags()
2545 used = strlcat(str, "|MS_OVERLAY", sizeof (pri->code_buf)); in mountflags()
2547 used = strlcat(str, "|MS_OPTIONSTR", sizeof (pri->code_buf)); in mountflags()
2549 used = strlcat(str, "|MS_GLOBAL", sizeof (pri->code_buf)); in mountflags()
2551 used = strlcat(str, "|MS_FORCE", sizeof (pri->code_buf)); in mountflags()
2553 used = strlcat(str, "|MS_NOMNTTAB", sizeof (pri->code_buf)); in mountflags()
2555 if (used == 0 || used >= sizeof (pri->code_buf)) in mountflags()
2562 svfsflags(private_t *pri, ulong_t arg) /* bit map of statvfs syscall flags */ in svfsflags() argument
2564 char *str = pri->code_buf; in svfsflags()
2596 fuflags(private_t *pri, int arg) /* fusers() output flags */ in fuflags() argument
2598 char *str = pri->code_buf; in fuflags()