Home
last modified time | relevance | path

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

1234

/fs/jfs/
Dsuper.c71 if (sbi->flag & JFS_ERR_PANIC) in jfs_handle_error()
74 else if (sbi->flag & JFS_ERR_REMOUNT_RO) { in jfs_handle_error()
234 int *flag) in parse_options() argument
254 *flag &= ~JFS_NOINTEGRITY; in parse_options()
257 *flag |= JFS_NOINTEGRITY; in parse_options()
299 *flag &= ~JFS_ERR_REMOUNT_RO; in parse_options()
300 *flag &= ~JFS_ERR_PANIC; in parse_options()
301 *flag |= JFS_ERR_CONTINUE; in parse_options()
303 *flag &= ~JFS_ERR_CONTINUE; in parse_options()
304 *flag &= ~JFS_ERR_PANIC; in parse_options()
[all …]
Djfs_txnmgr.c348 tid_t txBegin(struct super_block *sb, int flag) in txBegin() argument
354 jfs_info("txBegin: flag = 0x%x", flag); in txBegin()
362 if (!(flag & COMMIT_FORCE)) { in txBegin()
366 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBegin()
367 test_bit(log_QUIESCE, &log->flag)) { in txBegin()
373 if (flag == 0) { in txBegin()
398 if ((tblk->next == 0) && !(flag & COMMIT_FORCE)) { in txBegin()
418 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0; in txBegin()
460 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBeginAnon()
461 test_bit(log_QUIESCE, &log->flag)) { in txBeginAnon()
[all …]
Djfs_logmgr.c178 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 …]
Dxattr.c60 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 …]
Djfs_xtree.c44 (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 …]
Djfs_incore.h143 #define set_cflag(flag, ip) set_bit(flag, &(JFS_IP(ip)->cflag)) argument
144 #define clear_cflag(flag, ip) clear_bit(flag, &(JFS_IP(ip)->cflag)) argument
145 #define test_cflag(flag, ip) test_bit(flag, &(JFS_IP(ip)->cflag)) argument
146 #define test_and_clear_cflag(flag, ip) \ argument
147 test_and_clear_bit(flag, &(JFS_IP(ip)->cflag))
186 unsigned long flag; /* mount time flags */ member
Djfs_xtree.h19 __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);
Djfs_metapage.c31 #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 …]
Djfs_metapage.h20 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()
Djfs_dtree.h100 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);
Djfs_dtree.c164 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
636 if (p->header.flag & BT_LEAF) { in dtSearch()
655 if (p->header.flag & BT_LEAF) { in dtSearch()
662 if (flag == JFS_LOOKUP) { in dtSearch()
[all …]
Djfs_txnmgr.h28 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
Djfs_extent.c107 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/
Dnode.h55 unsigned char flag; /* for node information bits */ member
89 ne->ni.flag |= mask; in set_nat_flag()
91 ne->ni.flag &= ~mask; in set_nat_flag()
97 return ne->ni.flag & mask; in get_nat_flag()
251 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node() local
252 return flag >> OFFSET_BIT_SHIFT; in ofs_of_node()
276 old_flag = le32_to_cpu(rn->footer.flag); in fill_node_footer()
282 rn->footer.flag = cpu_to_le32((ofs << OFFSET_BIT_SHIFT) | in fill_node_footer()
406 return le32_to_cpu(rn->footer.flag) & (1 << type); in is_node()
431 unsigned int flag = le32_to_cpu(rn->footer.flag); in set_cold_node() local
[all …]
Ddata.c1228 int flag; in f2fs_preallocate_blocks() local
1259 flag = f2fs_force_buffered_io(inode, iocb, from) ? in f2fs_preallocate_blocks()
1272 flag = F2FS_GET_BLOCK_PRE_AIO; in f2fs_preallocate_blocks()
1275 err = f2fs_map_blocks(inode, &map, 1, flag); in f2fs_preallocate_blocks()
1284 void __do_map_lock(struct f2fs_sb_info *sbi, int flag, bool lock) in __do_map_lock() argument
1286 if (flag == F2FS_GET_BLOCK_PRE_AIO) { in __do_map_lock()
1309 int create, int flag) in f2fs_map_blocks() argument
1334 if (test_opt(sbi, LFS) && flag == F2FS_GET_BLOCK_DIO && in f2fs_map_blocks()
1345 if (flag == F2FS_GET_BLOCK_DIO) in f2fs_map_blocks()
1353 __do_map_lock(sbi, flag, true); in f2fs_map_blocks()
[all …]
/fs/ntfs/
Dinode.h168 #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 …]
Dvolume.h141 #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/
Dudf_sb.h166 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/reiserfs/
Ddo_balan.c57 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/
Dcache.c91 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/overlayfs/
Dutil.c287 void ovl_dentry_set_flag(unsigned long flag, struct dentry *dentry) in ovl_dentry_set_flag() argument
289 set_bit(flag, &OVL_E(dentry)->flags); in ovl_dentry_set_flag()
292 void ovl_dentry_clear_flag(unsigned long flag, struct dentry *dentry) in ovl_dentry_clear_flag() argument
294 clear_bit(flag, &OVL_E(dentry)->flags); in ovl_dentry_clear_flag()
297 bool ovl_dentry_test_flag(unsigned long flag, struct dentry *dentry) in ovl_dentry_test_flag() argument
299 return test_bit(flag, &OVL_E(dentry)->flags); in ovl_dentry_test_flag()
614 void ovl_set_flag(unsigned long flag, struct inode *inode) in ovl_set_flag() argument
616 set_bit(flag, &OVL_I(inode)->flags); in ovl_set_flag()
619 void ovl_clear_flag(unsigned long flag, struct inode *inode) in ovl_clear_flag() argument
621 clear_bit(flag, &OVL_I(inode)->flags); in ovl_clear_flag()
[all …]
/fs/nfsd/
Dnfs4acl.c258 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/
Dioctl.c515 unsigned int flag; in ioctl_fionbio() local
521 flag = O_NONBLOCK; in ioctl_fionbio()
525 flag |= O_NDELAY; in ioctl_fionbio()
529 filp->f_flags |= flag; in ioctl_fionbio()
531 filp->f_flags &= ~flag; in ioctl_fionbio()
539 unsigned int flag; in ioctl_fioasync() local
545 flag = on ? FASYNC : 0; in ioctl_fioasync()
548 if ((flag ^ filp->f_flags) & FASYNC) { in ioctl_fioasync()
Dfhandle.c95 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/
Dnilfs.h165 static inline void nilfs_set_transaction_flag(unsigned int flag) in nilfs_set_transaction_flag() argument
169 ti->ti_flags |= flag; in nilfs_set_transaction_flag()
172 static inline int nilfs_test_transaction_flag(unsigned int flag) in nilfs_test_transaction_flag() argument
178 return !!(ti->ti_flags & flag); in nilfs_test_transaction_flag()
331 int nilfs_commit_super(struct super_block *sb, int flag);

1234