Lines Matching refs:used

726 	size_t used;  in mmap_type()  local
731 used = strlcpy(str, "MAP_SHARED", CBSIZE); in mmap_type()
734 used = strlcpy(str, "MAP_PRIVATE", CBSIZE); in mmap_type()
737 used = snprintf(str, CBSIZE, "%ld", arg&MAP_TYPE); in mmap_type()
745 (void) snprintf(str + used, sizeof (pri->code_buf) - used, in mmap_type()
1986 size_t used = 1; in sol_optname() local
1994 used = snprintf(s, CBSIZE, "|0x%lx", val2); in sol_optname()
1996 used = strlcat(s, "|SO_DEBUG", CBSIZE); in sol_optname()
1998 used = strlcat(s, "|SO_ACCEPTCONN", CBSIZE); in sol_optname()
2000 used = strlcat(s, "|SO_REUSEADDR", CBSIZE); in sol_optname()
2002 used = strlcat(s, "|SO_KEEPALIVE", CBSIZE); in sol_optname()
2004 used = strlcat(s, "|SO_DONTROUTE", CBSIZE); in sol_optname()
2006 used = strlcat(s, "|SO_BROADCAST", CBSIZE); in sol_optname()
2008 used = strlcat(s, "|SO_USELOOPBACK", CBSIZE); in sol_optname()
2010 used = strlcat(s, "|SO_LINGER", CBSIZE); in sol_optname()
2012 used = strlcat(s, "|SO_OOBINLINE", CBSIZE); in sol_optname()
2014 used = strlcat(s, "|SO_DGRAM_ERRIND", CBSIZE); in sol_optname()
2016 used = strlcat(s, "|SO_RECVUCRED", CBSIZE); in sol_optname()
2017 if (used >= CBSIZE || val == 0) in sol_optname()
2484 size_t used = 1; in prt_ffg() local
2500 used = strlcat(s, fp->name, CBSIZE); in prt_ffg()
2505 if (val != 0 && used <= CBSIZE) in prt_ffg()
2506 used += snprintf(s + used, CBSIZE - used, "|0x%lx", val); in prt_ffg()
2508 if (used >= CBSIZE) in prt_ffg()
2530 size_t used = 1; in prt_ffd() local
2546 used = strlcat(s, fp->name, CBSIZE); in prt_ffd()
2551 if (val != 0 && used <= CBSIZE) in prt_ffd()
2552 used += snprintf(s + used, CBSIZE - used, "|0x%lx", val); in prt_ffd()
2554 if (used >= CBSIZE) in prt_ffd()
3068 size_t used = 0; in prt_exc() local
3081 used = strlcat(str, "|EXEC_DESCRIPTOR", CBSIZE); in prt_exc()
3085 if (val != 0 && used <= CBSIZE) in prt_exc()
3086 used += snprintf(str + used, CBSIZE - used, "|0x%lx", val); in prt_exc()
3088 if (used >= CBSIZE) in prt_exc()
3123 size_t used = 1; in prt_srf() local
3139 used = strlcat(s, fp->name, CBSIZE); in prt_srf()
3144 if (val != 0 && used <= CBSIZE) in prt_srf()
3145 used += snprintf(s + used, CBSIZE - used, "|0x%lx", val); in prt_srf()
3147 if (used >= CBSIZE) in prt_srf()