Home
last modified time | relevance | path

Searched full:ep (Results 1 – 25 of 858) sorted by relevance

12345678910>>...35

/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c88 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 Deqn.c309 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 Dsymtab.c79 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 Dutilities.c55 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 Drestore.c69 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 Dlog.c92 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 Dline.c84 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 …]
H A Dexf.c119 EXF *ep; in file_init() local
152 CALLOC_RET(sp, ep, 1, sizeof(EXF)); in file_init()
153 ep->c_lno = ep->c_nlines = OOBLNO; in file_init()
154 ep->rcv_fd = -1; in file_init()
155 F_SET(ep, F_FIRSTMODIFY); in file_init()
203 ep->mtim = sb.st_mtimespec; in file_init()
205 ep->mtim = sb.st_mtim; in file_init()
207 ep->mtim.tv_sec = sb.st_mtime; in file_init()
208 ep->mtim.tv_nsec = 0; in file_init()
224 F_SET(ep, F_DEVSET); in file_init()
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dhtc.c53 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 Decore_iwarp.c227 * 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 Dt_hsearch.c87 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 Dng_hci_evnt.c379 ng_hci_le_advertising_report_ep *ep = NULL; in le_advertizing_report() local
386 NG_HCI_M_PULLUP(event, sizeof(*ep)); in le_advertizing_report()
390 ep = mtod(event, ng_hci_le_advertising_report_ep *); in le_advertizing_report()
391 num_reports = ep->num_reports; in le_advertizing_report()
392 m_adj(event, sizeof(*ep)); in le_advertizing_report()
393 ep = NULL; in le_advertizing_report()
473 ng_hci_le_connection_complete_ep *ep = NULL; in le_connection_complete() local
478 NG_HCI_M_PULLUP(event, sizeof(*ep)); in le_connection_complete()
482 ep = mtod(event, ng_hci_le_connection_complete_ep *); in le_connection_complete()
483 link_type = (ep->address_type)? NG_HCI_LINK_LE_RANDOM : in le_connection_complete()
[all …]
H A Dng_hci_ulpi.c128 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 Dencrypt.c143 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 Dencrypt.c143 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 Dhtc.c53 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 Dgeom_event.c236 struct g_event *ep; in one_event() local
250 ep = TAILQ_FIRST(&g_events); in one_event()
251 if (ep == NULL) { in one_event()
255 ep->flag |= EV_INPROGRESS; in one_event()
258 ep->func(ep->arg, 0); in one_event()
262 TAILQ_REMOVE(&g_events, ep, events); in one_event()
263 ep->flag &= ~EV_INPROGRESS; in one_event()
264 if (ep->flag & EV_WAKEUP) { in one_event()
265 ep->flag |= EV_DONE; in one_event()
266 wakeup(ep); in one_event()
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dhtc.c52 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 Dfsl,imx6q-pcie-common.yaml7 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 …]
H A Dfsl,imx6q-pcie-ep.yaml4 $id: http://devicetree.org/schemas/pci/fsl,imx6q-pcie-ep.yaml#
15 thus inherits all the common properties defined in snps,dw-pcie-ep.yaml.
22 - fsl,imx8mm-pcie-ep
23 - fsl,imx8mq-pcie-ep
24 - fsl,imx8mp-pcie-ep
25 - fsl,imx95-pcie-ep
34 imx6sx-pcie-ep, imx8mq-pcie, imx8mq-pcie-ep.
56 - $ref: /schemas/pci/snps,dw-pcie-ep.yaml#
62 - fsl,imx8mm-pcie-ep
63 - fsl,imx8mq-pcie-ep
[all …]
/freebsd/usr.bin/w/
H A Dw.c107 } *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 Drehash.c127 HENTRY *ep, *found = NULL; in add_entry() local
142 for (ep = bp->first_entry; ep; ep = ep->next) { in add_entry()
143 if (digest && memcmp(digest, ep->digest, evpmdsize) == 0) { in add_entry()
150 if (strcmp(filename, ep->filename) == 0) { in add_entry()
151 found = ep; in add_entry()
156 ep = found; in add_entry()
157 if (ep == NULL) { in add_entry()
164 ep = app_malloc(sizeof(*ep), "collision bucket"); in add_entry()
165 *ep = nilhentry; in add_entry()
166 ep->old_id = ~0; in add_entry()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_io.c299 endpt * ep;
722 for (ifi.ep = ep_list; ifi.ep != NULL; ifi.ep = ifi.ep->elink) in addr_samesubnet()
731 endpt *ep in interface_enumerate()
734 ZERO(*ep); in interface_enumerate()
735 ep->fd = INVALID_SOCKET; in interface_enumerate()
736 ep->bfd = INVALID_SOCKET; in interface_enumerate()
737 ep in interface_enumerate()
297 endpt * ep; global() member
748 init_interface(endpt * ep) init_interface() argument
796 delete_interface(endpt * ep) delete_interface() argument
811 add_interface(endpt * ep) add_interface() argument
984 remove_interface(endpt * ep) remove_interface() argument
1052 log_listen_address(endpt * ep) log_listen_address() argument
1760 endpt * ep; update_interfaces() local
2235 endpt *ep; set_reuseaddr() local
2606 endpt * ep; io_setbclient() local
2714 endpt *ep; io_unsetbclient() local
2747 endpt * ep; global() local
3133 sendpkt(sockaddr_u * dest,struct interface * ep,int ttl,struct pkt * pkt,int len) global() argument
3799 endpt * ep; global() local
3930 endpt *ep; global() local
4128 endpt * ep; global() local
4573 add_addr_to_list(sockaddr_u * addr,endpt * ep) global() argument
[all...]
/freebsd/sys/netinet/
H A Dip_encap.c237 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 Dal_hal_pcie_interrupts.h101 /** [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 …]

12345678910>>...35