| /freebsd/sys/dev/cxgbe/iw_cxgbe/ |
| H A D | cm.c | 88 static void start_ep_timer(struct c4iw_ep *ep); 89 static int stop_ep_timer(struct c4iw_ep *ep); 90 static int set_tcpinfo(struct c4iw_ep *ep); 91 static void process_timeout(struct c4iw_ep *ep); 95 static int send_mpa_req(struct c4iw_ep *ep); 96 static int send_mpa_reject(struct c4iw_ep *ep, const void *pdata, u8 plen); 97 static int send_mpa_reply(struct c4iw_ep *ep, const void *pdata, u8 plen); 98 static void close_complete_upcall(struct c4iw_ep *ep, int status); 99 static int send_abort(struct c4iw_ep *ep); 100 static void peer_close_upcall(struct c4iw_ep *ep); [all …]
|
| /freebsd/contrib/mandoc/ |
| H A D | eqn.c | 309 struct eqn_node *ep; in eqn_alloc() local 311 ep = mandoc_calloc(1, sizeof(*ep)); in eqn_alloc() 312 ep->gsize = EQN_DEFSIZE; in eqn_alloc() 313 return ep; in eqn_alloc() 317 eqn_reset(struct eqn_node *ep) in eqn_reset() argument 319 free(ep->data); in eqn_reset() 320 ep->data = ep->start = ep->end = NULL; in eqn_reset() 321 ep->sz = ep->toksz = 0; in eqn_reset() 325 eqn_read(struct eqn_node *ep, const char *p) in eqn_read() argument 329 if (ep->data == NULL) { in eqn_read() [all …]
|
| /freebsd/sbin/restore/ |
| H A D | symtab.c | 79 struct entry *ep; in lookupino() local 83 for (ep = entry[inum % entrytblsize]; ep != NULL; ep = ep->e_next) in lookupino() 84 if (ep->e_ino == inum) in lookupino() 85 return (ep); in lookupino() 138 struct entry *ep; in lookupname() local 143 for (ep = lookupino(UFS_ROOTINO); ep != NULL; ep = ep->e_entries) { in lookupname() 150 for ( ; ep != NULL; ep = ep->e_sibling) in lookupname() 151 if (strcmp(ep->e_name, buf) == 0) in lookupname() 153 if (ep == NULL) in lookupname() 156 return (ep); in lookupname() [all …]
|
| H A D | utilities.c | 55 struct entry *ep; in pathcheck() local 65 ep = lookupname(name); in pathcheck() 66 if (ep == NULL) { in pathcheck() 68 ep = addentry(name, pathsearch(name)->d_ino, NODE); in pathcheck() 69 newnode(ep); in pathcheck() 71 ep->e_flags |= NEW|KEEP; in pathcheck() 80 mktempname(struct entry *ep) in mktempname() argument 84 if (ep->e_flags & TMPNAME) in mktempname() 85 badentry(ep, "mktempname: called with TMPNAME"); in mktempname() 86 ep->e_flags |= TMPNAME; in mktempname() [all …]
|
| H A D | restore.c | 69 struct entry *ep; in addfile() local 87 ep = lookupino(ino); in addfile() 88 if (ep != NULL) { in addfile() 89 if (strcmp(name, myname(ep)) == 0) { in addfile() 90 ep->e_flags |= NEW; in addfile() 95 ep = addentry(name, ino, type); in addfile() 97 newnode(ep); in addfile() 98 ep->e_flags |= NEW; in addfile() 111 struct entry *ep; in deletefile() local 115 ep = lookupname(name); in deletefile() [all …]
|
| /freebsd/contrib/nvi/common/ |
| H A D | log.c | 92 log_init(SCR *sp, EXF *ep) in log_init() argument 96 * ep MAY NOT BE THE SAME AS sp->ep, DON'T USE THE LATTER. in log_init() 102 ep->l_lp = NULL; in log_init() 103 ep->l_len = 0; in log_init() 104 ep->l_cursor.lno = 1; /* XXX Any valid recno. */ in log_init() 105 ep->l_cursor.cno = 0; in log_init() 106 ep->l_high = ep->l_cur = 1; in log_init() 108 ep->log = dbopen(NULL, O_CREAT | O_NONBLOCK | O_RDWR, in log_init() 110 if (ep->log == NULL) { in log_init() 112 F_SET(ep, F_NOLOG); in log_init() [all …]
|
| H A D | line.c | 84 EXF *ep; in db_get() local 99 if ((ep = sp->ep) == NULL) { in db_get() 135 if (lno == ep->c_lno) { in db_get() 140 *lenp = ep->c_len; in db_get() 142 *pp = ep->c_lp; in db_get() 145 ep->c_lno = OOBLNO; in db_get() 151 switch (ep->db->get(ep->db, &key, &data, 0)) { in db_get() 175 BINC_GOTOW(sp, ep->c_lp, ep->c_blen, wlen); in db_get() 176 MEMCPY(ep->c_lp, wp, wlen); in db_get() 178 ep->c_lp = data.data; in db_get() [all …]
|
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| H A D | htc.c | 53 void ath10k_htc_notify_tx_completion(struct ath10k_htc_ep *ep, in ath10k_htc_notify_tx_completion() argument 56 struct ath10k *ar = ep->htc->ar; in ath10k_htc_notify_tx_completion() 59 ath10k_dbg(ar, ATH10K_DBG_HTC, "%s: ep %d skb %pK\n", __func__, in ath10k_htc_notify_tx_completion() 60 ep->eid, skb); in ath10k_htc_notify_tx_completion() 68 ep->ul_pipe_id == 3) in ath10k_htc_notify_tx_completion() 72 ath10k_htc_restore_tx_skb(ep->htc, skb); in ath10k_htc_notify_tx_completion() 74 if (!ep->ep_ops.ep_tx_complete) { in ath10k_htc_notify_tx_completion() 75 ath10k_warn(ar, "no tx handler for eid %d\n", ep->eid); in ath10k_htc_notify_tx_completion() 85 ep->ep_ops.ep_tx_complete(ep->htc->ar, skb); in ath10k_htc_notify_tx_completion() 89 static void ath10k_htc_prepare_tx_skb(struct ath10k_htc_ep *ep, in ath10k_htc_prepare_tx_skb() argument [all …]
|
| /freebsd/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_iwarp.c | 227 * syn processing and replacing a pre-allocated ep in the list. the second 501 /* TODO: destroy flow -> need to destroy EP&QP */ in ecore_iwarp_modify_qp() 562 struct ecore_iwarp_ep *ep, in ecore_iwarp_destroy_ep() argument 566 ep->ep_buffer_virt, in ecore_iwarp_destroy_ep() 567 ep->ep_buffer_phys, in ecore_iwarp_destroy_ep() 568 sizeof(*ep->ep_buffer_virt)); in ecore_iwarp_destroy_ep() 573 OSAL_LIST_REMOVE_ENTRY(&ep->list_entry, in ecore_iwarp_destroy_ep() 579 if (ep->qp) in ecore_iwarp_destroy_ep() 580 ep->qp->ep = OSAL_NULL; in ecore_iwarp_destroy_ep() 582 OSAL_FREE(p_hwfn->p_dev, ep); in ecore_iwarp_destroy_ep() [all …]
|
| /freebsd/contrib/netbsd-tests/lib/libc/stdlib/ |
| H A D | t_hsearch.c | 87 ENTRY e, *ep; in ATF_TC_BODY() local 103 ep = hsearch(e, ENTER); in ATF_TC_BODY() 105 ATF_REQUIRE(ep != NULL); in ATF_TC_BODY() 106 ATF_REQUIRE_STREQ(ep->key, ch); in ATF_TC_BODY() 107 ATF_REQUIRE_EQ((intptr_t)ep->data, i); in ATF_TC_BODY() 117 ep = hsearch(e, FIND); in ATF_TC_BODY() 119 ATF_REQUIRE(ep != NULL); in ATF_TC_BODY() 120 ATF_REQUIRE_STREQ(ep->key, ch); in ATF_TC_BODY() 121 ATF_REQUIRE_EQ((intptr_t)ep->data, i); in ATF_TC_BODY() 141 ENTRY e, *ep; in ATF_TC_BODY() local [all …]
|
| /freebsd/sys/netgraph/bluetooth/hci/ |
| H A D | ng_hci_evnt.c | 381 ng_hci_le_advertising_report_ep *ep = NULL; in le_advertizing_report() 388 NG_HCI_M_PULLUP(event, sizeof(*ep)); in le_advertizing_report() 392 ep = mtod(event, ng_hci_le_advertising_report_ep *); in le_advertizing_report() 393 num_reports = ep->num_reports; in le_advertizing_report() 394 m_adj(event, sizeof(*ep)); in le_advertizing_report() 395 ep = NULL; in le_advertizing_report() 475 ng_hci_le_connection_complete_ep *ep = NULL; in le_connection_complete() 480 NG_HCI_M_PULLUP(event, sizeof(*ep)); in le_connection_complete() 484 ep = mtod(event, ng_hci_le_connection_complete_ep *); in le_connection_complete() 485 link_type = (ep in le_connection_complete() 379 ng_hci_le_advertising_report_ep *ep = NULL; le_advertizing_report() local 473 ng_hci_le_connection_complete_ep *ep = NULL; le_connection_complete() local 616 ng_hci_inquiry_result_ep *ep = NULL; inquiry_result() local 677 ng_hci_con_compl_ep *ep = NULL; con_compl() local 803 ng_hci_con_req_ep *ep = NULL; con_req() local 888 ng_hci_discon_compl_ep *ep = NULL; discon_compl() local 934 ng_hci_encryption_change_ep *ep = NULL; encryption_change() local 981 ng_hci_read_remote_features_compl_ep *ep = NULL; read_remote_features_compl() local 1034 ng_hci_qos_setup_compl_ep *ep = NULL; qos_setup_compl() local 1089 ng_hci_role_change_ep *ep = NULL; role_change() local 1126 ng_hci_num_compl_pkts_ep *ep = NULL; num_compl_pkts() local 1184 ng_hci_mode_change_ep *ep = NULL; mode_change() local 1239 ng_hci_read_clock_offset_compl_ep *ep = NULL; read_clock_offset_compl() local 1291 ng_hci_qos_violation_ep *ep = NULL; qos_violation() local 1332 ng_hci_page_scan_mode_change_ep *ep = NULL; page_scan_mode_change() local 1367 ng_hci_page_scan_rep_mode_change_ep *ep = NULL; page_scan_rep_mode_change() local [all...] |
| H A D | ng_hci_ulpi.c | 128 ng_hci_lp_con_req_ep *ep = NULL; in ng_hci_lp_acl_con_req() local 134 ep = (ng_hci_lp_con_req_ep *)(NGI_MSG(item)->data); in ng_hci_lp_acl_con_req() 163 con = ng_hci_con_by_bdaddr(unit, &ep->bdaddr, NG_HCI_LINK_ACL); in ng_hci_lp_acl_con_req() 234 bcopy(&ep->bdaddr, &con->bdaddr, sizeof(con->bdaddr)); in ng_hci_lp_acl_con_req() 254 bcopy(&ep->bdaddr, &req->cp.bdaddr, sizeof(req->cp.bdaddr)); in ng_hci_lp_acl_con_req() 280 n = ng_hci_get_neighbor(unit, &ep->bdaddr, NG_HCI_LINK_ACL); in ng_hci_lp_acl_con_req() 328 ng_hci_lp_con_req_ep *ep = NULL; in ng_hci_lp_sco_con_req() local 333 ep = (ng_hci_lp_con_req_ep *)(NGI_MSG(item)->data); in ng_hci_lp_sco_con_req() 345 bcmp(&acl_con->bdaddr, &ep->bdaddr, sizeof(bdaddr_t)) == 0) in ng_hci_lp_sco_con_req() 352 ep->bdaddr.b[5], ep->bdaddr.b[4], ep->bdaddr.b[3], in ng_hci_lp_sco_con_req() [all …]
|
| /freebsd/contrib/telnet/libtelnet/ |
| H A D | encrypt.c | 143 Encryptions *ep = encryptions; in findencryption() local 147 while (ep->type && ep->type != type) in findencryption() 148 ++ep; in findencryption() 149 return(ep->type ? ep : 0); in findencryption() 155 Encryptions *ep = encryptions; in finddecryption() local 159 while (ep->type && ep->type != type) in finddecryption() 160 ++ep; in finddecryption() 161 return(ep->type ? ep : 0); in finddecryption() 182 Encryptions *ep = encryptions; in encrypt_init() local 195 while (ep->type) { in encrypt_init() [all …]
|
| /freebsd/crypto/heimdal/appl/telnet/libtelnet/ |
| H A D | encrypt.c | 143 Encryptions *ep = encryptions; in findencryption() local 147 while (ep->type && ep->type != type) in findencryption() 148 ++ep; in findencryption() 149 return(ep->type ? ep : 0); in findencryption() 155 Encryptions *ep = encryptions; in finddecryption() local 159 while (ep->type && ep->type != type) in finddecryption() 160 ++ep; in finddecryption() 161 return(ep->type ? ep : 0); in finddecryption() 180 Encryptions *ep = encryptions; in encrypt_init() local 196 while (ep->type) { in encrypt_init() [all …]
|
| /freebsd/sys/contrib/dev/athk/ath12k/ |
| H A D | htc.c | 53 static void ath12k_htc_prepare_tx_skb(struct ath12k_htc_ep *ep, in ath12k_htc_prepare_tx_skb() argument 61 hdr->htc_info = le32_encode_bits(ep->eid, HTC_HDR_ENDPOINTID) | in ath12k_htc_prepare_tx_skb() 65 if (ep->tx_credit_flow_enabled) in ath12k_htc_prepare_tx_skb() 69 spin_lock_bh(&ep->htc->tx_lock); in ath12k_htc_prepare_tx_skb() 70 hdr->ctrl_info = le32_encode_bits(ep->seq_no++, HTC_HDR_CONTROLBYTES1); in ath12k_htc_prepare_tx_skb() 71 spin_unlock_bh(&ep->htc->tx_lock); in ath12k_htc_prepare_tx_skb() 78 struct ath12k_htc_ep *ep = &htc->endpoint[eid]; in ath12k_htc_send() local 92 if (ep->tx_credit_flow_enabled) { in ath12k_htc_send() 95 if (ep->tx_credits < credits) { in ath12k_htc_send() 97 "htc insufficient credits ep %d required %d available %d\n", in ath12k_htc_send() [all …]
|
| /freebsd/sys/geom/ |
| H A D | geom_event.c | 235 struct g_event *ep; in one_event() local 249 ep = TAILQ_FIRST(&g_events); in one_event() 250 if (ep == NULL) { in one_event() 254 ep->flag |= EV_INPROGRESS; in one_event() 257 ep->func(ep->arg, 0); in one_event() 261 TAILQ_REMOVE(&g_events, ep, events); in one_event() 262 ep->flag &= ~EV_INPROGRESS; in one_event() 263 if (ep->flag & EV_WAKEUP) { in one_event() 264 ep->flag |= EV_DONE; in one_event() 265 wakeup(ep); in one_event() [all …]
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | htc.c | 52 static void ath11k_htc_prepare_tx_skb(struct ath11k_htc_ep *ep, in ath11k_htc_prepare_tx_skb() argument 60 hdr->htc_info = FIELD_PREP(HTC_HDR_ENDPOINTID, ep->eid) | in ath11k_htc_prepare_tx_skb() 64 if (ep->tx_credit_flow_enabled) in ath11k_htc_prepare_tx_skb() 68 spin_lock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb() 69 hdr->ctrl_info = FIELD_PREP(HTC_HDR_CONTROLBYTES1, ep->seq_no++); in ath11k_htc_prepare_tx_skb() 70 spin_unlock_bh(&ep->htc->tx_lock); in ath11k_htc_prepare_tx_skb() 77 struct ath11k_htc_ep *ep = &htc->endpoint[eid]; in ath11k_htc_send() local 84 ep->tx_credit_flow_enabled); in ath11k_htc_send() 96 if (ep->tx_credits < credits) { in ath11k_htc_send() 98 "ep %d insufficient credits required %d total %d\n", in ath11k_htc_send() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/pci/ |
| H A D | fsl,imx6q-pcie-common.yaml | 7 title: Freescale i.MX6 PCIe RC/EP controller 32 required properties for imx7d-pcie, imx7d-pcie-ep, imx8mq-pcie, 33 and imx8mq-pcie-ep. 39 imx6sx-pcie, imx6sx-pcie-ep, to PCIE_PHY power domain for 40 imx7d-pcie, imx7d-pcie-ep, imx8mq-pcie and imx8mq-pcie-ep. 42 for imx6sx-pcie and imx6sx-pcie-ep. 54 IP block. Additional required by imx7d-pcie, imx7d-pcie-ep, 55 imx8mq-pcie, and imx8mq-pcie-ep. 124 - fsl,imx6sx-pcie-ep 144 - fsl,imx8mq-pcie-ep [all …]
|
| /freebsd/sbin/ifconfig/tests/ |
| H A D | inet6.sh | 21 ep=$(vnet_mkepair) 22 vnet_mkjail ifcjail ${ep}a 27 jexec ifcjail ifconfig ${ep}a inet6 2001:db8:1::1 netmask 64 31 jexec ifcjail ifconfig ${ep}a inet6 2001:db8:1::1/64 33 jexec ifcjail ifconfig ${ep}a 38 jexec ifcjail ifconfig ${ep}a inet6 2001:db8:1::1 netmask 64 -alias 57 ep=$(vnet_mkepair) 58 vnet_mkjail ifcjail ${ep}a 62 jexec ifcjail ifconfig ${ep}a \ 66 jexec ifcjail ifconfig ${ep}a inet6 2001:db8:1::1/64 [all …]
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | ntp_io.c | 299 endpt * ep; member 722 for (ifi.ep = ep_list; ifi.ep != NULL; ifi.ep = ifi.ep->elink) in interface_enumerate() 731 endpt *ep in init_interface() argument 734 ZERO(*ep); in init_interface() 735 ep->fd = INVALID_SOCKET; in init_interface() 736 ep->bfd = INVALID_SOCKET; in init_interface() 737 ep->phase = sys_interphase; in init_interface() 778 endpt *ep in delete_interface() argument 782 io_completion_port_remove_interface(ep); in delete_interface() 784 free(ep); in delete_interface() [all …]
|
| /freebsd/usr.bin/w/ |
| H A D | w.c | 107 } *ep, *ehead = NULL, **nextp = &ehead; variable 230 if ((ep = calloc(1, sizeof(struct entry))) == NULL) in main() 232 *nextp = ep; in main() 233 nextp = &ep->next; in main() 234 memmove(&ep->utmp, utmp, sizeof *utmp); in main() 235 ep->tdev = stp->st_rdev; in main() 240 if (ep->tdev == 0) { in main() 244 (void)sysctlbyname("machdep.consdev", &ep->tdev, &size, NULL, 0); in main() 247 if (touched < ep->utmp.ut_tv.tv_sec) { in main() 249 touched = ep->utmp.ut_tv.tv_sec; in main() [all …]
|
| /freebsd/crypto/openssl/apps/ |
| H A D | rehash.c | 128 HENTRY *ep, *found = NULL; in add_entry() local 143 for (ep = bp->first_entry; ep; ep = ep->next) { in add_entry() 144 if (digest && memcmp(digest, ep->digest, (size_t)evpmdsize) == 0) { in add_entry() 151 if (strcmp(filename, ep->filename) == 0) { in add_entry() 152 found = ep; in add_entry() 157 ep = found; in add_entry() 158 if (ep == NULL) { in add_entry() 165 ep = app_malloc(sizeof(*ep), "collision bucket"); in add_entry() 166 *ep = nilhentry; in add_entry() 167 ep->old_id = ~0; in add_entry() [all …]
|
| /freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/ |
| H A D | bt_seq.c | 168 * ep: storage for returned key 179 __bt_seqset(BTREE *t, EPG *ep, DBT *key, int flags) in __bt_seqset() argument 200 return (__bt_first(t, key, ep, &exact)); in __bt_seqset() 222 ep->page = h; in __bt_seqset() 223 ep->index = 0; in __bt_seqset() 247 ep->page = h; in __bt_seqset() 248 ep->index = NEXTINDEX(h) - 1; in __bt_seqset() 269 __bt_seqadv(BTREE *t, EPG *ep, int flags) in __bt_seqadv() argument 311 if ((rval = __bt_first(t, &c->key, ep, &exact)) == RET_ERROR) in __bt_seqadv() 319 c->pg.pgno = ep->page->pgno; in __bt_seqadv() [all …]
|
| /freebsd/sys/netinet/ |
| H A D | ip_encap.c | 237 struct encaptab *ep, *tmp; in encap_attach() local 245 ep = malloc(sizeof(*ep), M_NETADDR, mflags); in encap_attach() 246 if (ep == NULL) in encap_attach() 249 ep->proto = cfg->proto; in encap_attach() 250 ep->min_length = cfg->min_length; in encap_attach() 251 ep->exact_match = cfg->exact_match; in encap_attach() 252 ep->arg = arg; in encap_attach() 253 ep->lookup = cfg->exact_match == ENCAP_DRV_LOOKUP ? cfg->lookup: NULL; in encap_attach() 254 ep->check = cfg->exact_match != ENCAP_DRV_LOOKUP ? cfg->check: NULL; in encap_attach() 255 ep->input = cfg->input; in encap_attach() [all …]
|
| /freebsd/sys/contrib/alpine-hal/ |
| H A D | al_hal_pcie_interrupts.h | 101 /** [EP only] MSI sent grant */ 105 /** [EP only] Software initiates FLR on a Physical Function */ 115 /** [RC/EP] The core assert link down event, whenever the link is going down */ 117 /** [EP only] When the EP gets a command to shut down, signal the software to block any new TLP. */ 119 /** [RC/EP] PHY/MAC link up */ 121 /** [RC/EP] Data link up */ 123 /** [RC/EP] The LTSSM is in RCVRY_LOCK state. */ 126 * [RC/EP] CFG write transaction to the configuration space by the RC peer 130 /** [EP only] CFG access in EP mode */ 143 /** [EP only] PME_Turn_Off Message received */ [all …]
|