Searched defs:todo (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetadevadm.c64 int todo = 0; local
110 todo = 1;
116 todo = 1;
156 if ((options & DEV_VERBOSE) && (todo != 1)) {
162 if ((options & DEV_NOACTION) && (todo != 1)) {
168 if (todo == 0) {
H A Dmetainit.c715 } todo = NONE; local
775 if (todo != NONE)
777 todo = ALL;
787 if (todo != NONE)
789 todo = INIT;
815 if (todo == NONE) {
832 if (todo == INIT) { /* load and take auto-take sets */
868 } else if (todo == ALL) { /* initialize all devices in md.tab */
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dexpand.c265 int path_generate(struct argnod *todo, struct argnod **arghead) argument
267 assume todo!=0;
281 todo->argchn.ap = 0;
283 apin = ap = todo;
284 todo = ap->argchn.ap;
385 if(todo)
432 /* generate each pattern and put on the todo list */
455 ap->argchn.ap = todo;
459 todo = ap = (struct argnod*)stakfreeze(1);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirp.c523 int i, todo; local
532 todo = strlen(buffer);
534 if (todo > (int)sizeof(buffer) - 3) {
539 todo = strlen(buffer);
541 while (todo > 0) {
542 i = write(pvt->fdCxn, buffer + pos, todo);
546 fwrite(buffer + pos, sizeof (char), todo, stderr);
554 todo -= i;
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_disk.c460 nsc_size_t todo; /* anticipated bytes to go */ local
487 todo = FBA_SIZE(len);
504 while (todo) {
514 while (destidx < _NSC_DBUF_NVEC && todo) {
520 truedo = min(vp->sv_len - firstentryfix, todo);
528 todo -= truedo;
/illumos-gate/usr/src/lib/storage/liba5k/common/
H A Dlhot.c399 l_encl_status_page_funcs(int func, char *code, int todo, char *ses_path, argument
459 switch (todo) {
/illumos-gate/usr/src/cmd/luxadm/
H A Dx86_adm.c468 int hotplug_e(int todo, char **argv, int verbose_flag, int force_flag) { argument
482 int hotplug(int todo, char **argv, int verbose_flag, int force_flag) { argument
H A Dfchba.c2031 fchba_hotplug_e(int todo, char **argv, int verbose_flag, int force_flag) argument
2037 if (todo != DEV_ONLINE &&
2038 todo != DEV_OFFLINE) {
2069 switch (todo) {
H A Dhotplug.c485 hotplug(int todo, char **argv, int verbose_flag, int force_flag) argument
525 if (todo == REMOVE_DEVICE) {
545 todo == REMOVE_DEVICE) {
670 if (todo == REPLACE_DEVICE) {
679 if ((todo == REMOVE_DEVICE) &&
703 if ((todo == REMOVE_DEVICE) &&
754 if (todo == REMOVE_DEVICE) {
827 if ((todo == INSERT_DEVICE) &&
848 if ((todo == REMOVE_DEVICE) && (!force_flag)) {
879 if ((todo !
1260 hotplug_e(int todo, char **argv, int verbose_flag, int force_flag) argument
1524 h_pre_hotplug_sena(Hotplug_Devlist *hotplug_dev, WWN_list *wwn_list, int todo, int verbose_flag, int force_flag) argument
1724 h_post_hotplug_sena(Hotplug_Devlist *hotplug_dev, WWN_list *wwn_list, int todo, int verbose_flag, int force_flag, int enc_type) argument
2195 h_post_remove_dev(Hotplug_Devlist *hotplug_disk, int todo, int verbose_flag) argument
2429 h_pre_hotplug(Hotplug_Devlist **disk_list_head_ptr, WWN_list *wwn_list, int todo, int verbose_flag, int force_flag) argument
2485 h_post_hotplug(Hotplug_Devlist *hotplug_dlist, WWN_list *wwn_list, int todo, int verbose_flag, int force_flag, int enc_type) argument
2775 h_print_list_warn(Hotplug_Devlist *disk_list_head, int todo, int enc_type) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dprintgprof.c685 nltype *todo; local
693 todo = cyclep->cnext;
697 for ((doing = todo) && (todo = doing->cnext);
700 (doing = todo) && (todo = doing->cnext)) {
942 int index, nnames, todo, i, j; local
982 for (index = 1, todo = nnames; index <= ncycle; index++)
983 namesortnlp[todo++] = &cyclenl[index];
988 index = (todo
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Ddirs.c226 treescan(char *pname, ino_t ino, long (*todo)()) argument
239 (void) (*todo)(pname, ino, LEAF);
245 if ((*todo)(pname, ino, NODE) == FAIL)
284 treescan(locname, dp->d_ino, todo);
303 attrscan(int always, long (*todo)()) argument
331 treescan(name, itp->t_ino, todo);
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_smb.c871 uint16_t bc, cnt, dlen, rcnt, todo; local
879 todo = (uint16_t)min(uiop->uio_resid, UINT16_MAX);
889 mb_put_uint16le(mbp, todo);
950 uint16_t cnt, rcnt, todo; local
958 todo = (uint16_t)min(uiop->uio_resid, UINT16_MAX);
968 mb_put_uint16le(mbp, todo);
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/
H A Dmdmn_commd_server.c742 * mdmn_init_set(setno, todo)
744 * todo is one of the MDMN_SET_* thingies or MDMN_SET_READY
752 mdmn_init_set(set_t setno, int todo) argument
765 if ((todo & MDMN_SET_MUTEXES) &&
782 if ((todo & MDMN_SET_MCT) &&
884 if (((todo & MDMN_SET_NODES) == 0) ||
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_chip.c1255 void rge_chip_sync(rge_t *rgep, enum rge_sync_op todo);
1259 rge_chip_sync(rge_t *rgep, enum rge_sync_op todo) argument
1261 switch (todo) {
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtypegraph.c272 struct tg_todo *tgtd_next; /* next todo */
1604 tg_todo_t *todo; local
1724 todo = free;
1727 todo = mdb_alloc(sizeof (tg_todo_t), UM_SLEEP);
1730 todo->tgtd_node = e->tge_dest;
1731 todo->tgtd_type = ntype;
1732 todo->tgtd_offs = e->tge_destoffs;
1733 todo->tgtd_next = NULL;
1736 first = last = todo;
1738 last->tgtd_next = todo;
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/raid/
H A Draid.c1182 * int todo - indicates what needs to be done
1185 raid_free_parent(md_raidps_t *ps, int todo) argument
1192 if (todo & RFP_DECR_PWFRAGS) {
1206 if (todo & RFP_DECR_FRAGS) {
1219 if (todo & RFP_RLS_LOCK)
1230 ASSERT(todo & RFP_RLS_LOCK);

Completed in 110 milliseconds