Home
last modified time | relevance | path

Searched refs:dirbuf (Results 1 – 17 of 17) sorted by relevance

/titanic_44/usr/src/cmd/fs.d/udfs/fsck/
H A Dpass1.c86 static uint8_t *dirbuf; variable
158 if (dirbuf) { in pass1()
159 free(dirbuf); in pass1()
160 dirbuf = NULL; in pass1()
197 if (dirbuf) { in opndir()
198 free(dirbuf); in opndir()
199 dirbuf = NULL; in opndir()
321 if (dirbuf) { in getdir()
322 free(dirbuf); in getdir()
323 dirbuf = NULL; in getdir()
[all …]
/titanic_44/usr/src/lib/libc/port/threads/
H A Dspawn.c196 perform_file_actions(file_attr_t *fap, void *dirbuf) in perform_file_actions() argument
225 if (spawn_closefrom(fap->fa_filedes, dirbuf)) in perform_file_actions()
288 void *dirbuf = NULL; in posix_spawn() local
300 if ((dirbuf = lmalloc(DIRBUF)) == NULL) in posix_spawn()
308 if (dirbuf) in posix_spawn()
309 lfree(dirbuf, DIRBUF); in posix_spawn()
317 if (dirbuf) in posix_spawn()
318 lfree(dirbuf, DIRBUF); in posix_spawn()
327 if (set_error(&error, perform_file_actions(fap, dirbuf)) != 0) in posix_spawn()
382 void *dirbuf = NULL; in posix_spawnp() local
[all …]
/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Dfsys_xfs.c63 #define dirbuf ((char *)FSYS_BUF) macro
303 0, 100, dirbuf); in xfs_dabread()
346 #define h ((xfs_dir2_leaf_hdr_t *)dirbuf) in next_dentry()
378 #define dau ((xfs_dir2_data_union_t *)dirbuf) in next_dentry()
385 xfs_read (dirbuf, 4); in next_dentry()
395 xfs_read ((char *)dirbuf + 4, 5); in next_dentry()
400 xfs_read (dirbuf, toread); in next_dentry()
401 name = (char *)dirbuf; in next_dentry()
423 xfs_read (dirbuf, sizeof(xfs_dir2_data_hdr_t)); in first_dentry()
424 if (((xfs_dir2_data_hdr_t *)dirbuf)->magic == le32(XFS_DIR2_BLOCK_MAGIC)) { in first_dentry()
[all …]
/titanic_44/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);
950 strcpy(dirbuf, tmpdir);
953 strcpy(dirbuf, mountedon);
997 strcpy(dirbuf, tmpdir);
1005 strcat(dirbuf, subdir);
1230 if (chdir(dirbuf)) {
1231 fprintf(stderr, "rexd: can't chdir to %s\n", dirbuf);
/titanic_44/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) {
/titanic_44/usr/src/lib/libnsl/yp/
H A Ddbm.c357 readsize = read(dirf, dirbuf, DBLKSIZ); in getbit()
361 (void) memset(&dirbuf+readsize, 0, DBLKSIZ-readsize); in getbit()
365 if (dirbuf[i] & (1<<n)) in getbit()
386 dirbuf[i] |= 1<<n; in setbit()
388 if (write(dirf, dirbuf, DBLKSIZ) < 0) in setbit()
/titanic_44/usr/src/ucblib/libdbm/
H A Ddbm.c367 readsize = read(dirf, dirbuf, DBLKSIZ); in getbit()
370 bzero(dirbuf+readsize, DBLKSIZ-readsize); in getbit()
374 if (dirbuf[i] & (1<<n)) in getbit()
395 dirbuf[i] |= 1<<n; in setbit()
397 if (write(dirf, dirbuf, DBLKSIZ) < 0) in setbit()
H A Dmapfile-vers49 dirbuf;
/titanic_44/usr/src/uts/common/fs/fd/
H A Dfdops.c108 struct fddirect dirbuf; in fdread() local
146 dirbuf.d_name[i] = '\0'; in fdread()
149 dirbuf.d_ino = fdtoi(n); in fdread()
150 numtos((ulong_t)n, dirbuf.d_name); in fdread()
151 error = uiomove((caddr_t)&dirbuf + modoff, in fdread()
/titanic_44/usr/src/cmd/backup/restore/
H A Ddirs.c446 static char dirbuf[DIRBLKSIZ]; variable
462 ((struct direct *)(dirbuf + prev))->d_reclen = in putent()
464 (void) fwrite(dirbuf, 1, DIRBLKSIZ, df); in putent()
469 bcopy((char *)dp, dirbuf + dirloc, (size_t)dp->d_reclen); in putent()
486 ((struct direct *)(dirbuf + prev))->d_reclen = DIRBLKSIZ - prev; in flushent()
487 (void) fwrite(dirbuf, (size_t)dirloc, 1, df); in flushent()
/titanic_44/usr/src/head/rpcsvc/
H A Ddbm.h57 char dirbuf[DBLKSIZ]; variable
/titanic_44/usr/src/ucbhead/
H A Ddbm.h60 char dirbuf[DBLKSIZ]; variable
/titanic_44/usr/src/cmd/du/
H A Ddu.c292 char dirbuf[PATH_MAX + 1]; in descend() local
440 if (getcwd(dirbuf, PATH_MAX) == NULL) { in descend()
510 ret = chdir(dirbuf); in descend()
/titanic_44/usr/src/cmd/cron/
H A Dat.c557 char dirbuf[PATH_MAX + 1]; in copy() local
666 dirbuf[0] = '\0'; in copy()
673 if (getcwd(dirbuf, sizeof (dirbuf)) == NULL) { in copy()
681 printf("%s", dirbuf); in copy()
/titanic_44/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_log.c283 char dirbuf[PATH_MAX], path[PATH_MAX], *dirpath; in fmd_log_load_xrdir() local
289 (void) strlcpy(dirbuf, lp->log_path, sizeof (dirbuf)); in fmd_log_load_xrdir()
290 dirpath = dirname(dirbuf); in fmd_log_load_xrdir()
/titanic_44/usr/src/lib/libnsl/common/
H A Dmapfile-vers561 dirbuf;