Home
last modified time | relevance | path

Searched refs:uflags (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/fs/xfs/
Dxfs_quotaops.c145 xfs_quota_flags(unsigned int uflags) in xfs_quota_flags() argument
149 if (uflags & FS_QUOTA_UDQ_ACCT) in xfs_quota_flags()
151 if (uflags & FS_QUOTA_PDQ_ACCT) in xfs_quota_flags()
153 if (uflags & FS_QUOTA_GDQ_ACCT) in xfs_quota_flags()
155 if (uflags & FS_QUOTA_UDQ_ENFD) in xfs_quota_flags()
157 if (uflags & FS_QUOTA_GDQ_ENFD) in xfs_quota_flags()
159 if (uflags & FS_QUOTA_PDQ_ENFD) in xfs_quota_flags()
168 unsigned int uflags) in xfs_quota_enable() argument
177 return xfs_qm_scall_quotaon(mp, xfs_quota_flags(uflags)); in xfs_quota_enable()
183 unsigned int uflags) in xfs_quota_disable() argument
[all …]
/linux-6.12.1/fs/bcachefs/
Dquota.c549 static int bch2_quota_enable(struct super_block *sb, unsigned uflags) in bch2_quota_enable() argument
559 if (uflags & (FS_QUOTA_UDQ_ACCT|FS_QUOTA_GDQ_ACCT|FS_QUOTA_PDQ_ACCT)) in bch2_quota_enable()
563 if ((uflags & FS_QUOTA_UDQ_ENFD) && !c->opts.usrquota) in bch2_quota_enable()
566 if ((uflags & FS_QUOTA_GDQ_ENFD) && !c->opts.grpquota) in bch2_quota_enable()
569 if (uflags & FS_QUOTA_PDQ_ENFD && !c->opts.prjquota) in bch2_quota_enable()
579 if (uflags & FS_QUOTA_UDQ_ENFD) in bch2_quota_enable()
582 if (uflags & FS_QUOTA_GDQ_ENFD) in bch2_quota_enable()
585 if (uflags & FS_QUOTA_PDQ_ENFD) in bch2_quota_enable()
595 static int bch2_quota_disable(struct super_block *sb, unsigned uflags) in bch2_quota_disable() argument
603 if (uflags & FS_QUOTA_UDQ_ENFD) in bch2_quota_disable()
[all …]
Dfs-ioctl.c82 unsigned uflags; in bch2_ioc_setflags() local
85 if (get_user(uflags, (int __user *) arg)) in bch2_ioc_setflags()
88 s.flags = map_flags_rev(bch_flags_to_uflags, uflags); in bch2_ioc_setflags()
89 if (uflags) in bch2_ioc_setflags()
/linux-6.12.1/arch/s390/include/asm/
Dfpu.h195 int mask, uflags; in _kernel_fpu_begin() local
199 uflags = READ_ONCE(thread->ufpu_flags); in _kernel_fpu_begin()
200 if ((uflags & flags) != flags) in _kernel_fpu_begin()
201 __save_user_fpu_regs(thread, ~uflags & flags); in _kernel_fpu_begin()
/linux-6.12.1/drivers/char/
Dppdev.c500 int uflags; in pp_do_ioctl() local
502 if (copy_from_user(&uflags, argp, sizeof(uflags))) in pp_do_ioctl()
505 pp->flags |= (uflags & PP_FLAGMASK); in pp_do_ioctl()
510 int uflags; in pp_do_ioctl() local
512 uflags = pp->flags & PP_FLAGMASK; in pp_do_ioctl()
513 if (copy_to_user(argp, &uflags, sizeof(uflags))) in pp_do_ioctl()
/linux-6.12.1/drivers/scsi/sym53c8xx_2/
Dsym_malloc.c145 static void *__sym_calloc2(m_pool_p mp, int size, char *name, int uflags) in __sym_calloc2() argument
157 else if (uflags & SYM_MEM_WARN) in __sym_calloc2()
/linux-6.12.1/fs/9p/
Dv9fs_vfs.h59 int v9fs_uflags2omode(int uflags, int extended);
Dvfs_inode.c162 int v9fs_uflags2omode(int uflags, int extended) in v9fs_uflags2omode() argument
166 switch (uflags&3) { in v9fs_uflags2omode()
181 if (uflags & O_TRUNC) in v9fs_uflags2omode()
185 if (uflags & O_EXCL) in v9fs_uflags2omode()
188 if (uflags & O_APPEND) in v9fs_uflags2omode()
/linux-6.12.1/include/uapi/linux/
Dtarget_core_user.h80 __u8 uflags; member
/linux-6.12.1/Documentation/target/
Dtcmu-design.rst166 (uflags).
200 hdr.uflags, update cmd_tail, and proceed with processing additional
376 ent->hdr.uflags |= TCMU_UFLAG_UNKNOWN_OP;
/linux-6.12.1/drivers/tty/serial/
Dlpc32xx_hs.c548 static void serial_lpc32xx_config_port(struct uart_port *port, int uflags) in serial_lpc32xx_config_port() argument
Dserial_txx9.c764 static void serial_txx9_config_port(struct uart_port *up, int uflags) in serial_txx9_config_port() argument
/linux-6.12.1/drivers/target/
Dtarget_core_user.c970 hdr->uflags = 0; in ring_insert_padding()
1349 if (entry->hdr.uflags & TCMU_UFLAG_UNKNOWN_OP) { in tcmu_handle_completion()
1358 (entry->hdr.uflags & TCMU_UFLAG_READ_LEN) && entry->rsp.read_len) { in tcmu_handle_completion()
1482 keep_buf = !!(entry->hdr.uflags & TCMU_UFLAG_KEEP_BUF); in tcmu_handle_completions()
/linux-6.12.1/fs/
Dnamei.c215 getname_uflags(const char __user *filename, int uflags) in getname_uflags() argument
217 int flags = (uflags & AT_EMPTY_PATH) ? LOOKUP_EMPTY : 0; in getname_uflags()
/linux-6.12.1/drivers/scsi/
Dncr53c8xx.c318 static void *__m_calloc2(m_pool_s *mp, int size, char *name, int uflags) in __m_calloc2() argument
329 else if (uflags & MEMO_WARN) in __m_calloc2()