Lines Matching defs:CBSIZE

723 #define	CBSIZE	sizeof (pri->code_buf)
726 used = strlcpy(str, "MAP_SHARED", CBSIZE);
729 used = strlcpy(str, "MAP_PRIVATE", CBSIZE);
732 used = snprintf(str, CBSIZE, "%ld", arg&MAP_TYPE);
744 (void) strlcat(str, "|MAP_FIXED", CBSIZE);
746 (void) strlcat(str, "|MAP_RENAME", CBSIZE);
748 (void) strlcat(str, "|MAP_NORESERVE", CBSIZE);
750 (void) strlcat(str, "|MAP_ANON", CBSIZE);
752 (void) strlcat(str, "|MAP_ALIGN", CBSIZE);
754 (void) strlcat(str, "|MAP_TEXT", CBSIZE);
756 (void) strlcat(str, "|MAP_INITDATA", CBSIZE);
758 (void) strlcat(str, "|MAP_32BIT", CBSIZE);
762 #undef CBSIZE
795 #define CBSIZE sizeof (pri->code_buf)
800 (void) strlcat(s, "|MMOBJ_PADDING", CBSIZE);
802 (void) strlcat(s, "|MMOBJ_INTERPRET", CBSIZE);
804 #undef CBSIZE
868 #define CBSIZE sizeof (pri->code_buf)
879 (void) strlcat(s, "|MS_SYNC", CBSIZE);
881 (void) strlcat(s, "|MS_ASYNC", CBSIZE);
884 CBSIZE);
894 CBSIZE);
897 CBSIZE);
901 #undef CBSIZE
915 #define CBSIZE sizeof (pri->code_buf)
924 (void) strlcat(s, "|SHARED", CBSIZE);
926 (void) strlcat(s, "|PRIVATE", CBSIZE);
928 (void) strlcat(s, "|PROT_READ", CBSIZE);
930 (void) strlcat(s, "|PROT_WRITE", CBSIZE);
932 (void) strlcat(s, "|PROT_EXEC", CBSIZE);
938 #undef CBSIZE
1061 #define CBSIZE sizeof (pri->code_buf)
1065 (void) strlcat(s, "|LWP_DAEMON", CBSIZE);
1067 (void) strlcat(s, "|LWP_DETACHED", CBSIZE);
1069 (void) strlcat(s, "|LWP_SUSPENDED", CBSIZE);
1071 #undef CBSIZE
1310 #define CBSIZE sizeof (pri->code_buf)
1314 (void) strlcat(s, "|CC_GLOBAL_PATH", CBSIZE);
1316 (void) strlcat(s, "|CC_PROCESS_PATH", CBSIZE);
1318 (void) strlcat(s, "|CC_GLOBAL_SETID", CBSIZE);
1320 (void) strlcat(s, "|CC_PROCESS_SETID", CBSIZE);
1322 (void) strlcat(s, "|CC_GLOBAL_LOG", CBSIZE);
1327 #undef CBSIZE
1846 #define CBSIZE sizeof (pri->code_buf)
1867 default: (void) snprintf(pri->code_buf, CBSIZE,
1881 used = snprintf(s, CBSIZE, "|0x%lx", val2);
1883 used = strlcat(s, "|SO_DEBUG", CBSIZE);
1885 used = strlcat(s, "|SO_ACCEPTCONN", CBSIZE);
1887 used = strlcat(s, "|SO_REUSEADDR", CBSIZE);
1889 used = strlcat(s, "|SO_KEEPALIVE", CBSIZE);
1891 used = strlcat(s, "|SO_DONTROUTE", CBSIZE);
1893 used = strlcat(s, "|SO_BROADCAST", CBSIZE);
1895 used = strlcat(s, "|SO_USELOOPBACK", CBSIZE);
1897 used = strlcat(s, "|SO_LINGER", CBSIZE);
1899 used = strlcat(s, "|SO_OOBINLINE", CBSIZE);
1901 used = strlcat(s, "|SO_DGRAM_ERRIND", CBSIZE);
1903 used = strlcat(s, "|SO_RECVUCRED", CBSIZE);
1904 if (used >= CBSIZE || val == 0)
1905 (void) snprintf(s + 1, CBSIZE-1, "0x%lx", val);
1908 #undef CBSIZE
2236 #define CBSIZE sizeof (pri->code_buf)
2242 (void) snprintf(s, CBSIZE, "0x%lx", val);
2255 used = strlcat(s, fp->name, CBSIZE);
2260 if (val != 0 && used <= CBSIZE)
2261 used += snprintf(s + used, CBSIZE - used, "|0x%lx", val);
2263 if (used >= CBSIZE)
2264 (void) snprintf(s + 1, CBSIZE-1, "0x%lx", val);
2266 #undef CBSIZE