Searched refs:stbuf (Results 1 - 21 of 21) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libfuse-lite/
H A Dfuse_misc.h27 #define ST_ATIM_NSEC(stbuf) ((stbuf)->st_atim.tv_nsec)
28 #define ST_CTIM_NSEC(stbuf) ((stbuf)->st_ctim.tv_nsec)
29 #define ST_MTIM_NSEC(stbuf) ((stbuf)->st_mtim.tv_nsec)
30 #define ST_ATIM_NSEC_SET(stbuf, val) (stbuf)->st_atim.tv_nsec = (val)
31 #define ST_MTIM_NSEC_SET(stbuf, val) (stbuf)
[all...]
H A Dfusermount.c435 static int check_perm(const char **mntp, struct stat *stbuf, int *currdir_fd, argument
442 res = stat(mnt, stbuf);
453 if (S_ISDIR(stbuf->st_mode)) {
467 res = lstat(mnt, stbuf);
474 if ((stbuf->st_mode & S_ISVTX) && stbuf->st_uid != getuid()) {
486 } else if (S_ISREG(stbuf->st_mode)) {
494 res = fstat(*mountpoint_fd, stbuf);
500 if (!S_ISREG(stbuf->st_mode)) {
565 struct stat stbuf; local
[all...]
H A Dfuse_lowlevel.c65 static void convert_stat(const struct stat *stbuf, struct fuse_attr *attr) argument
67 attr->ino = stbuf->st_ino;
68 attr->mode = stbuf->st_mode;
69 attr->nlink = stbuf->st_nlink;
70 attr->uid = stbuf->st_uid;
71 attr->gid = stbuf->st_gid;
72 attr->rdev = stbuf->st_rdev;
73 attr->size = stbuf->st_size;
74 attr->blocks = stbuf->st_blocks;
75 attr->atime = stbuf
83 convert_attr(const struct fuse_setattr_in *attr, struct stat *stbuf) argument
202 fuse_add_dirent(char *buf, const char *name, const struct stat *stbuf, off_t off) argument
222 fuse_add_direntry(fuse_req_t req, char *buf, size_t bufsize, const char *name, const struct stat *stbuf, off_t off) argument
234 convert_statfs(const struct statvfs *stbuf, struct fuse_kstatfs *kstatfs) argument
376 fuse_reply_statfs(fuse_req_t req, const struct statvfs *stbuf) argument
461 struct stat stbuf; local
[all...]
H A Dmount_util.c27 struct stat stbuf; local
41 res = lstat(_PATH_MOUNTED, &stbuf);
46 if (S_ISLNK(stbuf.st_mode))
H A Dfuse.c448 static void set_stat(struct fuse *f, fuse_ino_t nodeid, struct stat *stbuf) argument
451 stbuf->st_ino = nodeid;
453 stbuf->st_mode = (stbuf->st_mode & S_IFMT) | (0777 & ~f->conf.umask);
455 stbuf->st_uid = f->conf.uid;
457 stbuf->st_gid = f->conf.gid;
1804 struct stat stbuf; local
1808 stbuf = *statp;
1810 memset(&stbuf, 0, sizeof(stbuf));
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/include/fuse-lite/
H A Dfuse_lowlevel_compat.h14 char *fuse_add_dirent(char *buf, const char *name, const struct stat *stbuf,
H A Dfuse_lowlevel.h930 * @param stbuf filesystem statistics
933 int fuse_reply_statfs(fuse_req_t req, const struct statvfs *stbuf);
984 * From the 'stbuf' argument the st_ino field and bits 12-15 of the
995 * @param stbuf the file attributes
1000 const char *name, const struct stat *stbuf,
H A Dfuse.h49 const struct stat *stbuf, off_t off);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/src/
H A Dntfs-3g.c427 static int ntfs_fuse_getattr(const char *org_path, struct stat *stbuf) argument
439 memset(stbuf, 0, sizeof(struct stat));
447 stbuf->st_mode = S_IFDIR | (0777 & ~ctx->dmask);
450 stbuf->st_size = na->data_size;
451 stbuf->st_blocks = na->allocated_size >> 9;
454 stbuf->st_nlink = 1; /* Make find(1) work */
457 stbuf->st_mode = S_IFREG;
458 stbuf->st_size = ni->data_size;
463 stbuf->st_blocks = (ni->allocated_size + 511) >> 9;
464 stbuf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/fuse/
H A Dinode.c242 static void convert_fuse_statfs(struct kstatfs *stbuf, struct fuse_kstatfs *attr) argument
244 stbuf->f_type = FUSE_SUPER_MAGIC;
245 stbuf->f_bsize = attr->bsize;
246 stbuf->f_frsize = attr->frsize;
247 stbuf->f_blocks = attr->blocks;
248 stbuf->f_bfree = attr->bfree;
249 stbuf->f_bavail = attr->bavail;
250 stbuf->f_files = attr->files;
251 stbuf->f_ffree = attr->ffree;
252 stbuf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/adouble/
H A Dad_open.c1008 int ad_stat(const char *path, struct stat *stbuf) argument
1017 return lstat( p, stbuf );
1024 stbuf: parent directory inode
1030 static int ad_chown(const char *path, struct stat *stbuf) argument
1038 id = (default_uid)?default_uid:stbuf->st_uid;
1039 ret = lchown( path, id, stbuf->st_gid );
1048 static int ad_mode_st(const char *path, int *mode, struct stat *stbuf) argument
1053 if (ad_stat(path, stbuf) != 0) {
1057 *mode &= stbuf->st_mode;
1067 struct stat stbuf; local
1080 struct stat stbuf; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/adouble/
H A Dad_open.c1008 int ad_stat(const char *path, struct stat *stbuf) argument
1017 return stat(p, stbuf);
1024 stbuf: parent directory inode
1030 static int ad_chown(const char *path, struct stat *stbuf) argument
1038 id = (default_uid)?default_uid:stbuf->st_uid;
1039 ret = chown(path, id, stbuf->st_gid);
1048 static int ad_mode_st(const char *path, int *mode, struct stat *stbuf) argument
1053 if (ad_stat(path, stbuf) != 0) {
1057 *mode &= stbuf->st_mode;
1067 struct stat stbuf; local
1080 struct stat stbuf; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/selinux/
H A Dchcon.c31 static int change_filedir_context(const char *fname, struct stat *stbuf, void *userData, int depth) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dmcopy.c113 struct MT_STAT stbuf; local
131 if (!MT_STAT(unixFile, &stbuf)) {
134 if(!S_ISREG(stbuf.st_mode)) {
145 stbuf.st_dev == srcStbuf.st_dev &&
146 stbuf.st_ino == srcStbuf.st_ino) {
H A Dmformat.c1064 struct MT_STAT stbuf; local
1066 if (MT_FSTAT(fd, &stbuf) < 0) {
1071 if (S_ISBLK(stbuf.st_mode) &&
1072 get_block_geom(fd, &stbuf, &used_dev, errmsg) < 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/findutils/
H A Dfind.c849 struct stat stbuf; local
856 if (stat(argv[i], &stbuf))
857 stbuf.st_dev = -1L;
858 xdev_dev[i-1] = stbuf.st_dev;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/client/
H A Dclitar.c397 SMB_STRUCT_STAT stbuf; local
406 if (sys_fstat(f, &stbuf) == -1) {
414 write(f, tarbuf, S_ISREG(stbuf.st_mode) ? tp : tbufsiz);
1623 SMB_STRUCT_STAT stbuf; local
1626 if (sys_stat(argv[Optind], &stbuf) == 0) {
1627 newer_than = stbuf.st_mtime;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/sam/
H A Didmap_tdb.c484 SMB_STRUCT_STAT stbuf; local
496 if (!file_exist(tdbfile, &stbuf)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/nsswitch/
H A Dwinbindd_util.c952 SMB_STRUCT_STAT stbuf; local
957 if (!file_exist(idmap_name, &stbuf)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/apps/
H A Dapps.c161 struct stat stbuf; local
163 if (stat(file,&stbuf) < 0) return(0);
172 len=(unsigned int)stbuf.st_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/apps/
H A Dapps.c165 struct stat stbuf; local
167 if (stat(file,&stbuf) < 0) return(0);
176 len=(unsigned int)stbuf.st_size;

Completed in 196 milliseconds