/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-tests/ |
H A D | test-binary-io.c | 53 struct stat statbuf; local 54 if (stat ("t-bin-out2.tmp", &statbuf) < 0) 56 ASSERT (statbuf.st_size == 6); 66 struct stat statbuf; local 67 if (stat ("t-bin-out1.tmp", &statbuf) < 0) 69 ASSERT (statbuf.st_size == 6);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/ |
H A D | readlink.c | 39 struct stat statbuf; local 44 if (stat (path, &statbuf) >= 0)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/ |
H A D | inode_hash.c | 27 * Return name if statbuf->st_ino && statbuf->st_dev are recorded in 30 char *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 add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) argument 55 i = hash_inode(statbuf [all...] |
H A D | recursive_action.c | 25 static int true_action(const char *fileName, struct stat *statbuf, argument 40 * 0: lstat(statbuf). Calls fileAction on link name even if points to dir. 41 * 1: stat(statbuf). Calls dirAction and optionally recurse on link to dir. 46 int (*fileAction)(const char *fileName, struct stat *statbuf, void* userData, int depth), 47 int (*dirAction)(const char *fileName, struct stat *statbuf, void* userData, int depth), 51 struct stat statbuf; local 61 status = ((flags & status) ? stat : lstat)(fileName, &statbuf); 72 if ( /* (!(flags & ACTION_FOLLOWLINKS) && S_ISLNK(statbuf.st_mode)) || */ 73 !S_ISDIR(statbuf.st_mode) 75 return fileAction(fileName, &statbuf, userDat 44 recursive_action(const char *fileName, unsigned flags, int (*fileAction)(const char *fileName, struct stat *statbuf, void* userData, int depth), int (*dirAction)(const char *fileName, struct stat *statbuf, void* userData, int depth), void* userData, unsigned depth) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/ |
H A D | readlink.c | 39 struct stat statbuf; local 44 if (stat (path, &statbuf) >= 0)
|
H A D | copy-file.c | 58 struct stat statbuf; local 65 if (src_fd < 0 || fstat (src_fd, &statbuf) < 0) 69 mode = statbuf.st_mode & 07777; 101 ut.actime = statbuf.st_atime; 102 ut.modtime = statbuf.st_mtime; 109 ut[0].tv_sec = statbuf.st_atime; ut[0].tv_usec = 0; 110 ut[1].tv_sec = statbuf.st_mtime; ut[1].tv_usec = 0; 117 chown (dest_filename, statbuf.st_uid, statbuf.st_gid);
|
H A D | javacomp.c | 735 struct stat statbuf; local 759 && stat (compiled_file_name, &statbuf) >= 0 774 && stat (compiled_file_name, &statbuf) >= 0 808 && stat (compiled_file_name, &statbuf) >= 0) 842 && stat (compiled_file_name, &statbuf) >= 0 884 struct stat statbuf; local 907 && stat (compiled_file_name, &statbuf) >= 0) 942 struct stat statbuf; local 969 && stat (compiled_file_name, &statbuf) >= 0) 983 && stat (compiled_file_name, &statbuf) > 1085 struct stat statbuf; local 1525 struct stat statbuf; local 1664 struct stat statbuf; local 1721 struct stat statbuf; local 1829 struct stat statbuf; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libiconv-1.11/srclib/ |
H A D | readlink.c | 39 struct stat statbuf; local 44 if (stat (path, &statbuf) >= 0)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/bftpd-1.6.6/ |
H A D | dirlist.c | 154 struct stat statbuf; local 161 if (lstat(name, (struct stat *) &statbuf) == -1) { // used for command_stat 169 if (S_ISDIR(statbuf.st_mode) || S_ISLNK(statbuf.st_mode)) 183 if (S_ISLNK(statbuf.st_mode)) { 205 if (S_ISDIR(statbuf.st_mode)) 207 if (statbuf.st_mode & S_IRUSR) 209 if (statbuf.st_mode & S_IWUSR) 211 if (statbuf.st_mode & S_IXUSR) 213 if (statbuf 270 struct stat statbuf; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/coreutils/ |
H A D | du.c | 69 struct stat statbuf; local 72 if (lstat(filename, &statbuf) != 0) { 80 dir_dev = statbuf.st_dev; 81 } else if (dir_dev != statbuf.st_dev) { 86 sum = statbuf.st_blocks; 88 if (S_ISLNK(statbuf.st_mode)) { 90 if (stat(filename, &statbuf) != 0) { 95 sum = statbuf.st_blocks; 102 if (statbuf.st_nlink > count_hardlinks) { 104 if (is_in_ino_dev_hashtable(&statbuf)) { [all...] |
H A D | stat.c | 175 struct stat *statbuf = (struct stat *) data; local 184 if (S_ISLNK(statbuf->st_mode)) { 199 printf(pformat, (uintmax_t) statbuf->st_dev); 202 printf(pformat, (uintmax_t) statbuf->st_dev); 205 printf(pformat, (uintmax_t) statbuf->st_ino); 208 printf(pformat, (unsigned long) (statbuf->st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO))); 211 printf(pformat, bb_mode_string(statbuf->st_mode)); 214 printf(pformat, (unsigned long) statbuf->st_mode); 217 printf(pformat, file_type(statbuf)); 220 printf(pformat, (unsigned long) statbuf 449 struct stat statbuf; local [all...] |
H A D | chmod.c | 37 static int 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)
|
H A D | ln.c | 34 struct stat statbuf; local 64 if (!(flag & LN_SYMLINK) && stat(*argv, &statbuf)) { 66 if (lstat(*argv, &statbuf) || !S_ISLNK(statbuf.st_mode)) {
|
H A D | chown.c | 44 static int fileAction(const char *fileName, struct stat *statbuf, argument 47 uid_t u = (ugid.uid == (uid_t)-1) ? statbuf->st_uid : ugid.uid; 48 gid_t g = (ugid.gid == (gid_t)-1) ? statbuf->st_gid : ugid.gid; 52 || (OPT_CHANGED && (statbuf->st_uid != u || statbuf->st_gid != g))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/hotplug2/ |
H A D | filemap_utils.c | 20 struct stat statbuf; local 27 if (fstat(filemap->fd, &statbuf)) { 32 filemap->size = statbuf.st_size;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/archival/ |
H A D | tar.c | 110 struct stat *statbuf, 119 hlInfo->dev = statbuf->st_dev; 120 hlInfo->ino = statbuf->st_ino; 121 hlInfo->linkCount = statbuf->st_nlink; 142 static HardLinkInfo *findHardLinkInfo(HardLinkInfo * hlInfo, struct stat *statbuf) argument 145 if ((statbuf->st_ino == hlInfo->ino) && (statbuf->st_dev == hlInfo->dev)) 246 const char *header_name, const char *fileName, struct stat *statbuf) 258 PUT_OCTAL(header.mode, statbuf->st_mode & 07777); 259 PUT_OCTAL(header.uid, statbuf 109 addHardLinkInfo(HardLinkInfo ** hlInfoHeadPtr, struct stat *statbuf, const char *fileName) argument 245 writeTarHeader(struct TarBallInfo *tbInfo, const char *header_name, const char *fileName, struct stat *statbuf) argument 382 writeFileToTarball(const char *fileName, struct stat *statbuf, void *userData, int depth ATTRIBUTE_UNUSED) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/parisc/kernel/ |
H A D | sys_parisc32.c | 241 int cp_compat_stat(struct kstat *stat, struct compat_stat __user *statbuf) argument 254 err = put_user(new_encode_dev(stat->dev), &statbuf->st_dev); 255 err |= put_user(ino, &statbuf->st_ino); 256 err |= put_user(stat->mode, &statbuf->st_mode); 257 err |= put_user(stat->nlink, &statbuf->st_nlink); 258 err |= put_user(0, &statbuf->st_reserved1); 259 err |= put_user(0, &statbuf->st_reserved2); 260 err |= put_user(new_encode_dev(stat->rdev), &statbuf->st_rdev); 261 err |= put_user(stat->size, &statbuf->st_size); 262 err |= put_user(stat->atime.tv_sec, &statbuf [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ |
H A D | stat.c | 118 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) argument 157 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; 160 asmlinkage long sys_stat(char __user * filename, struct __old_kernel_stat __user * statbuf) argument 166 error = cp_old_stat(&stat, statbuf); 170 asmlinkage long sys_lstat(char __user * filename, struct __old_kernel_stat __user * statbuf) argument 176 error = cp_old_stat(&stat, statbuf); 180 asmlinkage long sys_fstat(unsigned int fd, struct __old_kernel_stat __user * statbuf) argument 186 error = cp_old_stat(&stat, statbuf); 193 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) argument 245 return copy_to_user(statbuf, 248 sys_newstat(char __user *filename, struct stat __user *statbuf) argument 259 sys_newlstat(char __user *filename, struct stat __user *statbuf) argument 271 sys_newfstatat(int dfd, char __user *filename, struct stat __user *statbuf, int flag) argument 293 sys_newfstat(unsigned int fd, struct stat __user *statbuf) argument 340 cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) argument 377 sys_stat64(char __user * filename, struct stat64 __user * statbuf) argument 387 sys_lstat64(char __user * filename, struct stat64 __user * statbuf) argument 397 sys_fstat64(unsigned long fd, struct stat64 __user * statbuf) argument 408 sys_fstatat64(int dfd, char __user *filename, struct stat64 __user *statbuf, int flag) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/ |
H A D | sys_sparc32.c | 339 int cp_compat_stat(struct kstat *stat, struct compat_stat __user *statbuf) argument 352 err = put_user(old_encode_dev(stat->dev), &statbuf->st_dev); 353 err |= put_user(stat->ino, &statbuf->st_ino); 354 err |= put_user(stat->mode, &statbuf->st_mode); 355 err |= put_user(stat->nlink, &statbuf->st_nlink); 356 err |= put_user(high2lowuid(stat->uid), &statbuf->st_uid); 357 err |= put_user(high2lowgid(stat->gid), &statbuf->st_gid); 358 err |= put_user(old_encode_dev(stat->rdev), &statbuf->st_rdev); 359 err |= put_user(stat->size, &statbuf->st_size); 360 err |= put_user(stat->atime.tv_sec, &statbuf 374 cp_compat_stat64(struct kstat *stat, struct compat_stat64 __user *statbuf) argument 403 compat_sys_stat64(char __user * filename, struct compat_stat64 __user *statbuf) argument 414 compat_sys_lstat64(char __user * filename, struct compat_stat64 __user *statbuf) argument 425 compat_sys_fstat64(unsigned int fd, struct compat_stat64 __user * statbuf) argument 436 compat_sys_fstatat64(unsigned int dfd, char __user *filename, struct compat_stat64 __user * statbuf, int flag) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/ |
H A D | unixdir.c | 34 struct MT_STAT statbuf; member in struct:Dir_t 50 *date = This->statbuf.st_mtime; 52 *size = (mt_size_t) This->statbuf.st_size; 147 if(MT_STAT(filename, &This->statbuf) < 0) {
|
H A D | devices.h | 166 struct MT_STAT statbuf; local 168 if (MT_FSTAT(fd, &statbuf) < 0 ){ 173 if (!S_ISBLK(statbuf.st_mode) || 174 MAJOR(statbuf.st_rdev) != FLOPPY_MAJOR) 177 return MINOR( statbuf.st_rdev );
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/findutils/ |
H A D | find.c | 68 typedef int (*action_fp)(const char *fileName, struct stat *statbuf, void *); 77 #define ACTF(name) static int func_##name(const char *fileName, struct stat *statbuf, action_##name* ap) 137 static int exec_actions(action ***appp, const char *fileName, struct stat *statbuf) argument 169 rc |= TRUE ^ ap->f(fileName, statbuf, ap); 215 return ((statbuf->st_mode & S_IFMT) == ap->type_mask); 223 return (statbuf->st_mode & ap->perm_mask) != 0; 226 return (statbuf->st_mode & ap->perm_mask) == ap->perm_mask; 228 return (statbuf->st_mode & 07777) == ap->perm_mask; 234 time_t file_age = time(NULL) - statbuf->st_mtime; 247 time_t file_age = time(NULL) - statbuf 374 fileAction(const char *fileName, struct stat *statbuf, void *userData, int depth) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/parisc/hpux/ |
H A D | fs.c | 144 static int cp_hpux_stat(struct kstat *stat, struct hpux_stat64 __user *statbuf) argument 167 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; 170 long hpux_stat64(char __user *filename, struct hpux_stat64 __user *statbuf) argument 176 error = cp_hpux_stat(&stat, statbuf); 181 long hpux_fstat64(unsigned int fd, struct hpux_stat64 __user *statbuf) argument 187 error = cp_hpux_stat(&stat, statbuf); 192 long hpux_lstat64(char __user *filename, struct hpux_stat64 __user *statbuf) argument 198 error = cp_hpux_stat(&stat, statbuf);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/ |
H A D | udev_sysfs.c | 152 struct stat statbuf; local 185 if (lstat(path, &statbuf) != 0) { 189 if (S_ISLNK(statbuf.st_mode)) { 351 struct stat statbuf; local 381 if (lstat(path_full, &statbuf) != 0) { 386 if (S_ISLNK(statbuf.st_mode)) { 406 if (S_ISDIR(statbuf.st_mode)) 410 if ((statbuf.st_mode & S_IRUSR) == 0) 442 struct stat statbuf; local 450 if (stat(path_full, &statbuf) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/tools/ |
H A D | cws2fws.c | 27 struct stat statbuf; local 64 fstat(fd_in, &statbuf); 65 comp_len = statbuf.st_size;
|