/src/usr.sbin/inetd/ |
parse.c | 134 struct servtab *sep, *cp; local in function:config 159 for (sep = servtab; sep != NULL; sep = sep->se_next) 160 if (is_same_service(sep, cp)) 162 if (sep != NULL) { 168 * sep->se_wait may be holding the pid of a daemon 174 (sep->se_wait == 1 || cp->se_wait == 0)) 175 sep->se_wait = cp->se_wait 340 struct servtab *sep; local in function:enter 386 struct servtab *sep = &serv; local in function:getconfigent 939 struct servtab *sep; local in function:config_root 956 struct servtab *sep, **sepp = &servtab; local in function:purge_unchecked [all...] |
ratelimit.c | 78 rl_process(struct servtab *sep, int ctrl) 83 SERV_PARAMS(sep)); 85 "%zu and se_count %zu", SERV_PARAMS(sep), 86 sep->se_service_max, sep->se_count); 88 if (sep->se_count == 0) { 90 sep->se_time = now; 93 if (!rl_process_service_max(sep, ctrl, &now) 94 || !rl_process_ip_max(sep, ctrl, &now)) { 98 DPRINTF(SERV_FMT ": running service ", SERV_PARAMS(sep)); [all...] |
parse_v2.c | 149 parse_syntax_v2(struct servtab *sep, char **cpp) 158 switch(parse_invoke_handler(&is_valid_definition, cpp, sep)) { 172 if (is_valid_definition && fill_default_values(sep)) { 202 fill_default_values(struct servtab *sep) 206 if (sep->se_service_max == SERVTAB_UNSPEC_SIZE_T) { 208 sep->se_service_max = TOOMANY; 211 if (sep->se_hostaddr == NULL) { 213 sep->se_hostaddr = newstr(defhost); 216 try_infer_socktype(sep); 218 if (sep->se_server == NULL) [all...] |
inetd.c | 410 struct servtab *sep; local in function:main 441 sep = (struct servtab *)ev->udata; 443 if ((int)ev->ident != sep->se_fd) 445 DPRINTF(SERV_FMT ": service requested" , SERV_PARAMS(sep)); 446 if (sep->se_wait == 0 && sep->se_socktype == SOCK_STREAM) { 448 ctrl = accept(sep->se_fd, NULL, NULL); 450 SERV_PARAMS(sep), ctrl); 455 SERV_PARAMS(sep)); 459 ctrl = sep->se_fd 640 struct servtab *sep; local in function:reapchild 672 struct servtab *sep; local in function:retry 695 struct servtab *sep; local in function:goaway [all...] |
inetd.h | 106 #define ISMUXPLUS(sep) ((sep)->se_type == MUXPLUS_TYPE) 107 #define ISMUX(sep) (((sep)->se_type == MUX_TYPE) || ISMUXPLUS(sep)) 147 #define SERV_PARAMS(sep) sep->se_service,sep->se_proto 164 #define isrpcservice(sep) ((sep)->se_rpcversl != 0 [all...] |
/src/sys/arch/sparc/sparc/ |
cache_print.h | 54 const char *sep = ""; local in function:cache_printf_backend 58 printf("%s%dK instruction (%d b/l)", sep, 60 sep = ", "; 63 printf("%s%dK data (%d b/l)", sep,
|
/src/tests/lib/libc/regex/ |
test_regex.h | 41 int split(char *string, char *fields[], int nfields, const char *sep);
|
/src/usr.sbin/cpuctl/arch/ |
sparc64.c | 51 const char *sep; local in function:identifycpu 91 sep = ""; 93 printf("%s%ldK instruction (%ld b/l)", sep, 96 sep = ", "; 99 printf("%s%ldK data (%ld b/l)", sep, 102 sep = ", "; 106 printf("%s%ldK external (%ld b/l)", sep,
|
i386.c | 2422 const char *sep) 2428 return sep; 2430 if (sep == NULL) 2433 aprint_verbose("%s", sep); 2463 const char *sep) 2469 return sep; 2471 if (sep == NULL) 2474 aprint_verbose("%s", sep); 2475 if ((name != NULL) && (sep == NULL)) 2506 const char *sep = NULL local in function:x86_print_cache_and_tlb_info [all...] |
/src/lib/libc/stdio/ |
fgetstr.c | 50 __fgetstr(FILE *__restrict fp, size_t *__restrict lenp, int sep) 57 n = __getdelim(&_EXT(fp)->_fgetstr_buf, &_EXT(fp)->_fgetstr_len, sep, fp);
|
getdelim.c | 58 int sep, FILE *__restrict fp) 87 p = memchr(fp->_p, sep, (size_t)fp->_r); 146 int sep, FILE *__restrict fp) 151 n = __getdelim(buf, buflen, sep, fp);
|
/src/usr.bin/systat/ |
swap.c | 163 struct swapent *sep; local in function:showswap 168 for (sep = swap_devices, i = 0; i < nswap; i++, sep++) { 169 p = strrchr(sep->se_path, '/'); 170 p = p ? p+1 : sep->se_path; 175 mvwprintw(wnd, i + 1, col, "%*d", hlen, sep->se_nblks / blk_div); 178 xsize = sep->se_nblks; 179 used = sep->se_inuse;
|
/src/sbin/swapctl/ |
swaplist.c | 59 struct swapent *sep, *fsep; local in function:list_swap 73 fsep = sep = (struct swapent *)malloc(nswap * sizeof(*sep)); 74 if (sep == NULL) 76 rnswap = swapctl(SWAP_STATS, (void *)sep, nswap); 114 for (i = rnswap; i-- > 0; sep++) 115 if ((size_t)pathmax < (l = strlen(sep->se_path))) 117 sep = fsep; 123 for (; rnswap-- > 0; sep++) { 124 if (pflag && sep->se_priority != pri [all...] |
/src/usr.sbin/bta2dpd/bta2dpd/ |
avdtp_signal.h | 114 uint8_t sep; member in struct:avdtp_sepInfo 122 *sep); 125 void avdtpGetCapabilities(int fd, int recvfd, uint8_t sep); 127 caplen, uint8_t sep, u_int8_t *freq, u_int8_t *mode, u_int8_t *alloc_method, 129 int avdtpSetConfiguration(int fd, int recvfd, uint8_t sep, uint8_t *data, 131 void avdtpOpen(int fd, int recvfd, uint8_t sep); 132 void avdtpStart(int fd, int recvfd, uint8_t sep); 133 void avdtpClose(int fd, int recvfd, uint8_t sep); 134 void avdtpSuspend(int fd, int recvfd, uint8_t sep); 135 void avdtpAbort(int fd, int recvfd, uint8_t sep); [all...] |
avdtp.c | 78 *signalId, uint8_t *pkt_type, uint8_t *data, size_t *datasize, uint8_t *sep) 97 if (sep && len > 2) 98 *sep = buffer[2] >> 2; 214 sepInfo->sep = buffer[offset] >> 2; 233 avdtpGetCapabilities(int fd, int recvfd, uint8_t sep) 235 uint8_t address = (uint8_t)(sep << 2); 241 avdtpSetConfiguration(int fd, int recvfd, uint8_t sep, uint8_t *data, 253 configAddresses[0] = (uint8_t)(sep << 2); 268 avdtpOpen(int fd, int recvfd, uint8_t sep) 270 uint8_t address = (uint8_t)(sep << 2) [all...] |
/src/sys/arch/ews4800mips/stand/common/ |
cmd.c | 73 int i, argc, sep; local in function:cmd_exec 97 sep = 0; 101 sep = 1; 102 } else if (sep) { 103 sep = 0;
|
/src/lib/libc/gen/ |
fstab.c | 71 nextfld(char **str, const char *sep) 76 _DIAGASSERT(sep != NULL); 78 while ((ret = stresep(str, sep, '\\')) != NULL && *ret == '\0') 91 static const char sep[] = ":\n"; local in function:fstabscan 104 _fs_fstab.fs_spec = nextfld(&lp, sep); 107 _fs_fstab.fs_file = nextfld(&lp, sep); 108 _fs_fstab.fs_type = nextfld(&lp, sep); 117 if ((cp = nextfld(&lp, sep)) != NULL) { 119 if ((cp = nextfld(&lp, sep)) != NULL) {
|
humanize_number.c | 50 const char *prefixes, *sep; local in function:humanize_number 115 sep = ""; 117 sep = " "; 173 sign * bytes, sep, SCALE2PREFIX(0), suffix); 192 sep, SCALE2PREFIX(i), suffix); 196 sep, SCALE2PREFIX(i), suffix);
|
/src/sys/dev/isa/ |
isa.c | 231 const char *sep; local in function:isaprint 245 for (sep = ""; ipn != NULL; 246 ipn = ipn->ipn_next, sep = " ") { 247 aprint_normal("%s%s", sep, ipn->ipn_name); 255 sep = ""; 260 aprint_normal("%s0x%x", sep, ia->ia_io[i].ir_addr); 264 sep = ","; 269 sep = ""; 274 aprint_normal("%s0x%x", sep, ia->ia_iomem[i].ir_addr); 278 sep = "," [all...] |
/src/sbin/ttyflags/ |
ttyflags.c | 165 int fd, flags, rval, st, sep; local in function:change_ttyflags 170 sep = flags = rval = 0; 178 sep++; 182 if (sep++) 188 if (sep++) 194 if (sep++) 200 if (sep++)
|
/src/sbin/restore/ |
utilities.c | 414 const char *sep = ""; local in function:writemtree 424 sep=","; 427 fprintf(Mtreefile, "%suchg", sep); 428 sep=","; 431 fprintf(Mtreefile, "%suappnd", sep); 432 sep=","; 435 fprintf(Mtreefile, "%sopaque", sep); 436 sep=","; 439 fprintf(Mtreefile, "%sarch", sep); 440 sep="," [all...] |
/src/sys/arch/i386/stand/pxeboot/ |
main.c | 255 char *sep; local in function:command_consdev 258 sep = strchr(arg, ','); 259 if (sep != NULL) 260 *sep++ = '\0'; 266 if (sep != NULL) { 270 speed = atoi(sep);
|
/src/lib/libc/db/btree/ |
bt_debug.c | 86 const char *sep; local in function:__bt_dump 98 (void)fprintf(tracefp, "%s%s", sep, name); \ 99 sep = ", "; \ 102 sep = " flags ("; 130 const char *sep; local in function:__bt_dmpage 142 (void)fprintf(tracefp, "%s%s", sep, name); \ 143 sep = ", "; \ 146 sep = " ("; 207 const char *sep; local in function:__bt_dpage 215 (void)fprintf(tracefp, "%s%s", sep, name); [all...] |
/src/sys/arch/arm/sunxi/ |
sunxi_drm.c | 429 struct sunxi_drm_endpoint *sep; local in function:sunxi_drm_load 446 TAILQ_FOREACH(sep, &sunxi_drm_endpoints, entries) 447 if (sep->phandle == crtc_phandle && sep->ddev == NULL) { 448 sep->ddev = ddev; 449 error = fdt_endpoint_activate_direct(sep->ep, true); 454 if (fdt_endpoint_type(sep->ep) == EP_DRM_CRTC) 551 struct sunxi_drm_endpoint *sep; local in function:sunxi_drm_register_endpoint 553 sep = kmem_zalloc(sizeof(*sep), KM_SLEEP) 565 struct sunxi_drm_endpoint *sep; local in function:sunxi_drm_endpoint_device [all...] |
/src/lib/libusbhid/ |
usage.c | 214 const char *sep; local in function:hid_parse_usage_in_page 221 sep = strchr(name, ':'); 222 if (sep == NULL) 224 len = sep - name; 233 sep++; 236 if (sscanf(sep, fmtcheck( 240 } else if (strcmp(pages[k].page_contents[j].name, sep) == 0)
|