Home
last modified time | relevance | path

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

12

/freebsd-14.2/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_decl.c74 return (ddp); in dt_decl_check()
93 return (ddp); in dt_decl_alloc()
101 for (; ddp != NULL; ddp = ndp) { in dt_decl_free()
105 free(ddp); in dt_decl_free()
139 return (ddp); in dt_decl_push()
156 return (ddp); in dt_decl_pop()
190 return (ddp); in dt_decl_top()
210 return (ddp); in dt_decl_ident()
253 if (ddp->dd_name != NULL || ddp->dd_kind != CTF_K_UNKNOWN) in dt_decl_spec()
990 if (ddp->dd_attr == 0 && ddp->dd_name == NULL) in dt_decl_type()
[all …]
H A Ddt_parser.c1350 dt_node_type(dt_decl_t *ddp) in dt_node_type() argument
1362 if (ddp == NULL) in dt_node_type()
1366 dt_decl_free(ddp); in dt_node_type()
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()
1579 if (ddp->dd_kind == CTF_K_ARRAY && ddp->dd_node == NULL) { in dt_node_decl()
1813 dt_decl_free(ddp); in dt_node_offsetof()
2428 if (ddp != NULL) { in dt_node_member()
2430 dt_decl_free(ddp); in dt_node_member()
2440 if (ddp != NULL) in dt_node_member()
[all …]
/freebsd-14.2/sys/dev/cxgbe/tom/
H A Dt4_ddp.c155 KASSERT(toep->ddp.cached_count + toep->ddp.active_count < in recycle_pageset()
301 toep->ddp.flags = DDP_OK; in ddp_init_toep()
302 toep->ddp.active_id = -1; in ddp_init_toep()
774 KASSERT(toep->ddp.active_count < nitems(toep->ddp.db), in queue_ddp_rcvbuf()
953 if (toep->ddp.active_count != nitems(toep->ddp.db)) { in handle_ddp_data_rcvbuf()
1233 if (!sc->tt.ddp) in set_ddp_ulp_mode()
2225 KASSERT(toep->ddp.active_count + toep->ddp.cached_count <= in hold_aio()
2227 if (toep->ddp.active_count + toep->ddp.cached_count == in hold_aio()
2344 toep->ddp.active_count == nitems(toep->ddp.db)) { in aio_ddp_requeue()
2871 if (toep->ddp.active_count == nitems(toep->ddp.db)) { in ddp_rcvbuf_requeue()
[all …]
H A Dt4_tom.h239 struct ddp_pcb ddp; member
261 #define DDP_LOCK(toep) mtx_lock(&(toep)->ddp.lock)
262 #define DDP_UNLOCK(toep) mtx_unlock(&(toep)->ddp.lock)
263 #define DDP_ASSERT_LOCKED(toep) mtx_assert(&(toep)->ddp.lock, MA_OWNED)
264 #define DDP_CACHE_LOCK(toep) mtx_lock(&(toep)->ddp.cache_lock)
265 #define DDP_CACHE_UNLOCK(toep) mtx_unlock(&(toep)->ddp.cache_lock)
H A Dt4_cpl_io.c1350 toep->ddp.flags, inp); in do_peer_close()
1357 if (__predict_false(toep->ddp.flags & in do_peer_close()
1749 int changed = !(toep->ddp.flags & DDP_ON) ^ cpl->ddp_off; in do_rx_data()
1751 if (toep->ddp.waiting_count != 0 || toep->ddp.active_count != 0) in do_rx_data()
1756 if (toep->ddp.flags & DDP_SC_REQ) in do_rx_data()
1757 toep->ddp.flags ^= DDP_ON | DDP_SC_REQ; in do_rx_data()
1760 toep->ddp.flags &= ~DDP_ON; in do_rx_data()
1773 if (toep->ddp.flags & DDP_ON) { in do_rx_data()
1788 (toep->ddp.flags & DDP_AIO) != 0 && toep->ddp.waiting_count > 0 && in do_rx_data()
/freebsd-14.2/sbin/dump/
H A Ditime.c132 struct dumpdates *ddp; in getdumptime() local
149 ITITERATE(i, ddp) { in getdumptime()
150 if (strncmp(fname, ddp->dd_name, sizeof (ddp->dd_name)) != 0) in getdumptime()
152 if (ddp->dd_level >= level) in getdumptime()
154 if (ddp->dd_ddate <= _time64_to_time(spcl.c_ddate)) in getdumptime()
156 spcl.c_ddate = _time_to_time64(ddp->dd_ddate); in getdumptime()
157 lastlevel = ddp->dd_level; in getdumptime()
257 makedumpdate(struct dumpdates *ddp, const char *tbuf) in makedumpdate() argument
261 (void) sscanf(tbuf, DUMPINFMT, ddp->dd_name, &ddp->dd_level, un_buf); in makedumpdate()
262 ddp->dd_ddate = unctime(un_buf); in makedumpdate()
[all …]
H A Ddump.h169 #define ITITERATE(i, ddp) \ argument
171 for (ddp = ddatev[i = 0]; i < nddates; ddp = ddatev[++i])
/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dddt.c282 if (ddp != NULL) in ddt_bp_create()
283 ddt_bp_fill(ddp, bp, ddp->ddp_phys_birth); in ddt_bp_create()
326 memset(ddp, 0, sizeof (*ddp)); in ddt_phys_clear()
332 ddp->ddp_refcnt++; in ddt_phys_addref()
338 if (ddp) { in ddt_phys_decref()
340 ddp->ddp_refcnt--; in ddt_phys_decref()
357 ddt_phys_clear(ddp); in ddt_phys_free()
369 return (ddp); in ddt_phys_select()
968 memcmp(ddp->ddp_dva, rddp->ddp_dva, sizeof (ddp->ddp_dva))) in ddt_repair_entry()
1207 ddt_phys_t *ddp; in ddt_addref() local
[all …]
H A Ddsl_dir.c323 *ddp = dd; in dsl_dir_hold_obj()
469 dsl_dir_t **ddp, const char **tailp) in dsl_dir_hold() argument
543 *ddp = dd; in dsl_dir_hold()
1559 dsl_dir_phys_t *ddp = dsl_dir_phys(dd); in dsl_dir_diduse_space() local
1565 ddp->dd_used_bytes += used; in dsl_dir_diduse_space()
1571 ddp->dd_used_breakdown[type] += used; in dsl_dir_diduse_space()
1577 u += ddp->dd_used_breakdown[t]; in dsl_dir_diduse_space()
1578 ASSERT3U(u, ==, ddp->dd_used_bytes); in dsl_dir_diduse_space()
1636 ddp->dd_used_bytes += used; in dsl_dir_diduse_transfer_space()
1652 u += ddp->dd_used_breakdown[t]; in dsl_dir_diduse_transfer_space()
[all …]
H A Dzio.c3206 ddt_phys_t *ddp; in zio_ddt_child_read_done() local
3244 if (ddp->ddp_phys_birth == 0 || ddp == ddp_self) in zio_ddt_read_start()
3344 ddt_bp_fill(ddp, &blk, ddp->ddp_phys_birth); in zio_ddt_collision()
3373 ddt_bp_fill(ddp, &blk, ddp->ddp_phys_birth); in zio_ddt_collision()
3442 ddt_phys_addref(ddp); in zio_ddt_child_write_done()
3444 ddt_phys_clear(ddp); in zio_ddt_child_write_done()
3461 ddt_phys_t *ddp; in zio_ddt_write() local
3501 ddt_phys_addref(ddp); in zio_ddt_write()
3506 ddt_phys_addref(ddp); in zio_ddt_write()
3534 ddt_phys_t *ddp; in zio_ddt_free() local
[all …]
/freebsd-14.2/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c1451 ddp = malloc(sizeof(*ddp), M_CXGBEI, M_NOWAIT | M_ZERO); in icl_cxgbei_conn_task_setup()
1452 if (ddp == NULL) { in icl_cxgbei_conn_task_setup()
1456 prsv = &ddp->prsv; in icl_cxgbei_conn_task_setup()
1495 free(ddp, M_CXGBEI); in icl_cxgbei_conn_task_setup()
1510 free(ddp, M_CXGBEI); in icl_cxgbei_conn_task_setup()
1645 ddp = malloc(sizeof(*ddp), M_CXGBEI, M_NOWAIT | M_ZERO); in icl_cxgbei_conn_transfer_setup()
1646 if (ddp == NULL) { in icl_cxgbei_conn_transfer_setup()
1650 prsv = &ddp->prsv; in icl_cxgbei_conn_transfer_setup()
1709 if (ddp == NULL) in icl_cxgbei_conn_transfer_setup()
1711 prsv = &ddp->prsv; in icl_cxgbei_conn_transfer_setup()
[all …]
/freebsd-14.2/share/examples/libusb20/
H A Dbulk.c231 struct LIBUSB20_DEVICE_DESC_DECODED *ddp = in main() local
236 ddp->idVendor, ddp->idProduct); in main()
238 if (ddp->idVendor == vid && ddp->idProduct == pid) in main()
H A Dcontrol.c403 struct LIBUSB20_DEVICE_DESC_DECODED *ddp = in main() local
408 ddp->idVendor, ddp->idProduct); in main()
410 if (ddp->idVendor == vid && ddp->idProduct == pid) in main()
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Dddt.h195 extern void ddt_bp_fill(const ddt_phys_t *ddp, blkptr_t *bp,
198 const ddt_phys_t *ddp, blkptr_t *bp);
202 extern void ddt_phys_fill(ddt_phys_t *ddp, const blkptr_t *bp);
203 extern void ddt_phys_clear(ddt_phys_t *ddp);
204 extern void ddt_phys_addref(ddt_phys_t *ddp);
205 extern void ddt_phys_decref(ddt_phys_t *ddp);
206 extern void ddt_phys_free(ddt_t *ddt, ddt_key_t *ddk, ddt_phys_t *ddp,
/freebsd-14.2/sys/kern/
H A Dsubr_fattime.c137 timespec2fattime(const struct timespec *tsp, int utc, uint16_t *ddp, in timespec2fattime() argument
154 if (ddp != NULL) { in timespec2fattime()
158 *ddp = 0x0021; in timespec2fattime()
171 *ddp = (l * 4) << 9; in timespec2fattime()
182 *ddp += mtab[m].coded; in timespec2fattime()
186 *ddp |= t2; in timespec2fattime()
/freebsd-14.2/contrib/tcpdump/
H A Dprint-ospf6.c779 const struct dd6 *ddp = (const struct dd6 *)((const uint8_t *)op + OSPF6HDR_LEN); in ospf6_decode_v3() local
783 GET_BE_U_4(ddp->db_options))); in ospf6_decode_v3()
785 bittok2str(ospf6_dd_flag_values,"none",GET_U_1(ddp->db_flags))); in ospf6_decode_v3()
788 GET_BE_U_2(ddp->db_mtu), in ospf6_decode_v3()
789 GET_BE_U_4(ddp->db_seq)); in ospf6_decode_v3()
792 lshp = ddp->db_lshdr; in ospf6_decode_v3()
940 const struct dd6 *ddp = (const struct dd6 *)((const uint8_t *)op + OSPF6HDR_LEN); in ospf6_decode_v3_trailer() local
941 if (GET_BE_U_4(ddp->db_options) & OSPF6_OPTION_L) in ospf6_decode_v3_trailer()
/freebsd-14.2/sys/fs/smbfs/
H A Dsmbfs_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()
H A Dsmbfs_subr.h177 void smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp,
/freebsd-14.2/usr.sbin/makefs/msdos/
H A Dmsdosfs_vnops.c92 static void unix2fattime(const struct timespec *tsp, uint16_t *ddp,
111 unix2fattime(const struct timespec *tsp, uint16_t *ddp, uint16_t *dtp) in unix2fattime() argument
126 if (ddp != NULL) in unix2fattime()
127 *ddp = (uint16_t)(fat_time >> 16); in unix2fattime()
/freebsd-14.2/sys/dev/cxgbe/
H A Doffload.h191 struct t4_range ddp; member
223 int ddp; member
H A Dt4_ioctl.h391 int8_t ddp; member
/freebsd-14.2/sys/sys/
H A Dclock.h172 void timespec2fattime(const struct timespec *tsp, int utc, u_int16_t *ddp,
/freebsd-14.2/sys/dev/cxgb/
H A Dcxgb_offload.h51 int ddp; member
/freebsd-14.2/usr.sbin/etcupdate/tests/
H A Dtests_test.sh635 rtmp 1/ddp #Routing Table Maintenance Protocol
640 rtmp 1/ddp #Routing Table Maintenance Protocol
643 nbp 2/ddp #Name Binding Protocol
/freebsd-14.2/lib/libc/net/
H A Dprotocols46 ddp 37 DDP # Datagram Delivery Protocol

12