Searched refs:statbuf (Results 1 - 25 of 392) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/examples/libsmbclient/smbwrapper/
H A Dsmbw_stat.c49 struct stat statbuf; local
51 if (smbc_fstat(fd_client, &statbuf) < 0) {
55 copy_stat(st, &statbuf);
69 struct stat statbuf; local
80 statbuf.st_dev = 0;
81 statbuf.st_ino = 0;
82 statbuf.st_mode = 0040777;
83 statbuf.st_nlink = 1;
84 statbuf.st_uid = 0;
85 statbuf
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/examples/libsmbclient/smbwrapper/
H A Dsmbw_stat.c48 struct stat statbuf; local
50 if (smbc_fstat(fd_client, &statbuf) < 0) {
54 copy_stat(st, &statbuf);
68 struct stat statbuf; local
79 statbuf.st_dev = 0;
80 statbuf.st_ino = 0;
81 statbuf.st_mode = 0040777;
82 statbuf.st_nlink = 1;
83 statbuf.st_uid = 0;
84 statbuf
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/examples/libsmbclient/smbwrapper/
H A Dsmbw_stat.c49 struct stat statbuf; local
51 if (smbc_fstat(fd_client, &statbuf) < 0) {
55 copy_stat(st, &statbuf);
69 struct stat statbuf; local
80 statbuf.st_dev = 0;
81 statbuf.st_ino = 0;
82 statbuf.st_mode = 0040777;
83 statbuf.st_nlink = 1;
84 statbuf.st_uid = 0;
85 statbuf
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/examples/libsmbclient/smbwrapper/
H A Dsmbw_stat.c48 struct stat statbuf; local
50 if (smbc_fstat(fd_client, &statbuf) < 0) {
54 copy_stat(st, &statbuf);
68 struct stat statbuf; local
79 statbuf.st_dev = 0;
80 statbuf.st_ino = 0;
81 statbuf.st_mode = 0040777;
82 statbuf.st_nlink = 1;
83 statbuf.st_uid = 0;
84 statbuf
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/examples/libsmbclient/smbwrapper/
H A Dsmbw_stat.c49 struct stat statbuf; local
51 if (smbc_fstat(fd_client, &statbuf) < 0) {
55 copy_stat(st, &statbuf);
69 struct stat statbuf; local
80 statbuf.st_dev = 0;
81 statbuf.st_ino = 0;
82 statbuf.st_mode = 0040777;
83 statbuf.st_nlink = 1;
84 statbuf.st_uid = 0;
85 statbuf
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/examples/libsmbclient/smbwrapper/
H A Dsmbw_stat.c48 struct stat statbuf; local
50 if (smbc_fstat(fd_client, &statbuf) < 0) {
54 copy_stat(st, &statbuf);
68 struct stat statbuf; local
79 statbuf.st_dev = 0;
80 statbuf.st_ino = 0;
81 statbuf.st_mode = 0040777;
82 statbuf.st_nlink = 1;
83 statbuf.st_uid = 0;
84 statbuf
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/smbd/
H A Dstatvfs.c25 static int linux_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
33 statbuf->OptimalTransferSize = statvfs_buf.f_frsize;
34 statbuf->BlockSize = statvfs_buf.f_bsize;
35 statbuf->TotalBlocks = statvfs_buf.f_blocks;
36 statbuf->BlocksAvail = statvfs_buf.f_bfree;
37 statbuf->UserBlocksAvail = statvfs_buf.f_bavail;
38 statbuf->TotalFileNodes = statvfs_buf.f_files;
39 statbuf->FreeFileNodes = statvfs_buf.f_ffree;
40 statbuf->FsIdentifier = statvfs_buf.f_fsid;
52 int sys_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/smbd/
H A Dstatvfs.c25 static int linux_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
33 statbuf->OptimalTransferSize = statvfs_buf.f_frsize;
34 statbuf->BlockSize = statvfs_buf.f_bsize;
35 statbuf->TotalBlocks = statvfs_buf.f_blocks;
36 statbuf->BlocksAvail = statvfs_buf.f_bfree;
37 statbuf->UserBlocksAvail = statvfs_buf.f_bavail;
38 statbuf->TotalFileNodes = statvfs_buf.f_files;
39 statbuf->FreeFileNodes = statvfs_buf.f_ffree;
40 statbuf->FsIdentifier = statvfs_buf.f_fsid;
52 int sys_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/smbd/
H A Dstatvfs.c25 static int linux_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
33 statbuf->OptimalTransferSize = statvfs_buf.f_frsize;
34 statbuf->BlockSize = statvfs_buf.f_bsize;
35 statbuf->TotalBlocks = statvfs_buf.f_blocks;
36 statbuf->BlocksAvail = statvfs_buf.f_bfree;
37 statbuf->UserBlocksAvail = statvfs_buf.f_bavail;
38 statbuf->TotalFileNodes = statvfs_buf.f_files;
39 statbuf->FreeFileNodes = statvfs_buf.f_ffree;
40 statbuf->FsIdentifier = statvfs_buf.f_fsid;
52 int sys_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/smbd/
H A Dstatvfs.c25 static int linux_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
33 statbuf->OptimalTransferSize = statvfs_buf.f_frsize;
34 statbuf->BlockSize = statvfs_buf.f_bsize;
35 statbuf->TotalBlocks = statvfs_buf.f_blocks;
36 statbuf->BlocksAvail = statvfs_buf.f_bfree;
37 statbuf->UserBlocksAvail = statvfs_buf.f_bavail;
38 statbuf->TotalFileNodes = statvfs_buf.f_files;
39 statbuf->FreeFileNodes = statvfs_buf.f_ffree;
40 statbuf->FsIdentifier = statvfs_buf.f_fsid;
45 statbuf
104 darwin_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
134 sys_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/smbd/
H A Dstatvfs.c25 static int linux_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
33 statbuf->OptimalTransferSize = statvfs_buf.f_frsize;
34 statbuf->BlockSize = statvfs_buf.f_bsize;
35 statbuf->TotalBlocks = statvfs_buf.f_blocks;
36 statbuf->BlocksAvail = statvfs_buf.f_bfree;
37 statbuf->UserBlocksAvail = statvfs_buf.f_bavail;
38 statbuf->TotalFileNodes = statvfs_buf.f_files;
39 statbuf->FreeFileNodes = statvfs_buf.f_ffree;
40 statbuf->FsIdentifier = statvfs_buf.f_fsid;
45 statbuf
104 darwin_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
134 sys_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/smbd/
H A Dstatvfs.c25 static int linux_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
33 statbuf->OptimalTransferSize = statvfs_buf.f_frsize;
34 statbuf->BlockSize = statvfs_buf.f_bsize;
35 statbuf->TotalBlocks = statvfs_buf.f_blocks;
36 statbuf->BlocksAvail = statvfs_buf.f_bfree;
37 statbuf->UserBlocksAvail = statvfs_buf.f_bavail;
38 statbuf->TotalFileNodes = statvfs_buf.f_files;
39 statbuf->FreeFileNodes = statvfs_buf.f_ffree;
40 statbuf->FsIdentifier = statvfs_buf.f_fsid;
45 statbuf
104 darwin_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
134 sys_statvfs(const char *path, vfs_statvfs_struct *statbuf) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/libbb/
H A Drecursive_action.c26 struct stat *statbuf UNUSED_PARAM,
52 * 0: lstat(statbuf). Calls fileAction on link name even if points to dir.
53 * 1: stat(statbuf). Calls dirAction and optionally recurse on link to dir.
58 int FAST_FUNC (*fileAction)(const char *fileName, struct stat *statbuf, void* userData, int depth),
59 int FAST_FUNC (*dirAction)(const char *fileName, struct stat *statbuf, void* userData, int depth),
63 struct stat statbuf; local
76 status = (follow ? stat : lstat)(fileName, &statbuf);
83 && lstat(fileName, &statbuf) == 0
86 return fileAction(fileName, &statbuf, userData, depth);
94 if ( /* (!(flags & ACTION_FOLLOWLINKS) && S_ISLNK(statbuf
56 recursive_action(const char *fileName, unsigned flags, int FAST_FUNC (*fileAction)(const char *fileName, struct stat *statbuf, void* userData, int depth), int FAST_FUNC (*dirAction)(const char *fileName, struct stat *statbuf, void* userData, int depth), void* userData, unsigned depth) argument
[all...]
H A Dinode_hash.c27 * Return name if statbuf->st_ino && statbuf->st_dev are recorded in
30 char* FAST_FUNC is_in_ino_dev_hashtable(const struct stat *statbuf) argument
37 bucket = ino_dev_hashtable[hash_inode(statbuf->st_ino)];
39 if ((bucket->ino == statbuf->st_ino)
40 && (bucket->dev == statbuf->st_dev)
49 /* Add statbuf to statbuf hash table */
50 void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) argument
55 i = hash_inode(statbuf
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/libbb/
H A Drecursive_action.c26 struct stat *statbuf UNUSED_PARAM,
52 * 0: lstat(statbuf). Calls fileAction on link name even if points to dir.
53 * 1: stat(statbuf). Calls dirAction and optionally recurse on link to dir.
58 int FAST_FUNC (*fileAction)(const char *fileName, struct stat *statbuf, void* userData, int depth),
59 int FAST_FUNC (*dirAction)(const char *fileName, struct stat *statbuf, void* userData, int depth),
63 struct stat statbuf; local
76 status = (follow ? stat : lstat)(fileName, &statbuf);
83 && lstat(fileName, &statbuf) == 0
86 return fileAction(fileName, &statbuf, userData, depth);
94 if ( /* (!(flags & ACTION_FOLLOWLINKS) && S_ISLNK(statbuf
56 recursive_action(const char *fileName, unsigned flags, int FAST_FUNC (*fileAction)(const char *fileName, struct stat *statbuf, void* userData, int depth), int FAST_FUNC (*dirAction)(const char *fileName, struct stat *statbuf, void* userData, int depth), void* userData, unsigned depth) argument
[all...]
H A Dinode_hash.c27 * Return name if statbuf->st_ino && statbuf->st_dev are recorded in
30 char* FAST_FUNC is_in_ino_dev_hashtable(const struct stat *statbuf) argument
37 bucket = ino_dev_hashtable[hash_inode(statbuf->st_ino)];
39 if ((bucket->ino == statbuf->st_ino)
40 && (bucket->dev == statbuf->st_dev)
49 /* Add statbuf to statbuf hash table */
50 void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) argument
55 i = hash_inode(statbuf
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/libbb/
H A Drecursive_action.c26 struct stat *statbuf UNUSED_PARAM,
52 * 0: lstat(statbuf). Calls fileAction on link name even if points to dir.
53 * 1: stat(statbuf). Calls dirAction and optionally recurse on link to dir.
58 int FAST_FUNC (*fileAction)(const char *fileName, struct stat *statbuf, void* userData, int depth),
59 int FAST_FUNC (*dirAction)(const char *fileName, struct stat *statbuf, void* userData, int depth),
63 struct stat statbuf; local
76 status = (follow ? stat : lstat)(fileName, &statbuf);
83 && lstat(fileName, &statbuf) == 0
86 return fileAction(fileName, &statbuf, userData, depth);
94 if ( /* (!(flags & ACTION_FOLLOWLINKS) && S_ISLNK(statbuf
56 recursive_action(const char *fileName, unsigned flags, int FAST_FUNC (*fileAction)(const char *fileName, struct stat *statbuf, void* userData, int depth), int FAST_FUNC (*dirAction)(const char *fileName, struct stat *statbuf, void* userData, int depth), void* userData, unsigned depth) argument
[all...]
H A Dinode_hash.c27 * Return name if statbuf->st_ino && statbuf->st_dev are recorded in
30 char* FAST_FUNC is_in_ino_dev_hashtable(const struct stat *statbuf) argument
37 bucket = ino_dev_hashtable[hash_inode(statbuf->st_ino)];
39 if ((bucket->ino == statbuf->st_ino)
40 && (bucket->dev == statbuf->st_dev)
49 /* Add statbuf to statbuf hash table */
50 void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) argument
55 i = hash_inode(statbuf
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/coreutils/
H A Dstat.c207 struct stat *statbuf = (struct stat *) data; local
215 if (S_ISLNK(statbuf->st_mode)) {
226 printf(pformat, (unsigned long long) statbuf->st_dev);
229 printf(pformat, (unsigned long long) statbuf->st_dev);
232 printf(pformat, (unsigned long long) statbuf->st_ino);
235 printf(pformat, (unsigned long) (statbuf->st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)));
237 printfs(pformat, bb_mode_string(statbuf->st_mode));
240 printf(pformat, (unsigned long) statbuf->st_mode);
242 printfs(pformat, file_type(statbuf));
245 printf(pformat, (unsigned long) statbuf
482 struct stat statbuf; local
[all...]
H A Dchmod.c37 static int FAST_FUNC fileAction(const char *fileName, struct stat *statbuf, void* param, int depth) argument
43 /* statbuf holds lstat result, but we need stat (follow link) */
44 if (stat(fileName, statbuf))
47 if (S_ISLNK(statbuf->st_mode))
50 newmode = statbuf->st_mode;
57 || (OPT_CHANGED && statbuf->st_mode != newmode)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/coreutils/
H A Dstat.c207 struct stat *statbuf = (struct stat *) data; local
215 if (S_ISLNK(statbuf->st_mode)) {
226 printf(pformat, (unsigned long long) statbuf->st_dev);
229 printf(pformat, (unsigned long long) statbuf->st_dev);
232 printf(pformat, (unsigned long long) statbuf->st_ino);
235 printf(pformat, (unsigned long) (statbuf->st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)));
237 printfs(pformat, bb_mode_string(statbuf->st_mode));
240 printf(pformat, (unsigned long) statbuf->st_mode);
242 printfs(pformat, file_type(statbuf));
245 printf(pformat, (unsigned long) statbuf
482 struct stat statbuf; local
[all...]
H A Dchmod.c37 static int FAST_FUNC fileAction(const char *fileName, struct stat *statbuf, void* param, int depth) argument
43 /* statbuf holds lstat result, but we need stat (follow link) */
44 if (stat(fileName, statbuf))
47 if (S_ISLNK(statbuf->st_mode))
50 newmode = statbuf->st_mode;
57 || (OPT_CHANGED && statbuf->st_mode != newmode)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/coreutils/
H A Dstat.c207 struct stat *statbuf = (struct stat *) data; local
215 if (S_ISLNK(statbuf->st_mode)) {
226 printf(pformat, (unsigned long long) statbuf->st_dev);
229 printf(pformat, (unsigned long long) statbuf->st_dev);
232 printf(pformat, (unsigned long long) statbuf->st_ino);
235 printf(pformat, (unsigned long) (statbuf->st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)));
237 printfs(pformat, bb_mode_string(statbuf->st_mode));
240 printf(pformat, (unsigned long) statbuf->st_mode);
242 printfs(pformat, file_type(statbuf));
245 printf(pformat, (unsigned long) statbuf
482 struct stat statbuf; local
[all...]
H A Dchmod.c37 static int FAST_FUNC fileAction(const char *fileName, struct stat *statbuf, void* param, int depth) argument
43 /* statbuf holds lstat result, but we need stat (follow link) */
44 if (stat(fileName, statbuf))
47 if (S_ISLNK(statbuf->st_mode))
50 newmode = statbuf->st_mode;
57 || (OPT_CHANGED && statbuf->st_mode != newmode)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/hotplug2/
H A Dfilemap_utils.c28 struct stat statbuf; local
35 if (fstat(filemap->fd, &statbuf)) {
40 filemap->size = statbuf.st_size;

Completed in 162 milliseconds

1234567891011>>