Home
last modified time | relevance | path

Searched refs:a_nelems (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/cmd/mdb/common/mdb/
H A Dmdb_argvec.c47 vec->a_nelems = 0; in mdb_argvec_create()
63 if (vec->a_nelems >= vec->a_size) { in mdb_argvec_append()
79 bcopy(arg, &vec->a_data[vec->a_nelems++], sizeof (mdb_arg_t)); in mdb_argvec_append()
85 size_t nelems = vec->a_nelems; in mdb_argvec_reset()
93 vec->a_nelems = 0; in mdb_argvec_reset()
109 vec->a_nelems = 0; in mdb_argvec_zero()
115 if (src->a_nelems > dst->a_size) { in mdb_argvec_copy()
117 mdb_alloc(sizeof (mdb_arg_t) * src->a_nelems, UM_NOSLEEP); in mdb_argvec_copy()
128 dst->a_size = src->a_nelems; in mdb_argvec_copy()
131 bcopy(src->a_data, dst->a_data, sizeof (mdb_arg_t) * src->a_nelems); in mdb_argvec_copy()
[all …]
H A Dmdb_argvec.h42 size_t a_nelems; /* Number of valid elements */ member
H A Dmdb_modapi.c613 args.a_nelems = args.a_size = argc; in mdb_pwalk_dcmd()
707 args.a_nelems = args.a_size = argc; in mdb_call_dcmd()
H A Dmdb.c1201 argc = avp->a_nelems; in mdb_call_idcmd()
/titanic_44/usr/src/cmd/mdb/common/modules/mdb_ds/
H A Dmdb_ds.c80 ap = mdb_alloc(c.c_argv.a_nelems * sizeof (mdb_arg_t), UM_GC); in cmd_stack()
82 if (ap != NULL && mdb_vread(ap, c.c_argv.a_nelems * in cmd_stack()
84 for (i = 0; i < c.c_argv.a_nelems; i++) { in cmd_stack()