Lines Matching defs:stbuf
2439 ntfs_inode * ni, struct stat *stbuf)
2465 stbuf->st_uid = cached->uid;
2466 stbuf->st_gid = cached->gid;
2467 stbuf->st_mode = (stbuf->st_mode & ~07777) + perm;
2517 stbuf->st_uid = ntfs_find_user(scx->mapping[MAPUSERS],usid);
2520 stbuf->st_uid =
2523 if (stbuf->st_uid)
2526 stbuf->st_uid = ntfs_find_user(scx->mapping[MAPUSERS],usid);
2528 stbuf->st_gid = ntfs_find_group(scx->mapping[MAPGROUPS],gsid);
2529 stbuf->st_mode =
2530 (stbuf->st_mode & ~07777) + perm;
2532 enter_cache(scx, ni, stbuf->st_uid,
2533 stbuf->st_gid, pxdesc);
2536 enter_cache(scx, ni, stbuf->st_uid,
2537 stbuf->st_gid, perm);
3446 struct stat stbuf;
3486 if ((ntfs_get_owner_mode(scx,ni,&stbuf) >= 0)
3487 && (stbuf.st_uid == scx->uid))
3526 struct stat stbuf;
3554 if (ntfs_get_owner_mode(scx, dir_ni, &stbuf) >= 0) {
3555 *pdsetgid = stbuf.st_mode & S_ISGID;
3557 *pgid = stbuf.st_gid;
3585 struct stat stbuf;
3609 allow = (ntfs_get_owner_mode(scx,ni,&stbuf) >= 0)
3610 && (stbuf.st_uid == scx->uid);