Home
last modified time | relevance | path

Searched refs:dargs (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/cmd/allocate/
H A Dadd_allocatable.c72 da_args dargs; in main() local
104 dargs.optflag = 0; in main()
105 dargs.rootdir = NULL; in main()
106 dargs.devnames = NULL; in main()
107 dargs.devinfo = &devinfo; in main()
110 dargs.optflag |= DA_ADD; in main()
112 dargs.optflag |= DA_REMOVE; in main()
114 usage(&dargs, progname); in main()
133 if (process_args(argc, argv, &dargs, progname) != 0) { in main()
134 usage(&dargs, progname); in main()
[all …]
H A Dmkdevalloc.c246 da_args dargs; in dotape() local
431 dargs.rootdir = NULL; in dotape()
432 dargs.devnames = NULL; in dotape()
433 dargs.optflag = DA_ADD; in dotape()
435 dargs.devinfo = &(entry->devinfo); in dotape()
436 (void) da_update_device(&dargs); in dotape()
458 da_args dargs; in doaudio() local
634 dargs.rootdir = NULL; in doaudio()
635 dargs.devnames = NULL; in doaudio()
636 dargs.optflag = DA_ADD; in doaudio()
[all …]
H A Dallocate3.c1844 da_args dargs; in update_device() local
1847 dargs.optflag = flag; in update_device()
1848 dargs.optflag |= DA_UPDATE|DA_ALLOC_ONLY; in update_device()
1849 dargs.rootdir = NULL; in update_device()
1850 dargs.devnames = devnames; in update_device()
1853 if (dargs.optflag & DA_ADD_ZONE) { in update_device()
1861 dargs.devinfo = &devinfo; in update_device()
1863 rc = da_update_device(&dargs); in update_device()
/titanic_50/usr/src/cmd/devfsadm/
H A Ddevalloc.c109 da_args dargs; in _reset_devalloc() local
117 dargs.optflag = DA_ON; in _reset_devalloc()
119 dargs.optflag = DA_OFF | DA_ALLOC_ONLY; in _reset_devalloc()
121 dargs.rootdir = NULL; in _reset_devalloc()
122 dargs.devnames = NULL; in _reset_devalloc()
123 dargs.devinfo = NULL; in _reset_devalloc()
125 (void) da_update_device(&dargs); in _reset_devalloc()
284 da_args dargs; in _update_dev() local
288 dargs.rootdir = NULL; in _update_dev()
289 dargs.devnames = NULL; in _update_dev()
[all …]
/titanic_50/usr/src/lib/libbsm/common/
H A Ddevalloc.c258 _update_zonename(da_args *dargs, devalloc_t *dap) in _update_zonename() argument
268 devinfo = dargs->devinfo; in _update_zonename()
271 if (dargs->optflag & DA_REMOVE_ZONE) in _update_zonename()
273 if (dargs->optflag & DA_ADD_ZONE) { in _update_zonename()
284 if (dargs->optflag & DA_ADD_ZONE) { in _update_zonename()
293 } else if (dargs->optflag & DA_REMOVE_ZONE) { in _update_zonename()
314 if ((dargs->optflag & DA_REMOVE_ZONE) && in _update_zonename()
322 if (dargs->optflag & DA_ADD_ZONE) { in _update_zonename()
395 _da2str(da_args *dargs, devalloc_t *dap, char *buf, int size, const char *sep, in _da2str() argument
402 if (dargs->optflag & DA_UPDATE && in _da2str()
[all …]
H A Dgetdaent.c451 da_match(devalloc_t *dap, da_args *dargs) in da_match() argument
453 if (dargs->devinfo->devname) in da_match()
454 return (da_matchname(dap, dargs->devinfo->devname)); in da_match()
455 else if (dargs->devinfo->devtype) in da_match()
456 return (da_matchtype(dap, dargs->devinfo->devtype)); in da_match()
H A Dgetdment.c540 dm_match(devmap_t *dmap, da_args *dargs) in dm_match() argument
542 if (dargs->devinfo->devname) in dm_match()
543 return (dmap_matchname(dmap, dargs->devinfo->devname)); in dm_match()
544 else if (dargs->devinfo->devtype) in dm_match()
545 return (dmap_matchtype(dmap, dargs->devinfo->devtype)); in dm_match()
/titanic_50/usr/src/cmd/bc/
H A Dbc.y106 | start def dargs ')' '{' dlist slist '}'
429 dargs : /* empty */
434 | dargs ',' lora
/titanic_50/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_trans.c911 nfslog_diropargs *dargs = &args->ca_da; in trans_mkdir() local
912 char *name = dargs->da_name; in trans_mkdir()
913 fhandle_t *dfh = &dargs->da_fhandle; in trans_mkdir()