Searched refs:dir (Results 51 - 75 of 1191) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/cmd-inet/etc/init.d/
H A DMakefile56 @for dir in rc0.d rcS.d rc1.d; do \
57 echo $(LN) $(INITD)/$(PROG4) $(ROOTETC)/$$dir/K34ncalogd; \
58 $(RM) $(ROOTETC)/$$dir/K34ncalogd; \
59 $(LN) $(INITD)/$(PROG4) $(ROOTETC)/$$dir/K34ncalogd; \
60 echo $(LN) $(INITD)/$(PPPD) $(ROOTETC)/$$dir/$(PPPDK); \
61 $(RM) $(ROOTETC)/$$dir/$(PPPDK); \
62 $(LN) $(INITD)/$(PPPD) $(ROOTETC)/$$dir/$(PPPDK); \
72 $(INS.dir)
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dtempnam.c55 tempnam(const char* dir, const char* pfx) argument
57 return pathtmp(NiL, dir, pfx, NiL);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_export/
H A Dzpool_export_001_pos.ksh50 typeset dir=$(get_device_dir $DISKS)
53 log_must zpool import -d $dir $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dcleanup.ksh46 for dir in "$TESTDIR" "$TESTDIR1" "$DEVICE_DIR" ; do
47 [[ -d $dir ]] && \
48 log_must rm -rf $dir
/illumos-gate/usr/src/lib/libtecla/common/
H A Ddireader.c72 DIR *dir; /* The directory stream (if open, NULL otherwise) */ member in struct:DirReader
106 dr->dir = NULL;
158 DIR *dir = NULL; /* The directory stream */ local
176 dir = opendir(path);
177 if(!dir) {
201 closedir(dir);
221 closedir(dir);
233 dr->dir = dir;
246 if(dr && dr->dir) {
[all...]
/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dcfgrom.c122 sbp2_cfgrom_ent_t *dir = pa->pa_dir; /* directory being parsed */ local
133 this_pa.pa_pdir = dir;
138 SBP2_CFGROM_RQ(tp, cmd, dir->ce_offset, &entry);
139 dir->ce_len = IEEE1212_DIR_LEN(entry);
140 sbp2_cfgrom_dir_grow(&dir->ce_data.dir, dir->ce_len);
143 addr = dir->ce_offset + 4;
144 for (i = 0; i < dir->ce_len; i++, addr += 4) {
148 cep = sbp2_cfgrom_dir_new_ent(&dir
267 sbp2_cfgrom_dir_grow(sbp2_cfgrom_dir_t *dir, int incr) argument
286 sbp2_cfgrom_dir_new_ent(sbp2_cfgrom_dir_t *dir) argument
301 sbp2_cfgrom_walk(sbp2_cfgrom_ent_t *dir, int (*func)(void *, sbp2_cfgrom_ent_t *, int), void *arg) argument
309 sbp2_cfgrom_walk_impl(sbp2_cfgrom_ent_t *dir, int (*func)(void *, sbp2_cfgrom_ent_t *, int), void *arg, int level) argument
332 sbp2_cfgrom_ent_by_key(sbp2_cfgrom_ent_t *dir, int8_t kt, int8_t kv, int num) argument
371 sbp2_cfgrom_walk_free(sbp2_cfgrom_ent_t *dir) argument
[all...]
/illumos-gate/usr/src/cmd/tic/
H A Dtic_main.c216 static char dir[2] = " "; local
219 dir[0] = dirletter;
220 if (stat64(dir, &statbuf) < 0) {
221 if (mkdir(dir, 0755) < 0)
222 syserr_abort("mkdir %s returned bad status", dir);
224 } else if (access(dir, 7) < 0) {
226 progname, destination, dir);
227 perror(dir);
231 progname, destination, dir);
232 perror(dir);
[all...]
/illumos-gate/usr/src/tools/cscope-fast/
H A Ddir.c67 static void getsrcfiles(char *vpdir, char *dir);
76 char *dir; local
82 dir = strtok(dirlist, DIRSEPS);
83 while (dir != NULL) {
88 if (stat(compath(dir), &statstruct) == 0 &&
97 srcdirs[nsrcdirs++] = stralloc(dir);
99 dir = strtok((char *)NULL, DIRSEPS);
109 char *dir; local
115 dir = strtok(dirlist, DIRSEPS);
116 while (dir !
144 char dir[PATHLEN + 1]; local
267 getsrcfiles(char *vpdir, char *dir) argument
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_ecache.c59 ecache_scan_dir(const char *dir, const char *pref, char *buf, size_t bufsz) argument
65 if ((mcdir = opendir(dir)) == NULL)
75 (void) snprintf(path, sizeof (path), "%s/%s", dir, dp->d_name);
110 const char *dir = "/devices/ssm@0,0"; local
112 if (access(dir, R_OK) != 0)
113 dir = "/devices";
115 return (ecache_scan_dir(dir, "memory-controller", buf, bufsz));
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_cpio_002_pos.ksh82 dir=dir.$$
93 log_note "Create file $file and directory $dir " \
97 log_must usr_exec mkdir $dir
99 log_must usr_exec runat $dir cp $mytestfile attr.0
103 for obj in $file $dir; do
120 for obj in $file $dir; do
H A Dzfs_acl_cpio_001_pos.ksh81 dir=dir.$$
91 log_note "Create file $file and directory $dir " \
95 log_must usr_exec mkdir $dir
99 for obj in $file $dir; do
116 for obj in $file $dir; do
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_dir.c226 * Enter a directory entry for 'name' and 'tp' into directory 'dir'
233 struct tmpnode *dir, /* target directory to make entry in */
251 ASSERT(RW_WRITE_HELD(&dir->tn_rwlock));
252 ASSERT(dir->tn_type == VDIR);
270 if (tp != dir)
275 if (tp != dir)
282 if (tp != dir)
289 if (tp != dir)
301 if (dir->tn_nlink == 0) {
314 if (tp == dir) {
231 tdirenter( struct tmount *tm, struct tmpnode *dir, char *name, enum de_op op, struct tmpnode *fromparent, struct tmpnode *tp, struct vattr *va, struct tmpnode **tpp, struct cred *cred, caller_context_t *ctp) argument
427 tdirdelete( struct tmpnode *dir, struct tmpnode *tp, char *nm, enum dr_op op, struct cred *cred) argument
542 tdirinit( struct tmpnode *parent, struct tmpnode *dir) argument
611 tdirtrunc(struct tmpnode *dir) argument
680 struct tmpnode *dir, *dotdot; local
899 tdiraddentry( struct tmpnode *dir, struct tmpnode *tp, char *name, enum de_op op, struct tmpnode *fromtp) argument
1011 tdirmaketnode( struct tmpnode *dir, struct tmount *tm, struct vattr *va, enum de_op op, struct tmpnode **newnode, struct cred *cred) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_profile.c69 prof_getattr(struct sdev_node *dir, char *name, struct vnode *gdv, argument
75 advp = dir->sdev_attrvp;
86 "shadow directory %s/%s\n", dir->sdev_path, name));
144 prof_mknode(struct sdev_node *dir, char *name, struct sdev_node **newdv, argument
150 ASSERT(RW_WRITE_HELD(&dir->sdev_contents));
153 if (dv = sdev_cache_lookup(dir, name)) {
159 rv = sdev_nodeinit(dir, name, &dv, NULL);
165 sdev_cache_update(dir, &dv, name, SDEV_CACHE_ADD);
176 apply_glob_pattern(dir, *newdv);
178 sdev_cache_update(dir,
193 struct sdev_node *dir = *dirp; local
246 prof_lookup_globaldev(struct sdev_node *dir, struct sdev_node *gdir, char *name, char *rename) argument
300 prof_make_sym(struct sdev_node *dir, char *lnm, char *tgt) argument
315 prof_make_symlinks(struct sdev_node *dir) argument
340 prof_make_maps(struct sdev_node *dir) argument
384 is_nonempty_dir(char *name, char *pathleft, struct sdev_node *dir) argument
420 prof_name_matched(char *name, struct sdev_node *dir) argument
537 prof_zone_matched(char *name, struct sdev_node *dir) argument
621 prof_make_names(struct sdev_node *dir) argument
746 apply_dir_pattern(struct sdev_node *dir, char *expr, char *pathleft, int type) argument
777 prof_add_rule(char *name, char *tgt, struct sdev_node *dir, int type) argument
844 process_rule(struct sdev_node *dir, struct sdev_node *gdir, char *path, char *tgt, int type) argument
938 struct sdev_node *dir, *gdir; local
[all...]
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dutil.c34 * This function returns a fullpath based on the "dir" and "filepath" input
38 * - If only dir or filepath is given, this function returns a copy of the
40 * - If the filepath is fully qualified already and the "dir" is also
44 get_fullpath(char *dir, char *filepath) argument
53 if (dir != NULL)
54 dirlen = strlen(dir);
62 dir, filepath);
69 fullpath = (char *)strdup(dir);
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dtempnam.c45 tempnam(dir, pfx)
46 char *dir; /* use this directory please (if non-NULL) */
58 if(dir != NULL) {
59 y=strlen(dir);
65 if(y > 0 && access(pcopy(p, dir), 3) == 0)
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_dir.c27 # include <sys/dir.h>
47 __os_dirlist(dir, namesp, cntp)
48 const char *dir;
58 return (__db_jump.j_dirlist(dir, namesp, cntp));
60 if ((dirp = opendir(dir)) == NULL)
/illumos-gate/usr/src/lib/sun_fc/common/
H A DHBANPIVPort.cc77 const char dir[] = "/dev/cfg"; local
81 if ((dp = opendir(dir)) == NULL) {
83 tmp += dir;
96 sprintf(node, "%s/%s", dir, dirp->d_name);
100 string cfg_path = dir;
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathshell.c79 char dir[PATH_MAX]; local
92 if (strlen(s) >= sizeof(dir))
94 strcpy(dir, s);
95 if (!(s = strrchr(dir, '/')))
98 s = dir;
/illumos-gate/usr/src/lib/libcurses/screen/
H A Didlok.c117 int tsy, bsy, idn, dir, nomore; local
125 for (dir = 1; dir > -2; dir -= 2) {
126 if (dir > 0) {
137 if ((dir > 0 && ip->_wy > ip->_sy) ||
138 (dir < 0 && ip->_wy < ip->_sy)) {
140 ip += dir;
145 for (ep = ip+dir; ep != eip; ep += dir)
[all...]
/illumos-gate/usr/src/uts/sun4v/
H A DMakefile142 -$(INS.dir)
156 -$(INS.dir)
211 -$(INS.dir)
214 -$(INS.dir)
220 -$(INS.dir)
223 -$(INS.dir)
229 -$(INS.dir)
232 -$(INS.dir)
238 -$(INS.dir)
241 -$(INS.dir)
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/etc/
H A DMakefile53 $(INS.dir)
56 $(INS.dir)
59 $(INS.dir)
/illumos-gate/usr/src/psm/stand/lib/names/sparc/common/
H A Duname-m.c45 * Is path "/platform/"dir"/" ?
48 platcmp(char *path, char *dir) argument
56 len = strlen(dir);
58 if (strncmp(path, dir, len) != 0)
78 * If we found the kernel in the default dir, prepend the ia_name
80 * ia_name is the same as the default dir. This can happen if we
83 * If we found the kernel in the ia_name dir, append the default
/illumos-gate/usr/src/lib/libast/common/preroot/
H A Dispreroot.c25 * return 1 if dir [any dir] is the preroot
58 ispreroot(const char* dir) argument
62 if (dir) return(same("/", dir));
/illumos-gate/usr/src/cmd/lp/lib/access/
H A Ddumpaccess.c52 dumpaccess(char *dir, char *name, char *prefix, char ***pallow, char ***pdeny) argument
60 !(allow_file = getaccessfile(dir, name, prefix, "allow"))
62 || !(deny_file = getaccessfile(dir, name, prefix, "deny"))
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_004_pos.ksh63 for dir in $TESTDIR1 $TESTDIR2; do
64 [[ -d $dir ]] && \
65 log_must rm -rf $dir
78 for dir in $TESTDIR1 $TESTDIR2; do
79 [[ ! -d $dir ]] && \
80 log_must mkdir -p $dir

Completed in 126 milliseconds

1234567891011>>