/titanic_50/usr/src/cmd/luxadm/ |
H A D | setboot.c | 75 char bdev[MAXPATHLEN]; in setboot() local 77 if (!getbootdevname(fname, bdev)) { in setboot() 84 return (setprom(yes, verbose, bdev)); in setboot() 92 getbootdevname(char *bootfs, char *bdev) in getbootdevname() argument 142 if (devfs_dev_to_prom_name(devname, bdev) != 0) { in getbootdevname() 155 setprom(unsigned yes, unsigned verbose, char *bdev) in setprom() argument 193 "New boot-device = %s\n"), bdev); in setprom() 212 (int)strlen(bdev); in setprom() 216 bdev); in setprom() 233 if (strcmp(bdev, pio->oprom_array)) { in setprom()
|
/titanic_50/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 272 char **lp, *rdev, *bdev; in preen() local 321 bdev = getfullblkname(name); in preen() 322 if (bdev == NULL || *bdev == '\0') { in preen() 325 if (bdev) in preen() 326 free(bdev); in preen() 330 mpref.mnt_special = bdev; in preen() 334 free(bdev); in preen() 341 free(bdev); in preen() 344 free(bdev); in preen()
|
/titanic_50/usr/src/cmd/fs.d/ufs/roll_log/ |
H A D | roll_log.c | 100 rl_roll_log(char *bdev) in rl_roll_log() argument 106 if (is_mounted(&li, bdev) == RL_TRUE) { in rl_roll_log() 456 rl_log_control(char *bdev, int request) in rl_log_control() argument 469 if ((alreadymounted = is_mounted(&li, bdev)) != RL_TRUE) { in rl_log_control()
|
/titanic_50/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 1436 char bdev[MAXPATHLEN]; in update_vfstab() local 1466 "%%%ds %%%ds %%%ds %%%ds %%%ds %%%ds %%%ds", sizeof (bdev) - 1, in update_vfstab() 1487 rv = sscanf(buf, fmt, bdev, cdev, mntpt, fstype, fsckpass, in update_vfstab() 1496 if ((rv == 7) && (bdev[0] == '/') && in update_vfstab() 1497 (strstr(bdev, "/dev/dsk"))) { in update_vfstab() 1498 slice = strrchr(bdev, 's'); in update_vfstab() 1500 prefixt = strrchr(bdev, 'c'); in update_vfstab() 1501 prefixt[strlen(bdev) - 9 - strlen(slice)] = '\0'; in update_vfstab()
|
/titanic_50/usr/src/cmd/sulogin/ |
H A D | sulogin.c | 407 pathcmp(char *adev, char *bdev) in pathcmp() argument 412 if (adev == NULL || bdev == NULL) in pathcmp() 415 if (strcmp(adev, bdev) == 0) in pathcmp() 421 if (stat(bdev, &st2) || !S_ISCHR(st2.st_mode)) in pathcmp()
|
/titanic_50/usr/src/cmd/consadm/ |
H A D | consadm.c | 482 pathcmp(char *adev, char *bdev) in pathcmp() argument 487 if (strcmp(adev, bdev) == 0) in pathcmp() 493 if (stat(bdev, &st2) != 0 || !S_ISCHR(st2.st_mode)) in pathcmp() 494 die(gettext("invalid device %s\n"), bdev); in pathcmp()
|
/titanic_50/usr/src/cmd/sysdef/ |
H A D | sysdef.c | 125 int vs, tu, utsnm, bdev, pnstrpush, variable 344 bdev = setup("bdevsw"); in main()
|
/titanic_50/usr/src/uts/common/fs/ |
H A D | vfs.c | 1153 dev_t bdev = 0; in domount() local 1592 bdev = bvp->v_rdev; in domount() 1595 bdev = lvp->v_rdev; in domount() 1600 vfs_addmip(bdev, vfsp); in domount()
|
/titanic_50/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 4175 checkdev(char *rdev, char *bdev) in checkdev() argument 4179 if (stat64(bdev, &statarea) < 0) { in checkdev() 4181 (void) fprintf(stderr, gettext("can't stat %s\n"), bdev); in checkdev() 4187 bdev); in checkdev()
|