Searched refs:statBuf (Results 1 - 9 of 9) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/
H A Disdirectory.c37 int is_directory(const char *fileName, const int followLinks, struct stat *statBuf) argument
42 if (statBuf == NULL) {
43 statBuf = (struct stat *)xmalloc(sizeof(struct stat));
48 status = stat(fileName, statBuf);
50 status = lstat(fileName, statBuf);
52 if (status < 0 || !(S_ISDIR(statBuf->st_mode))) {
58 free(statBuf);
59 statBuf = NULL;
H A Dfind_root_device.c36 struct stat statBuf, rootStat; local
61 if (stat(fileName, &statBuf) == 0 &&
62 S_ISBLK(statBuf.st_mode)!=0 &&
63 statBuf.st_rdev == dev)
H A Dprint_file.c36 struct stat statBuf; local
39 if(is_directory(filename, TRUE, &statBuf)==TRUE) {
H A Dlibbb.h94 int is_directory(const char *name, int followLinks, struct stat *statBuf);
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dswaponoff.c99 struct stat statBuf; local
101 if (stat("/etc/fstab", &statBuf) < 0)
H A Dutility.c306 int is_directory(const char *fileName, const int followLinks, struct stat *statBuf) argument
311 if (statBuf == NULL) {
312 statBuf = (struct stat *)xmalloc(sizeof(struct stat));
317 status = stat(fileName, statBuf);
319 status = lstat(fileName, statBuf);
321 if (status < 0 || !(S_ISDIR(statBuf->st_mode))) {
327 free(statBuf);
328 statBuf = NULL;
1531 struct stat statBuf, rootStat; local
1554 if (stat(fileName, &statBuf) !
[all...]
H A Dtar.c790 struct stat statBuf; /* Stat info for the tarball, letting member in struct:TarBallInfo
1010 if (tbInfo->statBuf.st_dev == statbuf->st_dev &&
1011 tbInfo->statBuf.st_ino == statbuf->st_ino) {
1107 if (fstat(tbInfo.tarFd, &tbInfo.statBuf) < 0)
H A Dgzip.c1219 struct stat statBuf; local
1297 if (stat(ifname, &statBuf) < 0)
1299 time_stamp = statBuf.st_ctime;
1300 ifile_size = statBuf.st_size;
1331 fchmod(outFileNum, statBuf.st_mode);
H A Dinit.c592 struct stat statBuf; local
597 if (stat("/etc/fstab", &statBuf) == 0) {

Completed in 73 milliseconds