Lines Matching refs:path
136 #define chdir( path ) red_chdir( path ) argument
150 #define open( path, oflag ) red_open( MakeFullPath( path ), oflag ) argument
151 #define unlink( path ) red_unlink( MakeFullPath( path ) ) argument
152 #define mkdir( path ) red_mkdir( MakeFullPath( path ) ) argument
153 #define rmdir( path ) red_rmdir( MakeFullPath( path ) ) argument
155 #define link( path, hardlink ) red_link( MakeFullPath( path ), MakeFullPath( hardlink ) ) argument
156 #define opendir( path ) red_opendir( MakeFullPath( path ) ) argument
497 char * path; member
597 static int delete_tree( const char * path );
886 static int delete_tree( const char * path ) in delete_tree() argument
895 e = stat( path, &sb ); in delete_tree()
904 return unlink( path ) ? errno : 0; in delete_tree()
907 dp = opendir( path ); in delete_tree()
916 len = strlen( path ) + 1 + strlen( dep->d_name ) + 1; in delete_tree()
919 strcpy( childpath, path ); in delete_tree()
938 if( ( e == 0 ) && ( strcmp( path, "/" ) != 0 ) ) in delete_tree()
940 e = rmdir( path ) ? errno : 0; in delete_tree()
981 name->path = realloc( name->path, name->len + 1 + len ); in append_pathname()
982 strcpy( &name->path[ name->len ], str ); in append_pathname()
1009 rval = creat( name->path, mode ); in creat_path()
1211 if( name->path ) in free_pathname()
1213 free( name->path ); in free_pathname()
1214 name->path = NULL; in free_pathname()
1348 name->path = NULL; in init_pathname()
1361 rval = link( name1->path, name2->path ); in link_path()
1407 append_pathname( &newname2, name2->path ); in link_path()
1419 append_pathname( &newname1, name1->path ); in link_path()
1441 rval = lstat64( name->path, sbuf ); in lstat64_path()
1490 rval = mkdir( name->path ); in mkdir_path()
1583 rval = open( name->path, oflag ); in open_path()
1608 rval = opendir( name->path ); in opendir_path()
1637 rval = rename( name1->path, name2->path ); in rename_path()
1683 append_pathname( &newname2, name2->path ); in rename_path()
1695 append_pathname( &newname1, name1->path ); in rename_path()
1716 rval = rmdir( name->path ); in rmdir_path()
1742 slash = strchr( name->path, '/' ); in separate_pathname()
1751 strcpy( buf, name->path ); in separate_pathname()
1763 rval = stat64( name->path, sbuf ); in stat64_path()
1789 rval = truncate64( name->path, length ); in truncate64_path()
1814 rval = unlink( name->path ); in unlink_path()
1901 procid, opno, f.path ); in creat_f()
1922 RedPrintf( "%d/%d: creat %s x:%d %d %d\n", procid, opno, f.path, in creat_f()
1960 procid, opno, f.path, e ); in fdatasync_f()
1971 RedPrintf( "%d/%d: fdatasync %s %d\n", procid, opno, f.path, e ); in fdatasync_f()
2008 procid, opno, f.path, e ); in fsync_f()
2019 RedPrintf( "%d/%d: fsync %s %d\n", procid, opno, f.path, e ); in fsync_f()
2048 procid, opno, f.path ); in getdents_f()
2062 RedPrintf( "%d/%d: getdents %s 0\n", procid, opno, f.path ); in getdents_f()
2115 procid, opno, l.path ); in link_f()
2133 RedPrintf( "%d/%d: link %s %s %d\n", procid, opno, f.path, l.path, in link_f()
2171 procid, opno, f.path ); in mkdir_f()
2188 RedPrintf( "%d/%d: mkdir %s %d\n", procid, opno, f.path, e ); in mkdir_f()
2229 procid, opno, f.path, e ); in read_f()
2241 procid, opno, f.path, errno ); in read_f()
2254 f.path ); in read_f()
2273 procid, opno, f.path, ( long long ) off, ( long int ) len, e ); in read_f()
2328 procid, opno, f.path ); in rename_f()
2353 RedPrintf( "%d/%d: rename %s to %s %d\n", procid, opno, f.path, in rename_f()
2354 newf.path, e ); in rename_f()
2392 RedPrintf( "%d/%d: rmdir %s %d\n", procid, opno, f.path, e ); in rmdir_f()
2424 RedPrintf( "%d/%d: stat %s %d\n", procid, opno, f.path, e ); in stat_f()
2461 procid, opno, f.path, e ); in truncate_f()
2476 RedPrintf( "%d/%d: truncate %s %lld %d\n", procid, opno, f.path, in truncate_f()
2515 RedPrintf( "%d/%d: unlink %s %d\n", procid, opno, f.path, e ); in unlink_f()
2556 procid, opno, f.path, e ); in write_f()
2568 procid, opno, f.path, errno ); in write_f()
2589 procid, opno, f.path, ( long long ) off, ( long int ) len, e ); in write_f()