Lines Matching refs:CBSIZE
724 #define CBSIZE sizeof (pri->code_buf)
727 used = strlcpy(str, "MAP_SHARED", CBSIZE);
730 used = strlcpy(str, "MAP_PRIVATE", CBSIZE);
733 used = snprintf(str, CBSIZE, "%ld", arg&MAP_TYPE);
745 (void) strlcat(str, "|MAP_FIXED", CBSIZE);
747 (void) strlcat(str, "|MAP_RENAME", CBSIZE);
749 (void) strlcat(str, "|MAP_NORESERVE", CBSIZE);
751 (void) strlcat(str, "|MAP_ANON", CBSIZE);
753 (void) strlcat(str, "|MAP_ALIGN", CBSIZE);
755 (void) strlcat(str, "|MAP_TEXT", CBSIZE);
757 (void) strlcat(str, "|MAP_INITDATA", CBSIZE);
759 (void) strlcat(str, "|MAP_32BIT", CBSIZE);
763 #undef CBSIZE
796 #define CBSIZE sizeof (pri->code_buf)
801 (void) strlcat(s, "|MMOBJ_PADDING", CBSIZE);
803 (void) strlcat(s, "|MMOBJ_INTERPRET", CBSIZE);
805 #undef CBSIZE
869 #define CBSIZE sizeof (pri->code_buf)
880 (void) strlcat(s, "|MS_SYNC", CBSIZE);
882 (void) strlcat(s, "|MS_ASYNC", CBSIZE);
885 CBSIZE);
895 CBSIZE);
898 CBSIZE);
902 #undef CBSIZE
916 #define CBSIZE sizeof (pri->code_buf)
925 (void) strlcat(s, "|SHARED", CBSIZE);
927 (void) strlcat(s, "|PRIVATE", CBSIZE);
929 (void) strlcat(s, "|PROT_READ", CBSIZE);
931 (void) strlcat(s, "|PROT_WRITE", CBSIZE);
933 (void) strlcat(s, "|PROT_EXEC", CBSIZE);
939 #undef CBSIZE
1062 #define CBSIZE sizeof (pri->code_buf)
1066 (void) strlcat(s, "|LWP_DAEMON", CBSIZE);
1068 (void) strlcat(s, "|LWP_DETACHED", CBSIZE);
1070 (void) strlcat(s, "|LWP_SUSPENDED", CBSIZE);
1072 #undef CBSIZE
1311 #define CBSIZE sizeof (pri->code_buf)
1315 (void) strlcat(s, "|CC_GLOBAL_PATH", CBSIZE);
1317 (void) strlcat(s, "|CC_PROCESS_PATH", CBSIZE);
1319 (void) strlcat(s, "|CC_GLOBAL_SETID", CBSIZE);
1321 (void) strlcat(s, "|CC_PROCESS_SETID", CBSIZE);
1323 (void) strlcat(s, "|CC_GLOBAL_LOG", CBSIZE);
1328 #undef CBSIZE
1939 #define CBSIZE sizeof (pri->code_buf)
1959 default: (void) snprintf(pri->code_buf, CBSIZE,
1973 used = snprintf(s, CBSIZE, "|0x%lx", val2);
1975 used = strlcat(s, "|SO_DEBUG", CBSIZE);
1977 used = strlcat(s, "|SO_ACCEPTCONN", CBSIZE);
1979 used = strlcat(s, "|SO_REUSEADDR", CBSIZE);
1981 used = strlcat(s, "|SO_KEEPALIVE", CBSIZE);
1983 used = strlcat(s, "|SO_DONTROUTE", CBSIZE);
1985 used = strlcat(s, "|SO_BROADCAST", CBSIZE);
1987 used = strlcat(s, "|SO_USELOOPBACK", CBSIZE);
1989 used = strlcat(s, "|SO_LINGER", CBSIZE);
1991 used = strlcat(s, "|SO_OOBINLINE", CBSIZE);
1993 used = strlcat(s, "|SO_DGRAM_ERRIND", CBSIZE);
1995 used = strlcat(s, "|SO_RECVUCRED", CBSIZE);
1996 if (used >= CBSIZE || val == 0)
1997 (void) snprintf(s + 1, CBSIZE-1, "0x%lx", val);
2000 #undef CBSIZE
2328 #define CBSIZE sizeof (pri->code_buf)
2334 (void) snprintf(s, CBSIZE, "0x%lx", val);
2347 used = strlcat(s, fp->name, CBSIZE);
2352 if (val != 0 && used <= CBSIZE)
2353 used += snprintf(s + used, CBSIZE - used, "|0x%lx", val);
2355 if (used >= CBSIZE)
2356 (void) snprintf(s + 1, CBSIZE-1, "0x%lx", val);
2358 #undef CBSIZE