Home
last modified time | relevance | path

Searched refs:tmp_mode (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/9pfs/
H A D9p-local.c205 mode_t tmp_mode; in local_lstat() local
216 if (fgetxattrat_nofollow(dirfd, name, "user.virtfs.mode", &tmp_mode, in local_lstat()
218 stbuf->st_mode = le32_to_cpu(tmp_mode); in local_lstat()
425 uint32_t tmp_mode = cpu_to_le32(credp->fc_mode); in local_set_xattrat() local
426 err = fsetxattrat_nofollow(dirfd, path, "user.virtfs.mode", &tmp_mode, in local_set_xattrat()
788 mode_t tmp_mode; in local_fstat() local
800 &tmp_mode, sizeof(mode_t)) > 0) { in local_fstat()
801 stbuf->st_mode = le32_to_cpu(tmp_mode); in local_fstat()
/openbmc/linux/fs/tracefs/
H A Dinode.c365 umode_t tmp_mode; in tracefs_apply_options() local
373 tmp_mode = READ_ONCE(inode->i_mode) & ~S_IALLUGO; in tracefs_apply_options()
374 tmp_mode |= opts->mode; in tracefs_apply_options()
375 WRITE_ONCE(inode->i_mode, tmp_mode); in tracefs_apply_options()