/illumos-gate/usr/src/head/rpcsvc/ |
H A D | dbm.h | 57 char dirbuf[DBLKSIZ]; variable
|
/illumos-gate/usr/src/cmd/rexd/ |
H A D | under.c | 91 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 D | rpc.rexd.c | 833 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/fs.d/udfs/fsck/ |
H A D | pass1.c | 86 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/lib/libc/port/threads/ |
H A D | spawn.c | 196 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/ucbhead/ |
H A D | dbm.h | 60 char dirbuf[DBLKSIZ]; variable
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_xfs.c | 63 #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/ypcmd/ |
H A D | makedbm.c | 119 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/lib/libnsl/yp/ |
H A D | dbm.c | 357 readsize = read(dirf, dirbuf, DBLKSIZ); 361 (void) memset(&dirbuf+readsize, 0, DBLKSIZ-readsize); 365 if (dirbuf[i] & (1<<n)) 386 dirbuf[i] |= 1<<n; 388 if (write(dirf, dirbuf, DBLKSIZ) < 0)
|
/illumos-gate/usr/src/ucblib/libdbm/ |
H A D | dbm.c | 367 readsize = read(dirf, dirbuf, DBLKSIZ); 370 bzero(dirbuf+readsize, DBLKSIZ-readsize); 374 if (dirbuf[i] & (1<<n)) 395 dirbuf[i] |= 1<<n; 397 if (write(dirf, dirbuf, DBLKSIZ) < 0)
|
/illumos-gate/usr/src/uts/common/fs/fd/ |
H A D | fdops.c | 108 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/cmd/du/ |
H A D | du.c | 290 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 D | fmd_log.c | 283 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/cmd/backup/restore/ |
H A D | dirs.c | 446 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/cmd/cron/ |
H A D | at.c | 575 char dirbuf[PATH_MAX + 1]; local 684 dirbuf[0] = '\0'; 691 if (getcwd(dirbuf, sizeof (dirbuf)) == NULL) { 699 escapestr(dirbuf);
|