/fs/jfs/ |
D | super.c | 72 if (sbi->flag & JFS_ERR_PANIC) in jfs_handle_error() 75 else if (sbi->flag & JFS_ERR_REMOUNT_RO) { in jfs_handle_error() 235 int *flag) in parse_options() argument 255 *flag &= ~JFS_NOINTEGRITY; in parse_options() 258 *flag |= JFS_NOINTEGRITY; in parse_options() 300 *flag &= ~JFS_ERR_REMOUNT_RO; in parse_options() 301 *flag &= ~JFS_ERR_PANIC; in parse_options() 302 *flag |= JFS_ERR_CONTINUE; in parse_options() 304 *flag &= ~JFS_ERR_CONTINUE; in parse_options() 305 *flag &= ~JFS_ERR_PANIC; in parse_options() [all …]
|
D | jfs_txnmgr.c | 348 tid_t txBegin(struct super_block *sb, int flag) in txBegin() argument 354 jfs_info("txBegin: flag = 0x%x", flag); in txBegin() 367 if (!(flag & COMMIT_FORCE)) { in txBegin() 371 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBegin() 372 test_bit(log_QUIESCE, &log->flag)) { in txBegin() 378 if (flag == 0) { in txBegin() 403 if ((tblk->next == 0) && !(flag & COMMIT_FORCE)) { in txBegin() 423 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0; in txBegin() 465 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBeginAnon() 466 test_bit(log_QUIESCE, &log->flag)) { in txBeginAnon() [all …]
|
D | jfs_logmgr.c | 178 static void lbmWrite(struct jfs_log * log, struct lbuf * bp, int flag, int cant_block); 179 static void lbmDirectWrite(struct jfs_log * log, struct lbuf * bp, int flag); 180 static int lbmIOWait(struct lbuf * bp, int flag); 379 if (tlck->flag & tlckPAGELOCK) { in lmWriteRecord() 384 else if (tlck->flag & tlckINODELOCK) { in lmWriteRecord() 392 else if (tlck->flag & tlckINLINELOCK) { in lmWriteRecord() 517 tblk->flag = tblkGC_QUEUE; in lmWriteRecord() 598 tblk->flag |= tblkGC_EOP; in lmNextPage() 673 if (tblk->flag & tblkGC_COMMITTED) { in lmGroupCommit() 674 if (tblk->flag & tblkGC_ERROR) in lmGroupCommit() [all …]
|
D | xattr.c | 60 int flag; /* Indicates what storage xattr points to */ member 159 if (!(ji->mode2 & INLINEEA) && !(ji->ea.flag & DXD_INLINE)) in ea_write_inline() 166 ea->flag = DXD_INLINE; in ea_write_inline() 169 ea->flag = 0; in ea_write_inline() 175 if (ji->ea.flag & DXD_INLINE) in ea_write_inline() 287 ea->flag = DXD_EXTENT; in ea_write() 293 if (ji->ea.flag & DXD_INLINE) in ea_write() 365 if (ji->ea.flag & DXD_INLINE) in ea_read() 438 if (ji->ea.flag == 0) in ea_get() 443 ea_buf->flag = 0; in ea_get() [all …]
|
D | jfs_xtree.c | 44 (XAD)->flag = (FLAG);\ 81 u8 flag; member 105 struct btstack * btstack, int flag); 123 int *cmpp, struct btstack * btstack, int flag); 197 *pflag = xad->flag; in xtLookup() 227 int *cmpp, struct btstack * btstack, int flag) in xtSearch() argument 278 (p->header.flag & BT_LEAF) && in xtSearch() 336 if (flag & XT_INSERT) { in xtSearch() 379 if (p->header.flag & BT_LEAF) { in xtSearch() 383 if (flag & XT_INSERT) { in xtSearch() [all …]
|
D | jfs_incore.h | 151 #define set_cflag(flag, ip) set_bit(flag, &(JFS_IP(ip)->cflag)) argument 152 #define clear_cflag(flag, ip) clear_bit(flag, &(JFS_IP(ip)->cflag)) argument 153 #define test_cflag(flag, ip) test_bit(flag, &(JFS_IP(ip)->cflag)) argument 154 #define test_and_clear_cflag(flag, ip) \ argument 155 test_and_clear_bit(flag, &(JFS_IP(ip)->cflag)) 194 unsigned long flag; /* mount time flags */ member
|
D | jfs_xtree.h | 19 __u8 flag; /* 1: flag */ member 76 u8 flag; /* 1: */ member 92 int *pflag, s64 * paddr, int *plen, int flag); 95 int xflag, s64 xoff, int xlen, s64 * xaddrp, int flag); 97 int flag); 100 s64 xoff, int xlen, s64 xaddr, int flag); 104 int flag); 111 int *xlenp, s64 * xaddrp, int flag);
|
D | jfs_metapage.c | 31 #define metapage_locked(mp) test_bit(META_locked, &(mp)->flag) 32 #define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag) 36 clear_bit_unlock(META_locked, &mp->flag); in unlock_metapage() 222 if (mp->count || mp->nohomeok || test_bit(META_dirty, &mp->flag) || in drop_metapage() 223 test_bit(META_io, &mp->flag)) in drop_metapage() 308 if (mp && test_bit(META_io, &mp->flag)) { in last_write_complete() 311 clear_bit(META_io, &mp->flag); in last_write_complete() 364 if (!mp || !test_bit(META_dirty, &mp->flag)) in metapage_writepage() 367 if (mp->nohomeok && !test_bit(META_forcewrite, &mp->flag)) { in metapage_writepage() 378 clear_bit(META_dirty, &mp->flag); in metapage_writepage() [all …]
|
D | jfs_metapage.h | 20 unsigned long flag; /* See Below */ member 45 #define mark_metapage_dirty(mp) set_bit(META_dirty, &(mp)->flag) 74 set_bit(META_dirty, &mp->flag); in write_metapage() 80 set_bit(META_sync, &mp->flag); in flush_metapage() 86 clear_bit(META_dirty, &mp->flag); in discard_metapage() 87 set_bit(META_discard, &mp->flag); in discard_metapage() 109 if (test_bit(META_io, &mp->flag)) in metapage_wait_for_io()
|
D | jfs_dtree.c | 164 int flag); 167 int flag); 170 int ri, struct component_name * key, int flag); 357 dirtab_slot->flag = DIR_INDEX_VALID; in add_index() 462 dirtab_slot->flag = DIR_INDEX_VALID; in add_index() 494 dirtab_slot->flag = DIR_INDEX_FREE; in free_index() 568 struct btstack * btstack, int flag) in dtSearch() argument 641 if (p->header.flag & BT_LEAF) { in dtSearch() 660 if (p->header.flag & BT_LEAF) { in dtSearch() 667 if (flag == JFS_LOOKUP) { in dtSearch() [all …]
|
D | jfs_dtree.h | 100 u8 flag; /* 1: 0 if free */ member 136 u8 flag; /* 1: */ member 185 u8 flag; /* 1: */ member 221 #define DT_GETSTBL(p) ( ((p)->header.flag & BT_ROOT) ?\ 244 ino_t * data, struct btstack * btstack, int flag); 250 ino_t * data, int flag); 253 ino_t * orig_ino, ino_t new_ino, int flag);
|
D | jfs_txnmgr.h | 28 u16 flag; /* tx commit state */ member 88 u16 flag; /* 2: lock control */ member 163 u16 flag; /* 2: */ member 179 u16 flag; /* 2: */ member 210 u16 flag; /* 2: */ member 238 u16 flag; /* 2: */ member 262 int flag; /* flags */ member
|
D | jfs_extent.c | 107 abnr == ((xp->flag & XAD_NOTRECORDED) ? true : false)) in extAlloc() 164 xp->flag = xflag; in extAlloc() 229 if ((xp->flag & XAD_NOTRECORDED) && !abnr) { in extRealloc() 230 xp->flag = 0; in extRealloc() 267 if (abnr && (!(xp->flag & XAD_NOTRECORDED)) && (nxlen > nbperpage)) { in extRealloc() 278 xflag = xp->flag; in extRealloc() 326 xp->flag = xflag; in extRealloc() 388 xp->flag = xflag & XAD_NOTRECORDED; in extHint()
|
/fs/f2fs/ |
D | node.h | 64 unsigned char flag; /* for node information bits */ member 98 ne->ni.flag |= mask; in set_nat_flag() 100 ne->ni.flag &= ~mask; in set_nat_flag() 106 return ne->ni.flag & mask; in get_nat_flag() 256 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node() local 257 return flag >> OFFSET_BIT_SHIFT; in ofs_of_node() 281 old_flag = le32_to_cpu(rn->footer.flag); in fill_node_footer() 287 rn->footer.flag = cpu_to_le32((ofs << OFFSET_BIT_SHIFT) | in fill_node_footer() 397 return le32_to_cpu(rn->footer.flag) & (1 << type); in is_node() 407 unsigned int flag = le32_to_cpu(rn->footer.flag); in set_cold_node() local [all …]
|
/fs/ntfs/ |
D | inode.h | 168 #define NINO_FNS(flag) \ argument 169 static inline int NIno##flag(ntfs_inode *ni) \ 171 return test_bit(NI_##flag, &(ni)->state); \ 173 static inline void NInoSet##flag(ntfs_inode *ni) \ 175 set_bit(NI_##flag, &(ni)->state); \ 177 static inline void NInoClear##flag(ntfs_inode *ni) \ 179 clear_bit(NI_##flag, &(ni)->state); \ 185 #define TAS_NINO_FNS(flag) \ argument 186 static inline int NInoTestSet##flag(ntfs_inode *ni) \ 188 return test_and_set_bit(NI_##flag, &(ni)->state); \ [all …]
|
D | volume.h | 141 #define DEFINE_NVOL_BIT_OPS(flag) \ argument 142 static inline int NVol##flag(ntfs_volume *vol) \ 144 return test_bit(NV_##flag, &(vol)->flags); \ 146 static inline void NVolSet##flag(ntfs_volume *vol) \ 148 set_bit(NV_##flag, &(vol)->flags); \ 150 static inline void NVolClear##flag(ntfs_volume *vol) \ 152 clear_bit(NV_##flag, &(vol)->flags); \
|
/fs/udf/ |
D | udf_sb.h | 166 static inline int UDF_QUERY_FLAG(struct super_block *sb, int flag) in UDF_QUERY_FLAG() argument 168 return test_bit(flag, &UDF_SB(sb)->s_flags); in UDF_QUERY_FLAG() 171 static inline void UDF_SET_FLAG(struct super_block *sb, int flag) in UDF_SET_FLAG() argument 173 set_bit(flag, &UDF_SB(sb)->s_flags); in UDF_SET_FLAG() 176 static inline void UDF_CLEAR_FLAG(struct super_block *sb, int flag) in UDF_CLEAR_FLAG() argument 178 clear_bit(flag, &UDF_SB(sb)->s_flags); in UDF_CLEAR_FLAG()
|
/fs/ksmbd/mgmt/ |
D | user_config.h | 28 static inline void set_user_flag(struct ksmbd_user *user, int flag) in set_user_flag() argument 30 user->flags |= flag; in set_user_flag() 33 static inline int test_user_flag(struct ksmbd_user *user, int flag) in test_user_flag() argument 35 return user->flags & flag; in test_user_flag()
|
/fs/reiserfs/ |
D | do_balan.c | 57 struct buffer_head *bh, int flag) in do_balance_mark_leaf_dirty() argument 239 static int balance_leaf_when_delete(struct tree_balance *tb, int flag) in balance_leaf_when_delete() argument 256 BUG_ON(flag != M_DELETE && flag != M_CUT); in balance_leaf_when_delete() 257 if (flag == M_DELETE) in balance_leaf_when_delete() 601 const char * const body, int flag) in balance_leaf_left() argument 608 BUG_ON(flag != M_INSERT && flag != M_PASTE); in balance_leaf_left() 610 if (flag == M_INSERT) in balance_leaf_left() 906 const char * const body, int flag) in balance_leaf_right() argument 911 BUG_ON(flag != M_INSERT && flag != M_PASTE); in balance_leaf_right() 913 if (flag == M_INSERT) in balance_leaf_right() [all …]
|
/fs/coda/ |
D | cache.c | 91 static void coda_flag_children(struct dentry *parent, int flag) in coda_flag_children() argument 99 coda_flag_inode(d_inode(de), flag); in coda_flag_children() 105 void coda_flag_inode_children(struct inode *inode, int flag) in coda_flag_inode_children() argument 115 coda_flag_children(alias_de, flag); in coda_flag_inode_children()
|
/fs/nfsd/ |
D | nfs4acl.c | 258 ace->flag = eflag; in _posix_to_nfsv4_one() 266 ace->flag = eflag; in _posix_to_nfsv4_one() 278 ace->flag = eflag; in _posix_to_nfsv4_one() 286 ace->flag = eflag; in _posix_to_nfsv4_one() 304 ace->flag = eflag; in _posix_to_nfsv4_one() 313 ace->flag = eflag | NFS4_ACE_IDENTIFIER_GROUP; in _posix_to_nfsv4_one() 330 ace->flag = eflag; in _posix_to_nfsv4_one() 343 ace->flag = eflag | NFS4_ACE_IDENTIFIER_GROUP; in _posix_to_nfsv4_one() 356 ace->flag = eflag; in _posix_to_nfsv4_one() 711 if (ace->flag & ~NFS4_SUPPORTED_FLAGS) in nfs4_acl_nfsv4_to_posix() [all …]
|
/fs/overlayfs/ |
D | overlayfs.h | 315 void ovl_dentry_set_flag(unsigned long flag, struct dentry *dentry); 316 void ovl_dentry_clear_flag(unsigned long flag, struct dentry *dentry); 317 bool ovl_dentry_test_flag(unsigned long flag, struct dentry *dentry); 358 static inline void ovl_set_flag(unsigned long flag, struct inode *inode) in ovl_set_flag() argument 360 set_bit(flag, &OVL_I(inode)->flags); in ovl_set_flag() 363 static inline void ovl_clear_flag(unsigned long flag, struct inode *inode) in ovl_clear_flag() argument 365 clear_bit(flag, &OVL_I(inode)->flags); in ovl_clear_flag() 368 static inline bool ovl_test_flag(unsigned long flag, struct inode *inode) in ovl_test_flag() argument 370 return test_bit(flag, &OVL_I(inode)->flags); in ovl_test_flag()
|
/fs/ |
D | fhandle.c | 95 int, flag) in SYSCALL_DEFINE5() argument 101 if ((flag & ~(AT_SYMLINK_FOLLOW | AT_EMPTY_PATH)) != 0) in SYSCALL_DEFINE5() 104 lookup_flags = (flag & AT_SYMLINK_FOLLOW) ? LOOKUP_FOLLOW : 0; in SYSCALL_DEFINE5() 105 if (flag & AT_EMPTY_PATH) in SYSCALL_DEFINE5()
|
/fs/nilfs2/ |
D | nilfs.h | 160 static inline void nilfs_set_transaction_flag(unsigned int flag) in nilfs_set_transaction_flag() argument 164 ti->ti_flags |= flag; in nilfs_set_transaction_flag() 167 static inline int nilfs_test_transaction_flag(unsigned int flag) in nilfs_test_transaction_flag() argument 173 return !!(ti->ti_flags & flag); in nilfs_test_transaction_flag() 345 int nilfs_commit_super(struct super_block *sb, int flag);
|
/fs/dlm/ |
D | dlm_internal.h | 355 static inline void rsb_set_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_set_flag() argument 357 __set_bit(flag, &r->res_flags); in rsb_set_flag() 360 static inline void rsb_clear_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_clear_flag() argument 362 __clear_bit(flag, &r->res_flags); in rsb_clear_flag() 365 static inline int rsb_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_flag() argument 367 return test_bit(flag, &r->res_flags); in rsb_flag()
|