/freebsd-13-stable/sys/cddl/dev/dtrace/ |
H A D | dtrace_sysctl.c | 29 char *p_name = NULL; local 44 if ((p_name = kmem_alloc(len, KM_SLEEP)) == NULL) 48 *p_name = '\0'; 56 (void) strlcat(p_name, " ", len); 58 (void) strlcat(p_name, prov->dtpv_name, len); 67 if (p_name != NULL) { 68 error = sysctl_handle_string(oidp, p_name, len, req); 70 kmem_free(p_name, 0);
|
/freebsd-13-stable/contrib/ipfilter/lib/ |
H A D | printproto.c | 33 PRINTF("%s", pr->p_name); 38 PRINTF("%s", pr->p_name);
|
H A D | getportproto.c | 36 s = getservbyname(name, p ? p->p_name : NULL);
|
H A D | portname.c | 33 if ((sv = getservbyport(htons(port), p->p_name))) {
|
H A D | getport.c | 84 s = getservbyname(name, p ? p->p_name : NULL);
|
H A D | printstate.c | 26 PRINTF("%s", pr->p_name);
|
/freebsd-13-stable/lib/libc/tests/nss/ |
H A D | getproto_test.c | 90 if (src->p_name != NULL) { 91 dest->p_name = strdup(src->p_name); 92 assert(dest->p_name != NULL); 119 free(pe->p_name); 137 if ((strcmp(pe1->p_name, pe2->p_name) != 0) || 173 pe->p_name, pe->p_proto); 213 pe->p_name = strdup(s); 214 assert(pe->p_name ! [all...] |
/freebsd-13-stable/lib/libc/net/ |
H A D | getprotoent.c | 177 if (proto->p_name != NULL) 178 desired_size += strlen(proto->p_name) + 1; 205 if (new_proto.p_name != NULL) { 206 size = strlen(new_proto.p_name); 207 memcpy(p, new_proto.p_name, size); 208 new_proto.p_name = p; 279 NS_APPLY_OFFSET(proto->p_name, orig_buf, p, char *); 310 len += strlen(pe->p_name) + 1; 324 n = strlen(pe->p_name) + 1; 325 strcpy(cp, pe->p_name); [all...] |
H A D | getprotoname.c | 87 if (strcmp(pe.p_name, name) == 0)
|
/freebsd-13-stable/usr.bin/bluetooth/bthost/ |
H A D | bthost.c | 128 printf("%s", pe->p_name); 133 pe->p_name, pe->p_proto);
|
/freebsd-13-stable/contrib/tcpdump/ |
H A D | print-cnfp.c | 162 const char *p_name; local 214 if (!ndo->ndo_nflag && (p_name = netdb_protoname(nr->proto)) != NULL) 215 ND_PRINT((ndo, "%s ", p_name)); 251 const char *p_name; local 310 if (!ndo->ndo_nflag && (p_name = netdb_protoname(nr->proto)) != NULL) 311 ND_PRINT((ndo, "%s ", p_name)); 347 const char *p_name; local 406 if (!ndo->ndo_nflag && (p_name = netdb_protoname(nr->proto)) != NULL) 407 ND_PRINT((ndo, "%s ", p_name));
|
H A D | addrtoname.c | 174 const char *p_name; member in struct:protoidmem 660 if (tp->p_name) 661 return tp->p_name; 674 tp->p_name = strdup(buf); 675 if (tp->p_name == NULL) 677 return (tp->p_name); 892 tp->p_name = strdup(eproto_db[i].s); 893 if (tp->p_name == NULL) 901 if (tp->p_name != NULL) 904 tp->p_name [all...] |
H A D | print-ip.c | 342 const char *p_name; local 508 if (ndo->ndo_nflag==0 && (p_name = netdb_protoname(ipds->nh)) != NULL) 509 ND_PRINT((ndo, " %s", p_name)); 550 const char *p_name; local 695 if (!ndo->ndo_nflag && (p_name = netdb_protoname(ipds->ip->ip_p)) != NULL) 696 ND_PRINT((ndo, " %s", p_name));
|
/freebsd-13-stable/usr.bin/indent/ |
H A D | args.c | 94 const char *p_name; /* name, e.g. -bl, -cli */ member in struct:pro 259 for (p = pro; p->p_name; p++) 271 for (p = pro; p->p_name; p++) 272 if (*p->p_name == *arg && (param_start = eqin(p->p_name, arg)) != NULL) 328 errx(1, "%s: ``%s'' requires a parameter", option_source, p->p_name);
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_protoent.c | 43 prp->p_name, prp->p_proto);
|
H A D | t_getprotoent.c | 95 ATF_REQUIRE(strcmp(p->p_name, protos[i].name) == 0); 141 ATF_REQUIRE(strcmp(p->p_name, protos[i].name) == 0);
|
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_bridge/ |
H A D | bridge_sys.c | 754 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); 761 "failed: %s", bp->p_name, strerror(errno)); 786 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); 791 "failed: %s", bp->p_name, strerror(errno)); 803 "failed: %s", bp->p_name, strerror(errno)); 828 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); 835 "failed: %s", bp->p_name, strerror(errno)); 861 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); 866 "failed: %s", bp->p_name, strerror(errno)); 887 "failed: %s", bp->p_name, strerro [all...] |
/freebsd-13-stable/sys/dev/bhnd/tools/ |
H A D | nvram_map_gen.awk | 144 PROP_NAME = "p_name" 235 class_add_prop(MacroType, p_name, "name") 244 class_add_prop(MacroDefine, p_name, "name") 255 class_add_prop(Fmt, p_name, "name") 270 map_set(ValueFormats, get(FmtHex, p_name), FmtHex) 271 map_set(ValueFormats, get(FmtDec, p_name), FmtDec) 272 map_set(ValueFormats, get(FmtMAC, p_name), FmtMAC) 273 map_set(ValueFormats, get(FmtLEDDC, p_name), FmtLEDDC) 274 map_set(ValueFormats, get(FmtStr, p_name), FmtStr) 278 class_add_prop(Type, p_name, "nam [all...] |
/freebsd-13-stable/lib/libbluetooth/ |
H A D | bluetooth.c | 183 if (strcmp(p->p_name, name) == 0) 227 proto.p_name = p;
|
/freebsd-13-stable/include/ |
H A D | netdb.h | 130 char *p_name; /* official protocol name */ member in struct:protoent
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_mount.c | 725 err = sa_disable_share(mountpoint, proto_table[proto].p_name); 741 if (sa_is_shared(mountpoint, proto_table[proto].p_name)) { 792 proto_table[*curr_proto].p_name); 866 return (sa_validate_shareopts(options, proto_table[proto].p_name)); 874 sa_commit_shares(proto_table[*curr_proto].p_name);
|
/freebsd-13-stable/usr.sbin/ctld/ |
H A D | ctld.c | 1244 port->p_name = name; 1289 port->p_name = name; 1318 port->p_name = name; 1333 if (strcasecmp(port->p_name, name) == 0) 1364 free(port->p_name); 1960 newport = port_find(newconf, oldport->p_name); 1963 log_debugx("removing port \"%s\"", oldport->p_name); 1967 oldport->p_name); 2083 oldport = port_find(oldconf, newport->p_name); 2086 log_debugx("adding port \"%s\"", newport->p_name); [all...] |
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | filter.c | 150 tgt->f_srcport = ParsePort(argv[2], pe->p_name); 165 tgt->f_dstport = ParsePort(argv[2], pe->p_name); 477 prompt_Printf(prompt, "%s", pe->p_name);
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/os/linux/ |
H A D | libzfs_pool_os.c | 288 zpool_label_name(vtoc->efi_parts[0].p_name, EFI_PART_NAME_LEN);
|
/freebsd-13-stable/sys/contrib/openzfs/include/ |
H A D | libzfs_impl.h | 216 char *p_name; member in struct:__anon10445
|