OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mnttab
(Results
1 - 14
of
14
) sorted by relevancy
/src/external/cddl/osnet/include/
mnttab.h
1
/* $NetBSD:
mnttab
.h,v 1.4 2018/05/28 21:05:08 chs Exp $ */
41
#define
MNTTAB
_PATH_DEVNULL
52
struct
mnttab
{
struct
58
#define extmnttab
mnttab
60
int getmntany(FILE *fd, struct
mnttab
*mgetp, struct
mnttab
*mrefp);
61
int getmntent(FILE *fp, struct
mnttab
*mp);
62
char *hasmntopt(struct
mnttab
*mnt, char *opt);
65
void statvfs2mnttab(struct statvfs *sfs, struct
mnttab
*mp);
/src/external/cddl/osnet/sys/sys/
mnttab.h
1
/* $NetBSD:
mnttab
.h,v 1.5 2018/05/28 21:05:10 chs Exp $ */
37
#include <
mnttab
.h>
51
#define
MNTTAB
"/dev/null"
65
struct
mnttab
{
74
* NOTE: fields in extmnttab should match struct
mnttab
till new fields
76
* a pointer to an extmnttab struct cast to a
mnttab
struct pointer.
91
extern int getmntent(FILE *, struct
mnttab
*);
93
extern int getmntany(FILE *, struct
mnttab
*, struct
mnttab
*);
95
extern char *hasmntopt(struct
mnttab
*, char *)
[
all
...]
/src/external/cddl/osnet/lib/libzfs/
mnttab.c
1
/* $NetBSD:
mnttab
.c,v 1.4 2019/01/27 02:08:34 pgoyette Exp $ */
35
__FBSDID("$FreeBSD: head/cddl/compat/opensolaris/misc/
mnttab
.c 209962 2010-07-12 23:49:04Z mm $");
36
__RCSID("$NetBSD:
mnttab
.c,v 1.4 2019/01/27 02:08:34 pgoyette Exp $");
41
#include <sys/
mnttab
.h>
73
hasmntopt(struct
mnttab
*mnt, char *opt)
99
statvfs2mnttab(struct statvfs *sfs, struct
mnttab
*mp)
170
getmntany(FILE *fd, struct
mnttab
*mgetp, struct
mnttab
*mrefp)
198
getmntent(FILE *fp, struct
mnttab
*mp)
Makefile
28
SRCS+=
mnttab
.c
/src/external/bsd/am-utils/dist/conf/checkmount/
checkmount_svr4.c
54
struct
mnttab
ment;
59
if (!(mtab = fopen(
MNTTAB
, "r"))) {
60
perror(
MNTTAB
);
77
fprintf(stderr, "getmntent: %s: %s\n",
MNTTAB
,
/src/external/bsd/am-utils/dist/include/
mount_headers1.h
82
# include <sys/
mnttab
.h>
84
#if defined(HAVE_MNTTAB_H) && !defined(
MNTTAB
)
86
* Do not include it if
MNTTAB
is already defined because it probably
87
* came from <sys/
mnttab
.h> and we do not want conflicting definitions.
89
# include <
mnttab
.h>
90
#endif /* defined(HAVE_MNTTAB_H) && !defined(
MNTTAB
) */
am_defs.h
1129
* Actions to take if <sys/
mnttab
.h> exists.
1132
# include <sys/
mnttab
.h>
1136
* Actions to take if <
mnttab
.h> exists.
1137
* Do not include it if
MNTTAB
is already defined because it probably
1138
* came from <sys/
mnttab
.h> and we do not want conflicting definitions.
1140
#if defined(HAVE_MNTTAB_H) && !defined(
MNTTAB
)
1141
# include <
mnttab
.h>
1142
#endif /* defined(HAVE_MNTTAB_H) && !defined(
MNTTAB
) */
1401
* Defaults to struct mntent, else struct
mnttab
. If neither is found, and
1411
typedef struct
mnttab
mntent_t
[
all
...]
/src/external/cddl/osnet/dist/lib/libzfs/common/
libzfs_mount.c
216
struct
mnttab
entry;
383
struct
mnttab
entry;
926
struct
mnttab
entry;
1210
* arbitrarily (on I/O error, for example). Instead, we walk /etc/
mnttab
and
1217
struct
mnttab
entry;
libzfs.h
38
#include <sys/
mnttab
.h>
200
struct
mnttab
*);
libzfs_dataset.c
689
struct
mnttab
mtn_mt;
718
struct
mnttab
entry;
760
struct
mnttab
*entry)
766
struct
mnttab
srch = { 0 };
1906
* the contents of the /etc/
mnttab
entry, searching for the appropriate options.
1916
struct
mnttab
mnt;
1965
* (iterating over all of /etc/
mnttab
), we defer its calculation until
1971
struct
mnttab
entry;
libzfs_util.c
48
#include <sys/
mnttab
.h>
672
if ((hdl->libzfs_mnttab = fopen(
MNTTAB
, "r")) == NULL) {
735
* (starts with '/' or "./"). If so, walk the
mnttab
trying
/src/external/cddl/osnet/dist/cmd/zinject/
translate.c
39
#include <sys/
mnttab
.h>
/src/external/cddl/osnet/dist/lib/libzpool/common/sys/
zfs_context.h
88
#include <sys/
mnttab
.h>
/src/external/cddl/osnet/dist/cmd/zfs/
zfs_main.c
55
#include <sys/
mnttab
.h>
5851
struct
mnttab
mnt;
6193
struct
mnttab
entry;
6202
* When mount is given no arguments, go through /etc/
mnttab
and
6280
* absolute path, find the entry /etc/
mnttab
, verify that its a ZFS filesystem,
6294
* Search for the path in /etc/
mnttab
. Rather than looking for the
6347
(void) fprintf(stderr, gettext("warning: %s not in
mnttab
\n"),
6461
* since we would have to linearly search /etc/
mnttab
for each
6462
* one. Instead, do one pass through /etc/
mnttab
looking for
6472
struct
mnttab
entry
[
all
...]
Completed in 79 milliseconds
Indexes created Sat Aug 08 00:24:54 UTC 2026