Home
last modified time | relevance | path

Searched refs:ddp (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_decl.c43 dt_decl_check(dt_decl_t *ddp) in dt_decl_check() argument
45 if (ddp->dd_kind == CTF_K_UNKNOWN) in dt_decl_check()
46 return (ddp); /* nothing to check if the type is not yet set */ in dt_decl_check()
48 if (ddp->dd_name != NULL && strcmp(ddp->dd_name, "char") == 0 && in dt_decl_check()
49 (ddp->dd_attr & (DT_DA_SHORT | DT_DA_LONG | DT_DA_LONGLONG))) { in dt_decl_check()
54 if (ddp->dd_name != NULL && strcmp(ddp->dd_name, "void") == 0 && in dt_decl_check()
55 (ddp->dd_attr & (DT_DA_SHORT | DT_DA_LONG | DT_DA_LONGLONG | in dt_decl_check()
61 if (ddp->dd_kind != CTF_K_INTEGER && in dt_decl_check()
62 (ddp->dd_attr & (DT_DA_SIGNED | DT_DA_UNSIGNED))) { in dt_decl_check()
67 if (ddp->dd_kind != CTF_K_INTEGER && ddp->dd_kind != CTF_K_FLOAT && in dt_decl_check()
[all …]
HDdt_parser.c1350 dt_node_type(dt_decl_t *ddp) in dt_node_type() argument
1362 if (ddp == NULL) in dt_node_type()
1363 ddp = dt_decl_pop_param(&name); in dt_node_type()
1365 err = dt_decl_type(ddp, &dtt); in dt_node_type()
1366 dt_decl_free(ddp); in dt_node_type()
1418 dt_decl_t *ddp = dt_decl_top(); in dt_node_decl() local
1427 if (dt_decl_type(ddp, &dtt) != 0) in dt_node_decl()
1436 if (ddp->dd_kind != CTF_K_STRUCT && in dt_node_decl()
1437 ddp->dd_kind != CTF_K_UNION && ddp->dd_kind != CTF_K_ENUM) in dt_node_decl()
1441 ddp->dd_ctfp, ddp->dd_type, n1, sizeof (n1)), ddp->dd_type); in dt_node_decl()
[all …]
/freebsd-11-stable/sys/dev/cxgbe/tom/
HDt4_ddp.c158 if (!(toep->ddp.flags & DDP_DEAD) && ps->flags & PS_WIRED) { in recycle_pageset()
159 KASSERT(toep->ddp.cached_count + toep->ddp.active_count < in recycle_pageset()
160 nitems(toep->ddp.db), ("too many wired pagesets")); in recycle_pageset()
161 TAILQ_INSERT_HEAD(&toep->ddp.cached_pagesets, ps, link); in recycle_pageset()
162 toep->ddp.cached_count++; in recycle_pageset()
207 TAILQ_INIT(&toep->ddp.aiojobq); in ddp_init_toep()
208 TASK_INIT(&toep->ddp.requeue_task, 0, aio_ddp_requeue_task, toep); in ddp_init_toep()
209 toep->ddp.flags = DDP_OK; in ddp_init_toep()
210 toep->ddp.active_id = -1; in ddp_init_toep()
211 mtx_init(&toep->ddp.lock, "t4 ddp", NULL, MTX_DEF); in ddp_init_toep()
[all …]
HDt4_tom.h192 struct ddp_pcb ddp; member
207 #define DDP_LOCK(toep) mtx_lock(&(toep)->ddp.lock)
208 #define DDP_UNLOCK(toep) mtx_unlock(&(toep)->ddp.lock)
209 #define DDP_ASSERT_LOCKED(toep) mtx_assert(&(toep)->ddp.lock, MA_OWNED)
HDt4_tom.c685 else if (s->ddp > 0 || in select_ulp_mode()
686 (s->ddp < 0 && sc->tt.ddp && (so->so_options & SO_NO_DDP) == 0)) in select_ulp_mode()
940 .ddp = -1, in lookup_offload_policy()
1087 rc = t4_init_ppod_region(&td->pr, &sc->vres.ddp, in t4_tom_activate()
HDt4_cpl_io.c1267 if (__predict_false(toep->ddp.flags & in do_peer_close()
1632 int changed = !(toep->ddp.flags & DDP_ON) ^ cpl->ddp_off; in do_rx_data()
1634 if (toep->ddp.waiting_count != 0 || toep->ddp.active_count != 0) in do_rx_data()
1639 if (toep->ddp.flags & DDP_SC_REQ) in do_rx_data()
1640 toep->ddp.flags ^= DDP_ON | DDP_SC_REQ; in do_rx_data()
1647 toep->ddp.flags &= ~DDP_ON; in do_rx_data()
1655 if (toep->ddp.flags & DDP_ON) { in do_rx_data()
1674 if (toep->ulp_mode == ULP_MODE_TCPDDP && toep->ddp.waiting_count > 0 && in do_rx_data()
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
HDddt.c260 ddt_bp_fill(const ddt_phys_t *ddp, blkptr_t *bp, uint64_t txg) in ddt_bp_fill() argument
265 bp->blk_dva[d] = ddp->ddp_dva[d]; in ddt_bp_fill()
266 BP_SET_BIRTH(bp, txg, ddp->ddp_phys_birth); in ddt_bp_fill()
271 const ddt_key_t *ddk, const ddt_phys_t *ddp, blkptr_t *bp) in ddt_bp_create() argument
275 if (ddp != NULL) in ddt_bp_create()
276 ddt_bp_fill(ddp, bp, ddp->ddp_phys_birth); in ddt_bp_create()
303 ddt_phys_fill(ddt_phys_t *ddp, const blkptr_t *bp) in ddt_phys_fill() argument
305 ASSERT(ddp->ddp_phys_birth == 0); in ddt_phys_fill()
308 ddp->ddp_dva[d] = bp->blk_dva[d]; in ddt_phys_fill()
309 ddp->ddp_phys_birth = BP_PHYSICAL_BIRTH(bp); in ddt_phys_fill()
[all …]
HDzio.c2532 ddt_phys_t *ddp; in zio_ddt_child_read_done() local
2536 ddp = ddt_phys_select(dde, bp); in zio_ddt_child_read_done()
2538 ddt_phys_clear(ddp); /* this ddp doesn't need repair */ in zio_ddt_child_read_done()
2559 ddt_phys_t *ddp = dde->dde_phys; in zio_ddt_read_start() local
2569 for (int p = 0; p < DDT_PHYS_TYPES; p++, ddp++) { in zio_ddt_read_start()
2570 if (ddp->ddp_phys_birth == 0 || ddp == ddp_self) in zio_ddt_read_start()
2572 ddt_bp_create(ddt->ddt_checksum, &dde->dde_key, ddp, in zio_ddt_read_start()
2655 ddt_phys_t *ddp = &dde->dde_phys[p]; in zio_ddt_collision() local
2657 if (ddp->ddp_phys_birth != 0) { in zio_ddt_collision()
2664 ddt_bp_fill(ddp, &blk, ddp->ddp_phys_birth); in zio_ddt_collision()
[all …]
/freebsd-11-stable/sbin/dump/
HDitime.c130 struct dumpdates *ddp; in getdumptime() local
147 ITITERATE(i, ddp) { in getdumptime()
148 if (strncmp(fname, ddp->dd_name, sizeof (ddp->dd_name)) != 0) in getdumptime()
150 if (ddp->dd_level >= level) in getdumptime()
152 if (ddp->dd_ddate <= _time64_to_time(spcl.c_ddate)) in getdumptime()
154 spcl.c_ddate = _time_to_time64(ddp->dd_ddate); in getdumptime()
155 lastlevel = ddp->dd_level; in getdumptime()
255 makedumpdate(struct dumpdates *ddp, const char *tbuf) in makedumpdate() argument
259 (void) sscanf(tbuf, DUMPINFMT, ddp->dd_name, &ddp->dd_level, un_buf); in makedumpdate()
260 ddp->dd_ddate = unctime(un_buf); in makedumpdate()
[all …]
HDdump.h170 #define ITITERATE(i, ddp) \ argument
172 for (ddp = ddatev[i = 0]; i < nddates; ddp = ddatev[++i])
/freebsd-11-stable/share/examples/libusb20/
HDbulk.c230 struct LIBUSB20_DEVICE_DESC_DECODED *ddp = in main() local
235 ddp->idVendor, ddp->idProduct); in main()
237 if (ddp->idVendor == vid && ddp->idProduct == pid) in main()
HDcontrol.c402 struct LIBUSB20_DEVICE_DESC_DECODED *ddp = in main() local
407 ddp->idVendor, ddp->idProduct); in main()
409 if (ddp->idVendor == vid && ddp->idProduct == pid) in main()
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
HDddt.h184 extern void ddt_bp_fill(const ddt_phys_t *ddp, blkptr_t *bp,
187 const ddt_phys_t *ddp, blkptr_t *bp);
191 extern void ddt_phys_fill(ddt_phys_t *ddp, const blkptr_t *bp);
192 extern void ddt_phys_clear(ddt_phys_t *ddp);
193 extern void ddt_phys_addref(ddt_phys_t *ddp);
194 extern void ddt_phys_decref(ddt_phys_t *ddp);
195 extern void ddt_phys_free(ddt_t *ddt, ddt_key_t *ddk, ddt_phys_t *ddp,
/freebsd-11-stable/sys/kern/
HDsubr_fattime.c138 timespec2fattime(const struct timespec *tsp, int utc, uint16_t *ddp, in timespec2fattime() argument
155 if (ddp != NULL) { in timespec2fattime()
159 *ddp = 0x0021; in timespec2fattime()
172 *ddp = (l * 4) << 9; in timespec2fattime()
183 *ddp += mtab[m].coded; in timespec2fattime()
187 *ddp |= t2; in timespec2fattime()
/freebsd-11-stable/contrib/tcpdump/
HDprint-ospf6.c771 register const struct dd6 *ddp = (const struct dd6 *)((const uint8_t *)op + OSPF6HDR_LEN); in ospf6_decode_v3() local
773 ND_TCHECK(ddp->db_options); in ospf6_decode_v3()
776 EXTRACT_32BITS(&ddp->db_options)))); in ospf6_decode_v3()
777 ND_TCHECK(ddp->db_flags); in ospf6_decode_v3()
779 bittok2str(ospf6_dd_flag_values,"none",ddp->db_flags))); in ospf6_decode_v3()
781 ND_TCHECK(ddp->db_seq); in ospf6_decode_v3()
783 EXTRACT_16BITS(&ddp->db_mtu), in ospf6_decode_v3()
784 EXTRACT_32BITS(&ddp->db_seq))); in ospf6_decode_v3()
787 lshp = ddp->db_lshdr; in ospf6_decode_v3()
941 const struct dd6 *ddp = (const struct dd6 *)((const uint8_t *)op + OSPF6HDR_LEN); in ospf6_decode_v3_trailer() local
[all …]
/freebsd-11-stable/sys/fs/smbfs/
HDsmbfs_subr.c88 smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp, in smb_time_unix2dos() argument
97 timespec2fattime(&tt, 1, ddp, dtp, dhp); in smb_time_unix2dos()
HDsmbfs_subr.h177 void smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp,
/freebsd-11-stable/sys/dev/cxgbe/
HDoffload.h145 struct t4_range ddp; member
178 int ddp; member
HDt4_ioctl.h383 int8_t ddp; member
/freebsd-11-stable/contrib/gcc/
HDprotoize.c783 const def_dec_info *ddp; in needs_to_be_converted() local
792 for (ddp = file_p->defs_decs; ddp; ddp = ddp->next_in_file) in needs_to_be_converted()
799 !ddp->prototyped in needs_to_be_converted()
801 && (ddp->is_func_def || (!ddp->is_func_def && ddp->definition)) in needs_to_be_converted()
806 ddp->prototyped in needs_to_be_converted()
/freebsd-11-stable/sys/sys/
HDclock.h178 void timespec2fattime(const struct timespec *tsp, int utc, u_int16_t *ddp,
/freebsd-11-stable/sys/dev/cxgb/
HDcxgb_offload.h52 int ddp; member
/freebsd-11-stable/release/picobsd/mfs_tree/etc/
HDservices1 echo 4/ddp
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zdb/
HDzdb.c1103 const ddt_phys_t *ddp = dde->dde_phys; in dump_dde() local
1109 for (int p = 0; p < DDT_PHYS_TYPES; p++, ddp++) { in dump_dde()
1110 if (ddp->ddp_phys_birth == 0) in dump_dde()
1112 ddt_bp_create(ddt->ddt_checksum, ddk, ddp, &blk); in dump_dde()
1115 (u_longlong_t)index, (u_longlong_t)ddp->ddp_refcnt, in dump_dde()
2804 ddt_phys_t *ddp = ddt_phys_select(dde, bp); in zdb_count_block() local
2805 ddt_phys_decref(ddp); in zdb_count_block()
2806 refcnt = ddp->ddp_refcnt; in zdb_count_block()
2973 ddt_phys_t *ddp = dde.dde_phys; in zdb_ddt_leak_init() local
2980 for (int p = 0; p < DDT_PHYS_TYPES; p++, ddp++) { in zdb_ddt_leak_init()
[all …]
/freebsd-11-stable/usr.sbin/etcupdate/tests/
HDtests_test.sh636 rtmp 1/ddp #Routing Table Maintenance Protocol
641 rtmp 1/ddp #Routing Table Maintenance Protocol
644 nbp 2/ddp #Name Binding Protocol

12