Home
last modified time | relevance | path

Searched refs:specname (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/sbin/bsdlabel/
H A Dbsdlabel.c101 static char *specname; variable
217 specname = argv[0]; in main()
220 if (specname == NULL) { in main()
224 fd = open(specname, O_RDONLY); in main()
406 fd = open(specname, O_RDWR); in writelabel()
421 specname); in writelabel()
426 warnc(serrno, "%s", specname); in writelabel()
430 warn("write %s", specname); in writelabel()
465 f = open(specname, O_RDONLY); in readlabel()
467 err(1, "%s", specname); in readlabel()
[all …]
/freebsd-14.2/sys/fs/devfs/
H A Ddevfs_rule.c582 char *pname, *specname; in devfs_rule_matchpath() local
584 specname = NULL; in devfs_rule_matchpath()
591 specname = malloc(SPECNAMELEN + 1, M_TEMP, M_WAITOK); in devfs_rule_matchpath()
592 pname = devfs_fqpn(specname, dm, de, NULL); in devfs_rule_matchpath()
598 free(specname, M_TEMP); in devfs_rule_matchpath()
H A Ddevfs_vnops.c1054 char specname[SPECNAMELEN + 1], *pname; in devfs_lookupx() local
1115 pname = devfs_fqpn(specname, dmp, dd, cnp); in devfs_lookupx()
/freebsd-14.2/sbin/quotacheck/
H A Dquotacheck.c249 chkquota(char *specname, struct quotafile *qfu, struct quotafile *qfg) in chkquota() argument
292 if ((fi = open(specname, O_RDONLY, 0)) < 0) { in chkquota()
293 warn("%s", specname); in chkquota()
307 (void)printf(" quotas for %s (%s)\n", specname, mntpt); in chkquota()