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

/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_misc.h35 #define ST_ATIM_NSEC(stbuf) ((stbuf)->st_atim.tv_nsec)
36 #define ST_CTIM_NSEC(stbuf) ((stbuf)->st_ctim.tv_nsec)
37 #define ST_MTIM_NSEC(stbuf) ((stbuf)->st_mtim.tv_nsec)
38 #define ST_ATIM_NSEC_SET(stbuf, val) (stbuf)->st_atim.tv_nsec = (val)
39 #define ST_MTIM_NSEC_SET(stbuf, val) (stbuf)
[all...]
/haiku-fatelf/src/bin/network/ftpd/
H A Dmd5hl.c54 struct stat stbuf; local
62 if (fstat(f, &stbuf) < 0)
64 if (ofs > stbuf.st_size)
65 ofs = stbuf.st_size;
66 if ((len == 0) || (len > stbuf.st_size - ofs))
67 len = stbuf.st_size - ofs;
H A Dftpcmd.y861 struct stat stbuf;
862 if (stat($4, &stbuf) < 0)
864 else if (!S_ISREG(stbuf.st_mode)) {
868 t = gmtime(&stbuf.st_mtime);
1605 struct stat stbuf;
1606 if (stat(filename, &stbuf) < 0)
1608 else if (!S_ISREG(stbuf.st_mode))
1611 reply(213, "%lld", (intmax_t)stbuf.st_size);
1617 struct stat stbuf;
1623 if (fstat(fileno(fin), &stbuf) <
[all...]
/haiku-fatelf/src/tools/fs_shell/
H A Dfuse.cpp113 fromFsshStatToStat(struct fssh_stat* f_stbuf, struct stat* stbuf) argument
115 stbuf->st_dev = f_stbuf->fssh_st_dev;
116 stbuf->st_ino = f_stbuf->fssh_st_ino;
117 stbuf->st_mode = f_stbuf->fssh_st_mode;
118 stbuf->st_nlink = f_stbuf->fssh_st_nlink;
119 stbuf->st_uid = f_stbuf->fssh_st_uid;
120 stbuf->st_gid = f_stbuf->fssh_st_gid;
121 stbuf->st_rdev = f_stbuf->fssh_st_rdev;
122 stbuf->st_size = f_stbuf->fssh_st_size;
123 stbuf
137 fuse_getattr(const char* path, struct stat* stbuf) argument
[all...]
/haiku-fatelf/src/bin/findutils/find/
H A Dfstype.c177 struct stat stbuf; local
181 if (0 == (options.xstat)(p->me_mountdir, &stbuf))
183 p->me_dev = stbuf.st_dev;
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/
H A Dfs_func.c769 fs_rstat(fs_volume *_vol, fs_vnode *_node, struct stat *stbuf) argument
781 if (ns == NULL || node == NULL || stbuf == NULL) {
793 stbuf->st_mode = FS_DIR_MODE;
804 stbuf->st_size = ni->data_size;
805 stbuf->st_blocks = ni->allocated_size >> 9;
806 stbuf->st_nlink = 1; /* Make find(1) work */
809 stbuf->st_mode = FS_FILE_MODE;
810 stbuf->st_size = ni->data_size;
811 stbuf->st_blocks = (ni->allocated_size + 511) >> 9;
812 stbuf
[all...]
/haiku-fatelf/headers/private/userlandfs/fuse/
H A Dfuse_lowlevel.h952 * @param stbuf filesystem statistics
955 int fuse_reply_statfs(fuse_req_t req, const struct statvfs *stbuf);
1006 * From the 'stbuf' argument the st_ino field and bits 12-15 of the
1017 * @param stbuf the file attributes
1022 const char *name, const struct stat *stbuf,
H A Dfuse_lowlevel_compat.h72 char *fuse_add_dirent(char *buf, const char *name, const struct stat *stbuf,
133 int fuse_reply_statfs_compat(fuse_req_t req, const struct statfs *stbuf);
H A Dfuse.h58 const struct stat *stbuf, off_t off);
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dsecurity.c2286 ntfs_inode * ni, struct stat *stbuf)
2306 stbuf->st_uid = cached->uid;
2307 stbuf->st_gid = cached->gid;
2308 stbuf->st_mode = (stbuf->st_mode & ~07777) + perm;
2352 stbuf->st_uid = ntfs_find_user(scx->mapping[MAPUSERS],usid);
2355 stbuf->st_uid =
2358 if (stbuf->st_uid)
2361 stbuf->st_uid = ntfs_find_user(scx->mapping[MAPUSERS],usid);
2363 stbuf
2285 ntfs_get_owner_mode(struct SECURITY_CONTEXT *scx, ntfs_inode * ni, struct stat *stbuf) argument
3264 struct stat stbuf; local
[all...]
/haiku-fatelf/src/bin/network/ftp/
H A Dcmds.c595 struct stat stbuf; local
603 ret = stat(locfile, &stbuf);
609 restart_point = stbuf.st_size;
617 if (stbuf.st_mtime >= mtime) {
715 struct stat stbuf; local
717 if (stat(tp, &stbuf) == 0)
718 restart_point = stbuf.st_size;
/haiku-fatelf/src/bin/gdb/gdb/
H A Dremote-mips.c3035 struct stat stbuf;
3042 if (stat (tftp_localname, &stbuf) == 0)
3043 chmod (tftp_localname, stbuf.st_mode | S_IROTH);
3030 struct stat stbuf; local

Completed in 96 milliseconds