Searched defs:dirbuf (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/head/rpcsvc/
H A Ddbm.h57 char dirbuf[DBLKSIZ]; variable
/illumos-gate/usr/src/ucbhead/
H A Ddbm.h60 char dirbuf[DBLKSIZ]; variable
/illumos-gate/usr/src/cmd/rexd/
H A Dunder.c91 char dirbuf[1024]; local
160 strcpy(dirbuf, tmpdir);
161 strcat(dirbuf, "/");
162 strcat(dirbuf, subdir);
163 status = runcmd(dirbuf, argv[2], &argv[2]);
H A Drpc.rexd.c833 char dirbuf[1024]; local
891 strcpy(dirbuf, fsname);
912 * (dirbuf is modified in place!)
950 strcpy(dirbuf, tmpdir);
953 strcpy(dirbuf, mountedon);
997 strcpy(dirbuf, tmpdir);
1002 * "dirbuf" now contains the local mount point, so just tack on
1005 strcat(dirbuf, subdir);
1230 if (chdir(dirbuf)) {
1231 fprintf(stderr, "rexd: can't chdir to %s\n", dirbuf);
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dmakedbm.c119 char dirbuf[MAXPATHLEN]; local
368 strcpy(dirbuf, outalias);
369 strcat(dirbuf, ".tmp");
370 if ((fdb = dbm_open(dirbuf, O_RDWR | O_CREAT, 0644)) == NULL) {
371 fprintf(stderr, "makedbm: can't open %s\n", dirbuf);
374 strcpy(dirbuf, outalias);
376 strcat(dirbuf, dbm_dir);
459 if (rename(tmpdirbuf, dirbuf) < 0) {
469 * sprintf(buf, "mv %s %s", tmpdirbuf, dirbuf);
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dpass1.c86 static uint8_t *dirbuf; variable
158 if (dirbuf) {
159 free(dirbuf);
160 dirbuf = NULL;
197 if (dirbuf) {
198 free(dirbuf);
199 dirbuf = NULL;
290 * dir_baseoff - offset at start of dirbuf
295 * dir_fidp - pointer to dirbuf or immediate data in file entry
321 if (dirbuf) {
[all...]
/illumos-gate/usr/src/cmd/du/
H A Ddu.c290 char dirbuf[PATH_MAX + 1]; local
437 if (getcwd(dirbuf, PATH_MAX) == NULL) {
507 ret = chdir(dirbuf);
/illumos-gate/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_log.c283 char dirbuf[PATH_MAX], path[PATH_MAX], *dirpath; local
289 (void) strlcpy(dirbuf, lp->log_path, sizeof (dirbuf));
290 dirpath = dirname(dirbuf);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_xfs.c63 #define dirbuf ((char *)FSYS_BUF) macro
303 0, 100, dirbuf);
346 #define h ((xfs_dir2_leaf_hdr_t *)dirbuf)
378 #define dau ((xfs_dir2_data_union_t *)dirbuf)
385 xfs_read (dirbuf, 4);
395 xfs_read ((char *)dirbuf + 4, 5);
400 xfs_read (dirbuf, toread);
401 name = (char *)dirbuf;
423 xfs_read (dirbuf, sizeof(xfs_dir2_data_hdr_t));
424 if (((xfs_dir2_data_hdr_t *)dirbuf)
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Ddirs.c446 static char dirbuf[DIRBLKSIZ]; variable
462 ((struct direct *)(dirbuf + prev))->d_reclen =
464 (void) fwrite(dirbuf, 1, DIRBLKSIZ, df);
469 bcopy((char *)dp, dirbuf + dirloc, (size_t)dp->d_reclen);
486 ((struct direct *)(dirbuf + prev))->d_reclen = DIRBLKSIZ - prev;
487 (void) fwrite(dirbuf, (size_t)dirloc, 1, df);
/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c108 struct fddirect dirbuf; local
146 dirbuf.d_name[i] = '\0';
149 dirbuf.d_ino = fdtoi(n);
150 numtos((ulong_t)n, dirbuf.d_name);
151 error = uiomove((caddr_t)&dirbuf + modoff,
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dspawn.c196 perform_file_actions(file_attr_t *fap, void *dirbuf) argument
225 if (spawn_closefrom(fap->fa_filedes, dirbuf))
288 void *dirbuf = NULL; local
300 if ((dirbuf = lmalloc(DIRBUF)) == NULL)
308 if (dirbuf)
309 lfree(dirbuf, DIRBUF);
317 if (dirbuf)
318 lfree(dirbuf, DIRBUF);
327 if (set_error(&error, perform_file_actions(fap, dirbuf)) != 0)
382 void *dirbuf local
[all...]
/illumos-gate/usr/src/cmd/cron/
H A Dat.c575 char dirbuf[PATH_MAX + 1]; local
684 dirbuf[0] = '\0';
691 if (getcwd(dirbuf, sizeof (dirbuf)) == NULL) {
699 escapestr(dirbuf);

Completed in 59 milliseconds