Home
last modified time | relevance | path

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

12

/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_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 …]
H A Ddt_parser.c1373 dt_node_type(dt_decl_t *ddp) in dt_node_type() argument
1385 if (ddp == NULL) in dt_node_type()
1386 ddp = dt_decl_pop_param(&name); in dt_node_type()
1388 err = dt_decl_type(ddp, &dtt); in dt_node_type()
1389 dt_decl_free(ddp); in dt_node_type()
1441 dt_decl_t *ddp = dt_decl_top(); in dt_node_decl() local
1450 if (dt_decl_type(ddp, &dtt) != 0) in dt_node_decl()
1459 if (ddp->dd_kind != CTF_K_STRUCT && in dt_node_decl()
1460 ddp->dd_kind != CTF_K_UNION && ddp->dd_kind != CTF_K_ENUM) in dt_node_decl()
1464 ddp->dd_ctfp, ddp->dd_type, n1, sizeof (n1)), ddp->dd_type); in dt_node_decl()
[all …]
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_ddp.c154 if (!(toep->ddp.flags & DDP_DEAD)) { in recycle_pageset()
155 KASSERT(toep->ddp.cached_count + toep->ddp.active_count < in recycle_pageset()
156 nitems(toep->ddp.db), ("too many wired pagesets")); in recycle_pageset()
157 TAILQ_INSERT_HEAD(&toep->ddp.cached_pagesets, ps, link); in recycle_pageset()
158 toep->ddp.cached_count++; in recycle_pageset()
194 if (!(toep->ddp.flags & DDP_DEAD) && in recycle_ddp_rcv_buffer()
195 toep->ddp.cached_count < t4_ddp_rcvbuf_cache) { in recycle_ddp_rcv_buffer()
196 TAILQ_INSERT_HEAD(&toep->ddp.cached_buffers, drb, link); in recycle_ddp_rcv_buffer()
197 toep->ddp in recycle_ddp_rcv_buffer()
[all...]
H A Dt4_tom.h243 struct ddp_pcb ddp;
265 #define DDP_LOCK(toep) mtx_lock(&(toep)->ddp.lock)
266 #define DDP_UNLOCK(toep) mtx_unlock(&(toep)->ddp.lock)
267 #define DDP_ASSERT_LOCKED(toep) mtx_assert(&(toep)->ddp.lock, MA_OWNED)
268 #define DDP_CACHE_LOCK(toep) mtx_lock(&(toep)->ddp.cache_lock)
269 #define DDP_CACHE_UNLOCK(toep) mtx_unlock(&(toep)->ddp.cache_lock)
242 struct ddp_pcb ddp; global() member
H A Dt4_cpl_io.c1774 toep->ddp.flags, inp); in do_peer_close()
1781 if (__predict_false(toep->ddp.flags & in do_peer_close()
2174 int changed = !(toep->ddp.flags & DDP_ON) ^ cpl->ddp_off; in do_rx_data()
2176 if (toep->ddp.waiting_count != 0 || toep->ddp.active_count != 0) in do_rx_data()
2181 if (toep->ddp.flags & DDP_SC_REQ) in do_rx_data()
2182 toep->ddp.flags ^= DDP_ON | DDP_SC_REQ; in do_rx_data()
2185 toep->ddp.flags &= ~DDP_ON; in do_rx_data()
2198 if (toep->ddp.flags & DDP_ON) { in do_rx_data()
2213 (toep->ddp.flags & DDP_AIO) != 0 && toep->ddp.waiting_count > 0 && in do_rx_data()
/freebsd/sbin/dump/
H A Ditime.c126 struct dumpdates *ddp; in getdumptime() local
143 ITITERATE(i, ddp) { in getdumptime()
144 if (strncmp(fname, ddp->dd_name, sizeof (ddp->dd_name)) != 0) in getdumptime()
146 if (ddp->dd_level >= level) in getdumptime()
148 if (ddp->dd_ddate <= _time64_to_time(spcl.c_ddate)) in getdumptime()
150 spcl.c_ddate = _time_to_time64(ddp->dd_ddate); in getdumptime()
151 lastlevel = ddp->dd_level; in getdumptime()
251 makedumpdate(struct dumpdates *ddp, const char *tbuf) in makedumpdate() argument
255 (void) sscanf(tbuf, DUMPINFMT, ddp->dd_name, &ddp->dd_level, un_buf); in makedumpdate()
256 ddp->dd_ddate = unctime(un_buf); in makedumpdate()
[all …]
H A Ddump.h167 #define ITITERATE(i, ddp) \ argument
169 for (ddp = ddatev[i = 0]; i < nddates; ddp = ddatev[++i])
/freebsd/sys/contrib/openzfs/include/sys/
H A Dddt.h356 extern void ddt_bp_fill(const ddt_univ_phys_t *ddp, ddt_phys_variant_t v,
359 const ddt_univ_phys_t *ddp, ddt_phys_variant_t v, blkptr_t *bp);
361 extern void ddt_phys_extend(ddt_univ_phys_t *ddp, ddt_phys_variant_t v,
367 extern void ddt_phys_clear(ddt_univ_phys_t *ddp, ddt_phys_variant_t v);
368 extern void ddt_phys_addref(ddt_univ_phys_t *ddp, ddt_phys_variant_t v);
369 extern uint64_t ddt_phys_decref(ddt_univ_phys_t *ddp, ddt_phys_variant_t v);
370 extern uint64_t ddt_phys_refcnt(const ddt_univ_phys_t *ddp,
374 extern uint64_t ddt_phys_birth(const ddt_univ_phys_t *ddp,
376 extern int ddt_phys_is_gang(const ddt_univ_phys_t *ddp,
378 extern int ddt_phys_dva_count(const ddt_univ_phys_t *ddp, ddt_phys_variant_t v,
H A Dddt_impl.h263 const ddt_univ_phys_t *ddp);
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c1334 struct cxgbei_ddp_state *ddp; in icl_cxgbei_conn_close()
1370 ddp = malloc(sizeof(*ddp), M_CXGBEI, M_NOWAIT | M_ZERO); in cxgbei_insert_cmp()
1371 if (ddp == NULL) { in cxgbei_insert_cmp()
1375 prsv = &ddp->prsv; in cxgbei_find_cmp()
1383 free(ddp, M_CXGBEI); in cxgbei_find_cmp()
1392 free(ddp, M_CXGBEI); in cxgbei_rm_cmp()
1400 free(ddp, M_CXGBEI); in cxgbei_rm_cmp()
1409 free(ddp, M_CXGBEI); in icl_cxgbei_conn_task_setup()
1414 free(ddp, M_CXGBE in icl_cxgbei_conn_task_setup()
1417 struct cxgbei_ddp_state *ddp; icl_cxgbei_conn_task_setup() local
1531 struct cxgbei_ddp_state *ddp = arg; icl_cxgbei_conn_task_done() local
1579 struct cxgbei_ddp_state *ddp; icl_cxgbei_conn_transfer_setup() local
1734 struct cxgbei_ddp_state *ddp; icl_cxgbei_conn_transfer_done() local
[all...]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dddt.c657 ddt_bp_fill(const ddt_univ_phys_t *ddp, ddt_phys_variant_t v, in ddt_bp_fill() argument
666 phys_birth = ddp->ddp_flat.ddp_phys_birth; in ddt_bp_fill()
667 dvap = ddp->ddp_flat.ddp_dva; in ddt_bp_fill()
669 phys_birth = ddp->ddp_trad[v].ddp_phys_birth; in ddt_bp_fill()
670 dvap = ddp->ddp_trad[v].ddp_dva; in ddt_bp_fill()
684 const ddt_univ_phys_t *ddp, ddt_phys_variant_t v, blkptr_t *bp) in ddt_bp_create() argument
688 if (ddp != NULL) in ddt_bp_create()
689 ddt_bp_fill(ddp, v, bp, ddt_phys_birth(ddp, v)); in ddt_bp_create()
720 ddt_phys_extend(ddt_univ_phys_t *ddp, ddt_phys_variant_t v, const blkptr_t *bp) in ddt_phys_extend() argument
727 ddp->ddp_flat.ddp_dva : ddp->ddp_trad[v].ddp_dva; in ddt_phys_extend()
[all …]
H A Ddsl_dir.c175 const char *tail, const void *tag, dsl_dir_t **ddp) in dsl_dir_hold_obj() argument
328 *ddp = dd; in dsl_dir_hold_obj()
474 dsl_dir_t **ddp, const char **tailp) in dsl_dir_hold() argument
548 *ddp = dd; in dsl_dir_hold()
1558 dsl_dir_phys_t *ddp = dsl_dir_phys(dd); in dsl_dir_diduse_space() local
1559 accounted_delta = parent_delta(dd, ddp->dd_used_bytes, used); in dsl_dir_diduse_space()
1560 ASSERT(used >= 0 || ddp->dd_used_bytes >= -used); in dsl_dir_diduse_space()
1561 ASSERT(compressed >= 0 || ddp->dd_compressed_bytes >= -compressed); in dsl_dir_diduse_space()
1563 ddp->dd_uncompressed_bytes >= -uncompressed); in dsl_dir_diduse_space()
1564 ddp->dd_used_bytes += used; in dsl_dir_diduse_space()
[all …]
H A Dddt_stats.c47 const ddt_univ_phys_t *ddp = &ddlwe->ddlwe_phys; in ddt_stat_generate() local
50 if (ddt_phys_birth(ddp, v) == 0) in ddt_stat_generate()
53 int ndvas = ddt_phys_dva_count(ddp, v, in ddt_stat_generate()
56 ddp->ddp_flat.ddp_dva : ddp->ddp_trad[p].ddp_dva; in ddt_stat_generate()
62 uint64_t refcnt = ddt_phys_refcnt(ddp, v); in ddt_stat_generate()
H A Dzio.c3495 ddt_univ_phys_t *ddp = dde->dde_phys; in zio_ddt_read_start() local
3508 if (ddt_phys_birth(ddp, v) == 0 || v == v_self) in zio_ddt_read_start()
3512 ddp, v, &blk); in zio_ddt_read_start()
3684 ddt_univ_phys_t *ddp = dde->dde_phys; in zio_ddt_child_write_done() local
3700 ddt_phys_unextend(ddp, orig, v); in zio_ddt_child_write_done()
3715 ddt_phys_decref(ddp, v); in zio_ddt_child_write_done()
3729 ddt_phys_copy(orig, ddp, v); in zio_ddt_child_write_done()
3838 ddt_univ_phys_t *ddp = dde->dde_phys; in zio_ddt_write() local
3873 int have_dvas = ddt_phys_dva_count(ddp, v, BP_IS_ENCRYPTED(bp)); in zio_ddt_write()
3874 IMPLY(have_dvas == 0, ddt_phys_birth(ddp, v) == 0); in zio_ddt_write()
[all …]
/freebsd/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/sys/kern/
H A Dsubr_fattime.c138 timespec2fattime(const struct timespec *tsp, int utc, uint16_t *ddp, in timespec2fattime()
155 if (ddp != NULL) { in timespec2fattime()
159 *ddp = 0x0021; in timespec2fattime()
169 *ddp = (l * 4) << 9; in timespec2fattime()
180 *ddp += mtab[m].coded; in timespec2fattime()
184 *ddp |= t2; in timespec2fattime()
137 timespec2fattime(const struct timespec * tsp,int utc,uint16_t * ddp,uint16_t * dtp,uint8_t * dhp) timespec2fattime() argument
/freebsd/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/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/usr.sbin/makefs/msdos/
H A Dmsdosfs_vnops.c91 static void unix2fattime(const struct timespec *tsp, uint16_t *ddp,
108 unix2fattime(const struct timespec *tsp, uint16_t *ddp, uint16_t *dtp) in unix2fattime() argument
123 if (ddp != NULL) in unix2fattime()
124 *ddp = (uint16_t)(fat_time >> 16); in unix2fattime()
/freebsd/sys/dev/cxgbe/
H A Doffload.h182 struct t4_range ddp; member
215 int ddp; member
/freebsd/sys/contrib/dev/ice/
H A DREADME
/freebsd/sys/sys/
H A Dclock.h172 void timespec2fattime(const struct timespec *tsp, int utc, u_int16_t *ddp,
/freebsd/sys/dev/cxgb/
H A Dcxgb_offload.h51 int ddp; member

12