Lines Matching refs:code_buf

699 	char *str = pri->code_buf;  in mmap_protect()
709 (void) strlcat(str, "|PROT_READ", sizeof (pri->code_buf)); in mmap_protect()
711 (void) strlcat(str, "|PROT_WRITE", sizeof (pri->code_buf)); in mmap_protect()
713 (void) strlcat(str, "|PROT_EXEC", sizeof (pri->code_buf)); in mmap_protect()
720 char *str = pri->code_buf; in mmap_type()
723 #define CBSIZE sizeof (pri->code_buf) in mmap_type()
740 (void) snprintf(str + used, sizeof (pri->code_buf) - used, in mmap_type()
795 #define CBSIZE sizeof (pri->code_buf) in prt_mob()
796 char *s = pri->code_buf; in prt_mob()
868 #define CBSIZE sizeof (pri->code_buf) in prt_mc4()
877 *(s = pri->code_buf) = '\0'; in prt_mc4()
891 *(s = pri->code_buf) = '\0'; in prt_mc4()
915 #define CBSIZE sizeof (pri->code_buf) in prt_mc5()
921 s = pri->code_buf; in prt_mc5()
1061 #define CBSIZE sizeof (pri->code_buf) in prt_lwf()
1062 s = pri->code_buf; in prt_lwf()
1310 #define CBSIZE sizeof (pri->code_buf) in prt_cco()
1311 s = pri->code_buf; in prt_cco()
1338 else if (!raw && proc_content2str(ccc, pri->code_buf, in prt_ccc()
1339 sizeof (pri->code_buf)) >= 0) in prt_ccc()
1340 outstring(pri, pri->code_buf); in prt_ccc()
1352 else if (!raw && proc_content2str(ccc, pri->code_buf, in prt_rcc()
1353 sizeof (pri->code_buf)) >= 0) in prt_rcc()
1354 outstring(pri, pri->code_buf); in prt_rcc()
1846 #define CBSIZE sizeof (pri->code_buf) in sol_optname()
1866 default: (void) snprintf(pri->code_buf, CBSIZE, in sol_optname()
1868 return (pri->code_buf); in sol_optname()
1871 char *s = pri->code_buf; in sol_optname()
1917 (void) snprintf(pri->code_buf, sizeof (pri->code_buf), in route_optname()
1919 return (pri->code_buf); in route_optname()
1947 default: (void) snprintf(pri->code_buf, in tcp_optname()
1948 sizeof (pri->code_buf), in tcp_optname()
1950 return (pri->code_buf); in tcp_optname()
1981 default: (void) snprintf(pri->code_buf, in sctp_optname()
1982 sizeof (pri->code_buf), in sctp_optname()
1984 return (pri->code_buf); in sctp_optname()
1999 default: (void) snprintf(pri->code_buf, in udp_optname()
2000 sizeof (pri->code_buf), "0x%lx", in udp_optname()
2002 return (pri->code_buf); in udp_optname()
2145 char *str = pri->code_buf; in access_flags()
2158 (void) strlcat(str, "|R_OK", sizeof (pri->code_buf)); in access_flags()
2160 (void) strlcat(str, "|W_OK", sizeof (pri->code_buf)); in access_flags()
2162 (void) strlcat(str, "|X_OK", sizeof (pri->code_buf)); in access_flags()
2164 (void) strlcat(str, "|E_OK", sizeof (pri->code_buf)); in access_flags()
2232 #define CBSIZE sizeof (pri->code_buf) in prt_ffg()
2233 char *s = pri->code_buf; in prt_ffg()
2516 char *str = pri->code_buf; in door_flags()
2521 (void) strlcat(str, "|" #flg, sizeof (pri->code_buf)); \ in door_flags()
2537 (void) snprintf(str + len, sizeof (pri->code_buf) - len, in door_flags()
2616 char *s = pri->code_buf; in prt_rsf()
2635 sizeof (pri->code_buf)); in prt_rsf()
2691 str = pri->code_buf; in prt_fxf()
2695 sizeof (pri->code_buf)); in prt_fxf()
2698 sizeof (pri->code_buf)); in prt_fxf()