/freebsd-current/lib/libipsec/ |
H A D | pfkey.c | 337 caddr_t ep; local 385 ep = ((caddr_t)newmsg) + len; 387 p = pfkey_setsadbmsg((caddr_t)newmsg, ep, SADB_GETSPI, 394 p = pfkey_setsadbxsa2(p, ep, mode, reqid); 401 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_SRC, src, plen, 409 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_DST, dst, plen, 420 if (p + sizeof(spirange) > ep) { 435 if (p != ep) { 533 caddr_t ep; local 567 ep 706 caddr_t ep; local 1036 caddr_t ep; local 1217 caddr_t ep; local 1299 caddr_t ep; local 1360 caddr_t ep; local 1446 caddr_t ep; local 1649 caddr_t ep; /* XXX should be passed from upper layer */ local [all...] |
/freebsd-current/sys/contrib/openzfs/lib/libzutil/os/linux/ |
H A D | zutil_device_path_os.c | 215 struct dirent *ep; local 255 while ((ep = readdir(dp))) { 261 if (!zfs_isnumber(ep->d_name)) 265 "/sys/bus/pci/slots/%s/address", ep->d_name); 275 ep->d_name) == -1) { 311 struct dirent *ep; local 342 while ((ep = readdir(dp))) { 344 if (strstr(ep->d_name, "enclosure_device") == NULL) 349 if (asprintf(&tmp2, "%s/%s", tmp1, ep->d_name) == -1) { 426 struct dirent *ep; local [all...] |
/freebsd-current/usr.sbin/bluetooth/sdpd/ |
H A D | main.c | 154 char *ep; local 164 uid = strtol(user, &ep, 10); 165 if (*ep != '\0') { 179 gid = strtol(group, &ep, 10); 180 if (*ep != '\0') {
|
/freebsd-current/sbin/ipfw/ |
H A D | dummynet.c | 226 struct dn_extra_parms *ep; local 233 ep = safe_calloc(1, l); 234 memset(ep, 0, sizeof(*ep)); 237 oid_fill(&ep->oid, l, DN_CMD_GET, DN_API_VERSION); 238 ep->oid.len = l; 239 ep->oid.subtype = subtype; 240 ep->nr = nr; 242 ret = do_cmd(-IP_DUMMYNET3, ep, (uintptr_t)&l); 244 free(ep); 1025 process_extra_parms(int *ac, char **av, struct dn_extra_parms *ep, uint16_t type) argument [all...] |
/freebsd-current/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_sco.c | 380 ng_hci_lp_con_cfm_ep *ep = NULL; local 384 if (msg->header.arglen != sizeof(*ep)) 387 ep = (ng_hci_lp_con_cfm_ep *)(msg->data); 392 pcb = ng_btsocket_sco_pcb_by_addrs(&rt->src, &ep->bdaddr); 408 ep->status, ep->con_handle, pcb->state); 419 if (ep->status == 0) { 425 pcb->con_handle = ep->con_handle; 453 ng_hci_lp_con_ind_ep *ep = NULL; local 458 if (msg->header.arglen != sizeof(*ep)) 548 ng_hci_lp_discon_ind_ep *ep = NULL; local 603 ng_hci_lp_con_req_ep *ep = NULL; local 634 ng_hci_lp_con_rsp_ep *ep = NULL; local 663 ng_hci_lp_discon_req_ep *ep = NULL; local 822 ng_hci_node_up_ep *ep = NULL; local 861 ng_hci_sync_con_queue_ep *ep = NULL; local [all...] |
/freebsd-current/contrib/mtree/ |
H A D | getid.c | 252 char *cp, *bp, *ep; local 264 id = strtoul(cp, &ep, 10); 265 if (id > GID_MAX || *ep != '\0') 399 char *cp, *bp, *ep; local 413 id = strtoul(cp, &ep, 10); 414 if (id > UID_MAX || *ep != '\0') 422 id = strtoul(cp, &ep, 10); 423 if (id > GID_MAX || *ep != '\0') 427 if (!(ep = strsep(&bp, ":"))) /* class */ 429 if (!(ep [all...] |
/freebsd-current/stand/common/ |
H A D | boot.c | 176 char *argv[2], *cp, *ep; local 188 timeout = strtol(cp, &ep, 0); 189 if (cp == ep) 271 const char *spec, *ep; local 293 if ((ep = strchr(spec, ';')) != NULL) { 294 len = ep - spec; 322 char lbuf[KENV_MVALLEN], *cp, *ep, *dev, *fstyp, *options; local 363 ep = cp; 368 fstyp = strdup(ep); 377 ep [all...] |
H A D | modinfo.c | 162 struct env_var *ep; local 169 for (ep = environ; ep != NULL; ep = ep->ev_next) { 170 len = strlen(ep->ev_name); 171 if ((size_t)archsw.arch_copyin(ep->ev_name, addr, len) != len) 177 if (ep->ev_value != NULL) { 178 len = strlen(ep->ev_value); 179 if ((size_t)archsw.arch_copyin(ep [all...] |
/freebsd-current/usr.sbin/bluetooth/hccontrol/ |
H A D | link_policy.c | 138 ng_hci_role_change_ep *ep = (ng_hci_role_change_ep *)(e + 1); local 140 if (ep->status != 0x00) { 142 hci_status2str(ep->status), ep->status); 146 fprintf(stdout, "BD_ADDR: %s\n", hci_bdaddr2str(&ep->bdaddr)); 148 (ep->role == NG_HCI_ROLE_MASTER)? "Master" : "Slave", 149 ep->role);
|
/freebsd-current/lib/libcrypt/ |
H A D | crypt-md5.c | 51 const char *ep; local 59 for (ep = salt; *ep && *ep != '$' && ep < salt + 8; ep++) 63 sl = ep - salt;
|
/freebsd-current/usr.sbin/bluetooth/btpand/ |
H A D | btpand.c | 78 char * ep; local 116 asprintf(&ep, "/dev/%s", optarg); 117 interface_name = ep; 123 ul = strtoul(optarg, &ep, 10); 124 if (*optarg == '\0' || *ep != '\0' || ul == 0) 136 ul = strtoul(optarg, &ep, 0); 137 if (*optarg == '\0' || *ep != '\0'
|
/freebsd-current/contrib/telnet/telnet/ |
H A D | commands.c | 1625 struct env_lst *ep; 1627 for (ep = envlisthead.next; ep; ep = ep->next) { 1628 if (strcmp(ep->var, var) == 0) 1629 return(ep); 1639 struct env_lst *ep; 1644 ep = env_define((unsigned char *)*epp, 1646 ep 1617 struct env_lst *ep; local 1631 struct env_lst *ep; local 1676 struct env_lst *ep; local 1701 struct env_lst *ep; local 1718 struct env_lst *ep; local 1727 struct env_lst *ep; local 1736 struct env_lst *ep; local 1762 struct env_lst *ep; local 1791 struct env_lst *ep; local 2852 unsigned char *cp, *cp2, *lsrp, *ep; local [all...] |
/freebsd-current/sys/netpfil/ipfw/ |
H A D | dn_sched_fq_codel.c | 504 struct dn_extra_parms *ep; local 508 ep = (struct dn_extra_parms *) _schk->cfg; 514 if (ep && ep->oid.len ==sizeof(*ep) && 515 ep->oid.subtype == DN_SCH_PARAMS) { 517 if (ep->par[0] < 0) 520 fqc_cfg->ccfg.target = ep->par[0] * AQM_TIME_1US; 522 if (ep->par[1] < 0) 525 fqc_cfg->ccfg.interval = ep 569 fq_codel_getconfig(struct dn_schk *_schk, struct dn_extra_parms *ep) argument [all...] |
H A D | dn_aqm_codel.c | 345 aqm_codel_config(struct dn_fsk* fs, struct dn_extra_parms *ep, int len) argument 372 if (ep->par[0] < 0) 375 ccfg->target = ep->par[0] * AQM_TIME_1US; 377 if (ep->par[1] < 0) 380 ccfg->interval = ep->par[1] * AQM_TIME_1US; 382 if (ep->par[2] < 0) 385 ccfg->flags = ep->par[2]; 418 aqm_codel_getconfig(struct dn_fsk *fs, struct dn_extra_parms * ep) argument 423 strlcpy(ep->name, codel_desc.name, sizeof(ep [all...] |
H A D | dn_aqm_pie.c | 687 aqm_pie_config(struct dn_fsk* fs, struct dn_extra_parms *ep, int len) argument 719 if (ep->par[0] < 0) 722 pcfg->qdelay_ref = ep->par[0]; 723 if (ep->par[1] < 0) 726 pcfg->tupdate = ep->par[1]; 727 if (ep->par[2] < 0) 730 pcfg->max_burst = ep->par[2]; 731 if (ep->par[3] < 0) 734 pcfg->max_ecnth = ep->par[3]; 735 if (ep 779 aqm_pie_getconfig(struct dn_fsk *fs, struct dn_extra_parms * ep) argument [all...] |
H A D | dn_sched_fq_pie.c | 1098 struct dn_extra_parms *ep; local 1102 ep = (struct dn_extra_parms *) _schk->cfg; 1109 if (ep && ep->oid.len ==sizeof(*ep) && 1110 ep->oid.subtype == DN_SCH_PARAMS) { 1112 if (ep->par[0] < 0) 1115 fqp_cfg->pcfg.qdelay_ref = ep->par[0]; 1116 if (ep->par[1] < 0) 1119 fqp_cfg->pcfg.tupdate = ep 1184 fq_pie_getconfig(struct dn_schk *_schk, struct dn_extra_parms *ep) argument [all...] |
/freebsd-current/crypto/heimdal/appl/telnet/telnet/ |
H A D | commands.c | 1534 struct env_lst *ep; 1536 for (ep = envlisthead.next; ep; ep = ep->next) { 1537 if (strcmp((char *)ep->var, (char *)var) == 0) 1538 return(ep); 1551 struct env_lst *ep; 1556 ep = env_define((unsigned char *)*epp, 1558 ep 1526 struct env_lst *ep; local 1543 struct env_lst *ep; local 1614 struct env_lst *ep; local 1639 struct env_lst *ep; local 1656 struct env_lst *ep; local 1665 struct env_lst *ep; local 1674 struct env_lst *ep; local 1700 struct env_lst *ep; local 1729 struct env_lst *ep; local [all...] |
/freebsd-current/sys/dev/usb/controller/ |
H A D | dwc_otgreg.h | 105 #define DOTG_DIEPCTL(ep) (0x0900 + (32*(ep))) 106 #define DOTG_DIEPINT(ep) (0x0908 + (32*(ep))) 107 #define DOTG_DIEPTSIZ(ep) (0x0910 + (32*(ep))) 108 #define DOTG_DIEPDMA(ep) (0x0914 + (32*(ep))) 109 #define DOTG_DTXFSTS(ep) (0x0918 + (32*(ep))) [all...] |
/freebsd-current/contrib/ntp/libntp/ |
H A D | decodenetnum.c | 30 char * ep; local 36 num = strtoul(sval, &ep, 10); 37 if (!*ep && num <= maxval)
|
/freebsd-current/usr.bin/random/ |
H A D | random.c | 59 char *ep; local 114 denom = strtod(*argv, &ep); 117 if (denom < 1. || *ep != '\0')
|
/freebsd-current/lib/libjail/ |
H A D | jail_getid.c | 48 char *ep; local 52 jid = strtoul(name, &ep, 10); 53 if (*name && !*ep) {
|
/freebsd-current/crypto/heimdal/appl/rcp/ |
H A D | util.c | 67 char *ep; local 70 ep = cp + (strlen(cp) - 1); 71 if (*ep == ']') { 72 *ep = '\0';
|
/freebsd-current/contrib/nvi/ex/ |
H A D | ex_edit.c | 62 if (sp->ep == NULL || F_ISSET(frp, FR_TMPFILE)) { 125 new->ep = sp->ep; 126 ++new->ep->refcnt;
|
/freebsd-current/contrib/openbsm/libbsm/ |
H A D | bsm_mask.c | 112 struct au_event_ent *ep; local 127 ep = getauevent_r(&aemp->ev); 128 if (ep != NULL) 132 } while (ep != NULL);
|
/freebsd-current/usr.bin/renice/ |
H A D | renice.c | 155 char *ep; local 158 v = strtol(str, &ep, 10); 163 if (ep == str || *ep != '\0' || errno != 0) {
|