Lines Matching defs:mode
127 uint16_t ns_mode; /* File access mode */
315 /* Extract the file mode, file type, and file size. */
839 nmp->nm_permission = mnt->vnodeBeCovered->mode & 0777;
842 vp->mode = type_to_mode(vp->type, nmp->nm_permission);
895 (*vpp)->mode = type_to_mode((*vpp)->type, nmp->nm_permission);
908 buf->st_mode = node->mode;
1406 int vfs_nfs_mkdir(struct Vnode *parent, const char *dirname, mode_t mode, struct Vnode **vpp)
1460 /* Set the mode. NOTE: Here we depend on the fact that the NuttX and NFS
1464 *ptr++ = nfs_true; /* True: mode value follows */
1467 if (!mode)
1469 mode = (NFSMODE_IXOTH | NFSMODE_IROTH |
1473 tmp = mode & (NFSMODE_IXOTH | NFSMODE_IWOTH | NFSMODE_IROTH |
1545 (*vpp)->mode = type_to_mode((*vpp)->type, nmp->nm_permission);
2342 int vfs_nfs_create(struct Vnode *parent, const char *filename, int mode, struct Vnode **vpp)
2382 /* Set the creation mode */
2397 /* Set the mode. NOTE: Here we depend on the fact that the NuttX and NFS
2401 *ptr++ = nfs_true; /* True: mode value follows */
2404 tmp = mode & (NFSMODE_IWOTH | NFSMODE_IROTH | NFSMODE_IWGRP |
2519 (*vpp)->mode = type_to_mode((*vpp)->type, nmp->nm_permission);
2978 *ptr++ = nfs_false; /* Don't change mode */