Lines Matching full:count
554 int nfs_read(struct dfs_fd *file, void *buf, size_t count) in nfs_read() argument
582 args.count = count > DFS_NFS_MAX_MTU ? DFS_NFS_MAX_MTU : count; in nfs_read()
583 count -= args.count; in nfs_read()
600 bytes = res.READ3res_u.resok.count; in nfs_read()
606 buf = (void *)((char *)buf + args.count); in nfs_read()
615 } while(count > 0); in nfs_read()
622 int nfs_write(struct dfs_fd *file, const void *buf, size_t count) in nfs_write() argument
650 args.count = count > DFS_NFS_MAX_MTU ? DFS_NFS_MAX_MTU : count; in nfs_write()
651 args.data.data_len = args.count; in nfs_write()
652 count -= args.count; in nfs_write()
653 buf = (const void *)((char *)buf + args.count); in nfs_write()
669 bytes = res.WRITE3res_u.resok.count; in nfs_write()
679 } while (count > 0); in nfs_write()
910 args.count = 1024; in nfs_readdir()
1076 int nfs_getdents(struct dfs_fd *file, struct dirent *dirp, uint32_t count) in nfs_getdents() argument
1091 /* make integer count */ in nfs_getdents()
1092 count = (count / sizeof(struct dirent)) * sizeof(struct dirent); in nfs_getdents()
1093 if (count == 0) in nfs_getdents()
1112 if (index * sizeof(struct dirent) >= count) in nfs_getdents()