Lines Matching refs:code_buf

704 	char *str = pri->code_buf;  in mmap_protect()
714 (void) strlcat(str, "|PROT_READ", sizeof (pri->code_buf)); in mmap_protect()
716 (void) strlcat(str, "|PROT_WRITE", sizeof (pri->code_buf)); in mmap_protect()
718 (void) strlcat(str, "|PROT_EXEC", sizeof (pri->code_buf)); in mmap_protect()
725 char *str = pri->code_buf; in mmap_type()
728 #define CBSIZE sizeof (pri->code_buf) in mmap_type()
745 (void) snprintf(str + used, sizeof (pri->code_buf) - used, in mmap_type()
800 #define CBSIZE sizeof (pri->code_buf) in prt_mob()
801 char *s = pri->code_buf; in prt_mob()
873 #define CBSIZE sizeof (pri->code_buf) in prt_mc4()
882 *(s = pri->code_buf) = '\0'; in prt_mc4()
896 *(s = pri->code_buf) = '\0'; in prt_mc4()
920 #define CBSIZE sizeof (pri->code_buf) in prt_mc5()
926 s = pri->code_buf; in prt_mc5()
1066 #define CBSIZE sizeof (pri->code_buf) in prt_lwf()
1067 s = pri->code_buf; in prt_lwf()
1315 #define CBSIZE sizeof (pri->code_buf) in prt_cco()
1316 s = pri->code_buf; in prt_cco()
1343 else if (!raw && proc_content2str(ccc, pri->code_buf, in prt_ccc()
1344 sizeof (pri->code_buf)) >= 0) in prt_ccc()
1345 outstring(pri, pri->code_buf); in prt_ccc()
1357 else if (!raw && proc_content2str(ccc, pri->code_buf, in prt_rcc()
1358 sizeof (pri->code_buf)) >= 0) in prt_rcc()
1359 outstring(pri, pri->code_buf); in prt_rcc()
1960 #define CBSIZE sizeof (pri->code_buf) in sol_optname()
1980 default: (void) snprintf(pri->code_buf, CBSIZE, in sol_optname()
1982 return (pri->code_buf); in sol_optname()
1985 char *s = pri->code_buf; in sol_optname()
2031 (void) snprintf(pri->code_buf, sizeof (pri->code_buf), in route_optname()
2033 return (pri->code_buf); in route_optname()
2067 default: (void) snprintf(pri->code_buf, in tcp_optname()
2068 sizeof (pri->code_buf), in tcp_optname()
2070 return (pri->code_buf); in tcp_optname()
2101 default: (void) snprintf(pri->code_buf, in sctp_optname()
2102 sizeof (pri->code_buf), in sctp_optname()
2104 return (pri->code_buf); in sctp_optname()
2120 default: (void) snprintf(pri->code_buf, in udp_optname()
2121 sizeof (pri->code_buf), "0x%lx", in udp_optname()
2123 return (pri->code_buf); in udp_optname()
2181 default: (void) snprintf(pri->code_buf, in ip_optname()
2182 sizeof (pri->code_buf), "0x%lx", in ip_optname()
2184 return (pri->code_buf); in ip_optname()
2230 default: (void) snprintf(pri->code_buf, in ipv6_optname()
2231 sizeof (pri->code_buf), "0x%lx", in ipv6_optname()
2233 return (pri->code_buf); in ipv6_optname()
2243 default: (void) snprintf(pri->code_buf, in icmpv6_optname()
2244 sizeof (pri->code_buf), "0x%lx", in icmpv6_optname()
2246 return (pri->code_buf); in icmpv6_optname()
2395 char *str = pri->code_buf; in access_flags()
2408 (void) strlcat(str, "|R_OK", sizeof (pri->code_buf)); in access_flags()
2410 (void) strlcat(str, "|W_OK", sizeof (pri->code_buf)); in access_flags()
2412 (void) strlcat(str, "|X_OK", sizeof (pri->code_buf)); in access_flags()
2414 (void) strlcat(str, "|E_OK", sizeof (pri->code_buf)); in access_flags()
2482 #define CBSIZE sizeof (pri->code_buf) in prt_ffg()
2483 char *s = pri->code_buf; in prt_ffg()
2528 #define CBSIZE sizeof (pri->code_buf) in prt_ffd()
2529 char *s = pri->code_buf; in prt_ffd()
2811 char *str = pri->code_buf; in door_flags()
2816 (void) strlcat(str, "|" #flg, sizeof (pri->code_buf)); \ in door_flags()
2832 (void) snprintf(str + len, sizeof (pri->code_buf) - len, in door_flags()
2911 char *s = pri->code_buf; in prt_rsf()
2930 sizeof (pri->code_buf)); in prt_rsf()
2986 str = pri->code_buf; in prt_fxf()
2990 sizeof (pri->code_buf)); in prt_fxf()
2993 sizeof (pri->code_buf)); in prt_fxf()
3066 #define CBSIZE sizeof (pri->code_buf) in prt_exc()
3067 char *str = pri->code_buf; in prt_exc()
3121 #define CBSIZE sizeof (pri->code_buf) in prt_srf()
3122 char *s = pri->code_buf; in prt_srf()