Home
last modified time | relevance | path

Searched refs:class (Results 1 – 25 of 25) sorted by relevance

/fs/bcachefs/
A Derrcode.c10 #define x(class, err) [BCH_ERR_##err - BCH_ERR_START] = #err, argument
17 #define x(class, err) [BCH_ERR_##err - BCH_ERR_START] = class, argument
41 bool __bch2_err_matches(int err, int class) in __bch2_err_matches() argument
44 class = abs(class); in __bch2_err_matches()
47 BUG_ON(class >= BCH_ERR_MAX); in __bch2_err_matches()
49 while (err >= BCH_ERR_START && err != class) in __bch2_err_matches()
52 return err == class; in __bch2_err_matches()
A Derrcode.h353 #define x(class, err) BCH_ERR_##err, argument
364 static inline bool _bch2_err_matches(int err, int class) in _bch2_err_matches() argument
366 return err < 0 && __bch2_err_matches(err, class); in _bch2_err_matches()
A Dchardev.c778 static const struct class bch_chardev_class = {
/fs/smb/server/
A Dserver.c428 static ssize_t stats_show(const struct class *class, const struct class_attribute *attr, in stats_show() argument
447 static ssize_t kill_server_store(const struct class *class, in kill_server_store() argument
468 static ssize_t debug_show(const struct class *class, const struct class_attribute *attr, in debug_show() argument
486 static ssize_t debug_store(const struct class *class, const struct class_attribute *attr, in debug_store() argument
524 static struct class ksmbd_control_class = {
/fs/hfsplus/
A Dhfsplus_fs.h562 enum hfsplus_btree_mutex_classes class; in hfsplus_btree_lock_class() local
566 class = CATALOG_BTREE_MUTEX; in hfsplus_btree_lock_class()
569 class = EXTENTS_BTREE_MUTEX; in hfsplus_btree_lock_class()
572 class = ATTR_BTREE_MUTEX; in hfsplus_btree_lock_class()
577 return class; in hfsplus_btree_lock_class()
/fs/jffs2/
A Dxattr.h27 uint8_t class; member
49 uint8_t class; member
A Dmalloc.c269 xd->class = RAWNODE_CLASS_XATTR_DATUM; in jffs2_alloc_xattr_datum()
289 ref->class = RAWNODE_CLASS_XATTR_REF; in jffs2_alloc_xattr_ref()
A Dwbuf.c476 if (ic && ic->class == RAWNODE_CLASS_XATTR_DATUM) { in jffs2_wbuf_recover()
482 } else if (ic && ic->class == RAWNODE_CLASS_XATTR_REF) { in jffs2_wbuf_recover()
488 } else if (ic && ic->class == RAWNODE_CLASS_INODE_CACHE) { in jffs2_wbuf_recover()
A Dgc.c332 if (ic->class == RAWNODE_CLASS_XATTR_DATUM in jffs2_garbage_collect_pass()
333 || ic->class == RAWNODE_CLASS_XATTR_REF) { in jffs2_garbage_collect_pass()
336 if (ic->class == RAWNODE_CLASS_XATTR_DATUM) { in jffs2_garbage_collect_pass()
A Derase.c272 switch (ic->class) { in jffs2_remove_node_refs_from_ino_list()
A Dnodelist.h168 uint8_t class; /* It's used for identification */ member
A Dnodemgmt.c823 switch (ic->class) { in jffs2_mark_node_obsolete()
/fs/xfs/
A Dxfs_sysfs.c663 int class, in xfs_error_sysfs_init_class() argument
672 ASSERT(class < XFS_ERR_CLASS_MAX); in xfs_error_sysfs_init_class()
680 cfg = &mp->m_error_cfg[class][i]; in xfs_error_sysfs_init_class()
698 cfg = &mp->m_error_cfg[class][i]; in xfs_error_sysfs_init_class()
A Dxfs_inode.c343 uint class = 0; in xfs_lock_inumorder() local
350 class += subclass << XFS_IOLOCK_SHIFT; in xfs_lock_inumorder()
355 class += subclass << XFS_MMAPLOCK_SHIFT; in xfs_lock_inumorder()
360 class += subclass << XFS_ILOCK_SHIFT; in xfs_lock_inumorder()
363 return (lock_mode & ~XFS_LOCK_SUBCLASS_MASK) | class; in xfs_lock_inumorder()
/fs/f2fs/
A Dsysfs.c358 int class = IOPRIO_PRIO_CLASS(cprc->ckpt_thread_ioprio); in f2fs_sbi_show() local
361 if (class != IOPRIO_CLASS_RT && class != IOPRIO_CLASS_BE) in f2fs_sbi_show()
365 class == IOPRIO_CLASS_RT ? "rt" : "be", level); in f2fs_sbi_show()
468 int class; in __sbi_store() local
473 class = IOPRIO_CLASS_RT; in __sbi_store()
475 class = IOPRIO_CLASS_BE; in __sbi_store()
486 cprc->ckpt_thread_ioprio = IOPRIO_PRIO_VALUE(class, level); in __sbi_store()
/fs/pstore/
A Dpmsg.c43 static struct class *pmsg_class;
/fs/fuse/
A Dcuse.c71 static struct class *cuse_class;
370 dev->class = cuse_class; in cuse_process_init_reply()
/fs/notify/fanotify/
A Dfanotify_user.c1506 unsigned int class = flags & FANOTIFY_CLASS_BITS; in SYSCALL_DEFINE2() local
1549 if (class != FAN_CLASS_NOTIF) in SYSCALL_DEFINE2()
1567 if (fid_mode && class != FAN_CLASS_NOTIF) in SYSCALL_DEFINE2()
1628 switch (class) { in SYSCALL_DEFINE2()
/fs/coda/
A Dpsdev.c52 static struct class *coda_psdev_class;
/fs/smb/client/
A Dsmb2proto.h305 u32 class, u32 type, u32 output_len,
A Dnetmisc.c900 __u8 class = smb->Status.DosError.ErrorClass; in map_and_check_smb_error() local
904 if (class == ERRSRV && code == ERRbaduid) { in map_and_check_smb_error()
A Dsmbdirect.c135 #define log_rdma(level, class, fmt, args...) \ argument
137 if (level <= smbd_logging_level || class & smbd_logging_class) \
A Dsmb2ops.c2681 u32 class, u32 type, u32 output_len, in smb2_query_info_compound() argument
2758 class, type, 0, in smb2_query_info_compound()
2766 class, type, 0, in smb2_query_info_compound()
/fs/resctrl/
A Dpseudo_lock.c46 static const struct class pseudo_lock_class = {
/fs/
A DKconfig.binfmt154 registered such a binary class with the kernel, you can start one of

Completed in 63 milliseconds