Lines Matching refs:st

551    they are in order the 1st, 2nd & 3rd index to be used
766 readsize = readlink(path, buf, bufsize); /* 1st try */
1456 get_mode(struct stat *st)
1460 if(st->st_mode & S_IRUSR)
1462 if(st->st_mode & S_IWUSR)
1464 if(st->st_mode & S_IXUSR)
1466 if(st->st_mode & S_IRGRP)
1468 if(st->st_mode & S_IWGRP)
1470 if(st->st_mode & S_IXGRP)
1472 if(st->st_mode & S_IROTH)
1474 if(st->st_mode & S_IWOTH)
1476 if(st->st_mode & S_IXOTH)
1478 if(st->st_mode & S_ISUID)
1480 if(st->st_mode & S_ISGID)
1482 if(st->st_mode & S_ISVTX)
1514 struct stat st;
1517 fstat(fileno(fh), &st);
1519 mtime = st.st_mtime;
1663 struct stat st;
1675 lstat(dent->d_name, &st);
1682 fix_stat(full_name, &st);
1685 uid = st.st_uid;
1686 gid = st.st_gid;
1688 mtime = st.st_mtime;
1690 mode = get_mode(&st);
1696 switch(st.st_mode & S_IFMT)
1700 if((st.st_mode & S_IFMT) == S_IFREG || st.st_size > 4 * (EXT2_TIND_BLOCK+1))
1701 stats->nblocks += (st.st_size + BLOCKSIZE - 1) / BLOCKSIZE;
1723 if(S_ISDIR(st.st_mode)) {
1733 if (!S_ISDIR(st.st_mode) && !S_ISLNK(st.st_mode) && st.st_nlink > 1) {
1734 int32 hdlink = is_hardlink(st.st_ino);
1742 switch(st.st_mode & S_IFMT)
1746 nod = mknod_fs(fs, this_nod, name, mode|FM_IFCHR, uid, gid, major(st.st_rdev), minor(st.st_rdev), ctime, mtime);
1749 nod = mknod_fs(fs, this_nod, name, mode|FM_IFBLK, uid, gid, major(st.st_rdev), minor(st.st_rdev), ctime, mtime);
1760 mklink_fs(fs, this_nod, name, st.st_size, (uint8*)lnk, uid, gid, ctime, mtime);
1765 nod = mkfile_fs(fs, this_nod, name, mode, st.st_size, fh, uid, gid, ctime, mtime);
1787 hdlinks.hdl[hdlinks.count].src_inode = st.st_ino;
1817 "Understanding the Linux Kernel" (Table 17-3 p502 1st Ed)
2435 struct stat st;
2447 stat(dopt[i], &st);
2448 switch(st.st_mode & S_IFMT)