| /f-stack/freebsd/kern/ |
| H A D | kern_fail.c | 233 if (!ent->fe_stale) { in fail_point_is_off() 566 if (ent->fe_stale) in fail_point_eval_nontrivial() 573 if (ent->fe_pid != NO_PID && ent->fe_pid != curproc->p_pid) in fail_point_eval_nontrivial() 612 cont = ent->fe_arg; in fail_point_eval_nontrivial() 616 msecs = ent->fe_arg; in fail_point_eval_nontrivial() 686 if (ent->fe_stale) in fail_point_get() 721 if (ent->fe_arg) in fail_point_get() 797 if (ent->fe_prob == 0 || ent->fe_count == 0) { in fail_point_set() 802 fp_free(ent); in fail_point_set() 809 fp_free(ent); in fail_point_set() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_taskq.c | 158 taskq_ent_t *ent = NULL; in taskq_lookup() local 162 if (ent->tqent_id == tqid) in taskq_lookup() 165 if (ent != NULL) in taskq_lookup() 168 return (ent); in taskq_lookup() 177 ent->tqent_id = tqid; in taskq_insert() 190 if (!ent->tqent_registered) in taskq_remove() 281 taskq_ent_t *ent; in taskq_cancel_id() local 302 taskq_free(ent); in taskq_cancel_id() 305 taskq_free(ent); in taskq_cancel_id() 423 taskq_ent_t *ent; in taskq_wait_id() local [all …]
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_table_algo.c | 413 if (ent != NULL) { in ta_lookup_radix() 465 if (ent != NULL) in flush_radix_entry() 670 ent = malloc(sizeof(*ent), M_IPFW_TBL, M_WAITOK | M_ZERO); in ta_prepare_add_radix() 1462 memset(&ent, 0, sizeof(ent)); in ta_find_chash_tentry() 1517 f(ent, arg); in ta_foreach_chash() 1521 f(ent, arg); in ta_foreach_chash() 1534 ent = malloc(sizeof(*ent), M_IPFW_TBL, M_WAITOK | M_ZERO); in ta_prepare_add_chash() 1644 ent = &tb->ent; in ta_del_chash() 3435 ent = &fe6.e; in ta_find_fhash_tentry() 3477 f(ent, arg); in ta_foreach_fhash() [all …]
|
| /f-stack/freebsd/contrib/openzfs/cmd/zfs/ |
| H A D | zfs_project.c | 211 struct dirent *ent; in zfs_project_handle_dir() local 229 while (!ret && (ent = readdir(dir)) != NULL) { in zfs_project_handle_dir() 231 if (strcmp(ent->d_name, ".") == 0 || in zfs_project_handle_dir() 232 strcmp(ent->d_name, "..") == 0) in zfs_project_handle_dir() 235 if (strlen(ent->d_name) + strlen(name) >= in zfs_project_handle_dir() 241 sprintf(fullname, "%s/%s", name, ent->d_name); in zfs_project_handle_dir() 243 if (!ret && zpc->zpc_recursive && ent->d_type == DT_DIR) in zfs_project_handle_dir()
|
| /f-stack/freebsd/mips/nlm/dev/net/ucore/ |
| H A D | crt0_basic.S | 36 .ent _start 44 .ent zerobss 55 .ent init
|
| /f-stack/freebsd/arm64/nvidia/tegra210/ |
| H A D | tegra210_cpufreq.c | 185 struct speedo_entry *ent; in freq_to_voltage() local 189 ent = NULL; in freq_to_voltage() 192 ent = &sc->cpu_def->speedo_tbl[i]; in freq_to_voltage() 196 if (ent == NULL) in freq_to_voltage() 197 ent = &sc->cpu_def->speedo_tbl[sc->cpu_def->speedo_nitems - 1]; in freq_to_voltage() 202 uv = DIV_ROUND_CLOSEST(ent->c2 * sc->speedo_value, scale); in freq_to_voltage() 203 uv = DIV_ROUND_CLOSEST((uv + ent->c1) * sc->speedo_value, scale) + in freq_to_voltage() 204 ent->c0; in freq_to_voltage()
|
| /f-stack/freebsd/arm/broadcom/bcm2835/ |
| H A D | bcm2835_vcbus.c | 217 #define BCM283X_MEMMAP_ISTERM(ent) \ argument 218 ((ent)->armc_start == 0 && (ent)->armc_size == 0 && \ 219 (ent)->vcbus_start == 0)
|
| /f-stack/dpdk/lib/librte_fib/ |
| H A D | trie.c | 321 int len, enum edge edge, void *ent) in write_edge() argument 329 val = get_val_by_p(ent, dp->nh_sz); in write_edge() 354 write_to_dp(ent, val, dp->nh_sz, 1); in write_edge() 367 void *ent; in install_to_dp() local 413 ent = get_tbl_p_by_idx(common_root_tbl, left_idx, dp->nh_sz); in install_to_dp() 415 next_hop, llen, LEDGE, ent); in install_to_dp() 420 ent = get_tbl_p_by_idx(common_root_tbl, left_idx + 1, in install_to_dp() 422 write_to_dp(ent, next_hop << 1, dp->nh_sz, in install_to_dp() 427 next_hop, rlen, REDGE, ent); in install_to_dp() 433 ent = get_tbl24_p(dp, ledge, dp->nh_sz); in install_to_dp() [all …]
|
| H A D | trie.h | 107 is_entry_extended(uint64_t ent) in is_entry_extended() argument 109 return (ent & TRIE_EXT_ENT) == TRIE_EXT_ENT; in is_entry_extended()
|
| /f-stack/freebsd/arm/nvidia/tegra124/ |
| H A D | tegra124_cpufreq.c | 228 struct speedo_entry *ent; in freq_to_voltage() local 232 ent = NULL; in freq_to_voltage() 235 ent = &sc->cpu_def->speedo_tbl[i]; in freq_to_voltage() 239 if (ent == NULL) in freq_to_voltage() 240 ent = &sc->cpu_def->speedo_tbl[sc->cpu_def->speedo_nitems - 1]; in freq_to_voltage() 244 uv = DIV_ROUND_CLOSEST(ent->c2 * sc->speedo_value, scale); in freq_to_voltage() 245 uv = DIV_ROUND_CLOSEST((uv + ent->c1) * sc->speedo_value, scale) + in freq_to_voltage() 246 ent->c0; in freq_to_voltage()
|
| /f-stack/dpdk/lib/librte_eal/windows/include/ |
| H A D | dirent.h | 76 struct _wdirent ent; member 121 struct dirent ent; member 459 error = dirent_wcstombs_s(&n, dirp->ent.d_name, in readdir() 475 &n, dirp->ent.d_name, PATH_MAX, in readdir() 483 entp = &dirp->ent; in readdir() 508 entp = &dirp->ent; in readdir()
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_reass.c | 428 tcp_log_reassm(tp, q, ent, 0, 0, TCP_R_LOG_MERGE_INTO, 0); in tcp_reass_merge_into() 433 ent->tqe_last->m_next = q->tqe_m; in tcp_reass_merge_into() 434 ent->tqe_last = q->tqe_last; in tcp_reass_merge_into() 435 ent->tqe_len += q->tqe_len; in tcp_reass_merge_into() 436 ent->tqe_mbuf_cnt += q->tqe_mbuf_cnt; in tcp_reass_merge_into() 437 ent->tqe_m->m_pkthdr.len += q->tqe_len; in tcp_reass_merge_into() 438 ent->tqe_flags |= (q->tqe_flags & TH_FIN); in tcp_reass_merge_into() 456 max = ent->tqe_start + ent->tqe_len; in tcp_reass_merge_forward() 457 q = TAILQ_NEXT(ent, tqe_q); in tcp_reass_merge_forward() 489 tcp_reass_merge_into(tp, ent, q); in tcp_reass_merge_forward() [all …]
|
| H A D | in_fib_algo.c | 531 struct radix4_addr_entry *ent; in lradix4_lookup() local 536 ent = (struct radix4_addr_entry *)(rn_match(&addr4, &rnh->rh)); in lradix4_lookup() 537 if (ent != NULL) in lradix4_lookup() 538 return (ent->nhop); in lradix4_lookup()
|
| /f-stack/dpdk/lib/librte_rib/ |
| H A D | rte_rib.c | 82 struct rte_rib_node *ent; in node_alloc() local 85 ret = rte_mempool_get(rib->node_pool, (void *)&ent); in node_alloc() 89 return ent; in node_alloc() 93 node_free(struct rte_rib *rib, struct rte_rib_node *ent) in node_free() argument 96 rte_mempool_put(rib->node_pool, ent); in node_free() 119 rte_rib_lookup_parent(struct rte_rib_node *ent) in rte_rib_lookup_parent() argument 123 if (ent == NULL) in rte_rib_lookup_parent() 125 tmp = ent->parent; in rte_rib_lookup_parent()
|
| H A D | rte_rib6.c | 102 struct rte_rib6_node *ent; in node_alloc() local 105 ret = rte_mempool_get(rib->node_pool, (void *)&ent); in node_alloc() 109 return ent; in node_alloc() 113 node_free(struct rte_rib6 *rib, struct rte_rib6_node *ent) in node_free() argument 116 rte_mempool_put(rib->node_pool, ent); in node_free() 141 rte_rib6_lookup_parent(struct rte_rib6_node *ent) in rte_rib6_lookup_parent() argument 145 if (ent == NULL) in rte_rib6_lookup_parent() 148 tmp = ent->parent; in rte_rib6_lookup_parent()
|
| H A D | rte_rib.h | 94 rte_rib_lookup_parent(struct rte_rib_node *ent);
|
| /f-stack/dpdk/drivers/bus/vmbus/linux/ |
| H A D | vmbus_uio.c | 377 struct dirent *ent; in vmbus_uio_get_subchan() local 392 while ((ent = readdir(chan_dir))) { in vmbus_uio_get_subchan() 396 if (ent->d_name[0] == '.') in vmbus_uio_get_subchan() 400 relid = strtoul(ent->d_name, &endp, 0); in vmbus_uio_get_subchan() 403 ent->d_name); in vmbus_uio_get_subchan() 449 return (ent == NULL) ? -ENOENT : 0; in vmbus_uio_get_subchan()
|
| /f-stack/freebsd/i386/i386/ |
| H A D | bios.c | 168 bios32_SDlookup(struct bios32_SDentry *ent) in bios32_SDlookup() argument 175 args.eax = ent->ident.id; /* set up arguments */ in bios32_SDlookup() 179 ent->base = args.ebx; in bios32_SDlookup() 180 ent->len = args.ecx; in bios32_SDlookup() 181 ent->entry = args.edx; in bios32_SDlookup() 182 ent->ventry = BIOS_PADDRTOVADDR(ent->base + ent->entry); in bios32_SDlookup()
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_htable.c | 542 iphtent_t hte, *ent; local 562 ent = ipf_htent_find(iph, &hte); 563 if (ent == NULL) { 568 if ((uid != 0) && (ent->ipe_uid != uid)) { 573 err = ipf_htent_remove(softc, arg, iph, ent); 1043 iphtent_t ipe, *ent; local 1072 for (ent = iph->iph_table[hv]; ent != NULL; ent = ent->ipe_hnext) { 1073 if (ent->ipe_family != ipe.ipe_family) 1075 if (IP6_NEQ(&ipe.ipe_addr, &ent->ipe_addr)) 1077 if (IP6_NEQ(&ipe.ipe_mask, &ent->ipe_mask)) [all …]
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_fib_algo.c | 102 struct radix6_addr_entry *ent; in lradix6_lookup() local 109 ent = (struct radix6_addr_entry *)(rn_match(&addr6, &rnh->rh)); in lradix6_lookup() 110 if (ent != NULL) in lradix6_lookup() 111 return (ent->nhop); in lradix6_lookup()
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_proc.c | 723 struct dirent *ent; in mp_send() local 754 while ((ent = readdir(mp_dir))) { in mp_send() 757 if (fnmatch(mp_filter, ent->d_name, 0) != 0) in mp_send() 761 ent->d_name); in mp_send() 969 struct dirent *ent; in rte_mp_request_sync() local 1026 while ((ent = readdir(mp_dir))) { in rte_mp_request_sync() 1029 if (fnmatch(mp_filter, ent->d_name, 0) != 0) in rte_mp_request_sync() 1033 ent->d_name); in rte_mp_request_sync() 1071 struct dirent *ent; in rte_mp_request_async() local 1170 while ((ent = readdir(mp_dir))) { in rte_mp_request_async() [all …]
|
| /f-stack/freebsd/mips/include/ |
| H A D | asm.h | 139 .text; .globl sym; .ent sym; sym: 153 .ent _C_LABEL(x), 0; \ 164 .ent _C_LABEL(x), 0; \ 184 .ent _C_LABEL(x), 0; \ 195 .ent _C_LABEL(x), 0; \ 234 .ent _C_LABEL(x),0; \
|
| /f-stack/dpdk/drivers/net/mvneta/ |
| H A D | mvneta_rxtx.c | 59 struct neta_buff_inf ent[MRVL_NETA_TX_SHADOWQ_SIZE]; /* q entries */ member 149 sq->ent[sq->head].cookie = (uint64_t)buf; in mvneta_fill_shadowq() 150 sq->ent[sq->head].addr = buf ? in mvneta_fill_shadowq() 196 entry = &sq->ent[tail]; in mvneta_sent_buffers_free() 429 addr = cookie_addr_high | sq->ent[sq->head].cookie; in mvneta_tx_pkt_burst() 558 addr = sq->ent[sq->head].cookie; in mvneta_tx_sg_pkt_burst() 922 sq->ent[sq->tail].cookie; in mvneta_tx_queue_flush()
|
| /f-stack/freebsd/arm64/broadcom/genet/ |
| H A D | if_genet.c | 991 struct gen_ring_ent *ent; in gen_encap() local 1055 ent = &q->entries[cur]; in gen_encap() 1056 map = ent->map; in gen_encap() 1102 ent = &q->entries[cur]; in gen_encap() 1387 struct gen_ring_ent *ent; in gen_txintr() local 1404 ent = &q->entries[i]; in gen_txintr() 1405 if (ent->mbuf != NULL) { in gen_txintr() 1406 bus_dmamap_sync(sc->tx_buf_tag, ent->map, in gen_txintr() 1408 bus_dmamap_unload(sc->tx_buf_tag, ent->map); in gen_txintr() 1409 m_freem(ent->mbuf); in gen_txintr() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zvol_os.c | 62 taskq_ent_t ent; member 363 taskq_init_ent(&zvr->ent); in zvol_submit_bio() 400 zvol_discard, zvr, 0, &zvr->ent); in zvol_submit_bio() 407 zvol_write, zvr, 0, &zvr->ent); in zvol_submit_bio() 424 taskq_init_ent(&zvr->ent); in zvol_submit_bio() 433 zvol_read, zvr, 0, &zvr->ent); in zvol_submit_bio()
|