Home
last modified time | relevance | path

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

123

/fs/jfs/
Dsuper.c79 if (sbi->flag & JFS_ERR_PANIC) in jfs_handle_error()
82 else if (sbi->flag & JFS_ERR_REMOUNT_RO) { in jfs_handle_error()
220 int *flag) in parse_options() argument
240 *flag &= ~JFS_NOINTEGRITY; in parse_options()
243 *flag |= JFS_NOINTEGRITY; in parse_options()
284 *flag &= ~JFS_ERR_REMOUNT_RO; in parse_options()
285 *flag &= ~JFS_ERR_PANIC; in parse_options()
286 *flag |= JFS_ERR_CONTINUE; in parse_options()
288 *flag &= ~JFS_ERR_CONTINUE; in parse_options()
289 *flag &= ~JFS_ERR_PANIC; in parse_options()
[all …]
Djfs_txnmgr.c362 tid_t txBegin(struct super_block *sb, int flag) in txBegin() argument
368 jfs_info("txBegin: flag = 0x%x", flag); in txBegin()
376 if (!(flag & COMMIT_FORCE)) { in txBegin()
380 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBegin()
381 test_bit(log_QUIESCE, &log->flag)) { in txBegin()
387 if (flag == 0) { in txBegin()
412 if ((tblk->next == 0) && !(flag & COMMIT_FORCE)) { in txBegin()
432 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0; in txBegin()
474 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBeginAnon()
475 test_bit(log_QUIESCE, &log->flag)) { in txBeginAnon()
[all …]
Djfs_xtree.h32 unsigned flag:8; /* 1: flag */ member
96 u8 flag; /* 1: */ member
112 int *pflag, s64 * paddr, int *plen, int flag);
114 struct xadlist * xadlist, int flag);
117 int xflag, s64 xoff, int xlen, s64 * xaddrp, int flag);
119 int flag);
122 s64 xoff, int xlen, s64 xaddr, int flag);
126 int flag);
133 int *xlenp, s64 * xaddrp, int flag);
Djfs_metapage.c43 #define metapage_locked(mp) test_bit(META_locked, &(mp)->flag)
44 #define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag)
48 clear_bit_unlock(META_locked, &mp->flag); in unlock_metapage()
191 mp->flag = 0; in init_once()
195 set_bit(META_free, &mp->flag); in init_once()
206 mp->flag = 0; in free_metapage()
207 set_bit(META_free, &mp->flag); in free_metapage()
241 if (mp->count || mp->nohomeok || test_bit(META_dirty, &mp->flag) || in drop_metapage()
242 test_bit(META_io, &mp->flag)) in drop_metapage()
327 if (mp && test_bit(META_io, &mp->flag)) { in last_write_complete()
[all …]
Djfs_logmgr.c189 static void lbmWrite(struct jfs_log * log, struct lbuf * bp, int flag, int cant_block);
190 static void lbmDirectWrite(struct jfs_log * log, struct lbuf * bp, int flag);
191 static int lbmIOWait(struct lbuf * bp, int flag);
390 if (tlck->flag & tlckPAGELOCK) { in lmWriteRecord()
395 else if (tlck->flag & tlckINODELOCK) { in lmWriteRecord()
403 else if (tlck->flag & tlckINLINELOCK) { in lmWriteRecord()
528 tblk->flag = tblkGC_QUEUE; in lmWriteRecord()
609 tblk->flag |= tblkGC_EOP; in lmNextPage()
684 if (tblk->flag & tblkGC_COMMITTED) { in lmGroupCommit()
685 if (tblk->flag & tblkGC_ERROR) in lmGroupCommit()
[all …]
Djfs_xtree.c57 (XAD)->flag = (FLAG);\
93 u8 flag; member
117 struct btstack * btstack, int flag);
135 int *cmpp, struct btstack * btstack, int flag);
212 *pflag = xad->flag; in xtLookup()
248 struct xadlist * xadlist, int flag) in xtLookupList() argument
300 if (p->header.flag & BT_ROOT) in xtLookupList()
383 if (p->header.flag & BT_ROOT) in xtLookupList()
403 XT_PUTENTRY(pxd, xad->flag, pstart, plen, paddr); in xtLookupList()
444 if (p->header.flag & BT_ROOT) in xtLookupList()
[all …]
Dxattr.c72 int flag; /* Indicates what storage xattr points to */ member
194 if (!(ji->mode2 & INLINEEA) && !(ji->ea.flag & DXD_INLINE)) in ea_write_inline()
201 ea->flag = DXD_INLINE; in ea_write_inline()
204 ea->flag = 0; in ea_write_inline()
210 if (ji->ea.flag & DXD_INLINE) in ea_write_inline()
322 ea->flag = DXD_EXTENT; in ea_write()
328 if (ji->ea.flag & DXD_INLINE) in ea_write()
400 if (ji->ea.flag & DXD_INLINE) in ea_read()
473 if (ji->ea.flag == 0) in ea_get()
478 ea_buf->flag = 0; in ea_get()
[all …]
Djfs_incore.h155 #define set_cflag(flag, ip) set_bit(flag, &(JFS_IP(ip)->cflag)) argument
156 #define clear_cflag(flag, ip) clear_bit(flag, &(JFS_IP(ip)->cflag)) argument
157 #define test_cflag(flag, ip) test_bit(flag, &(JFS_IP(ip)->cflag)) argument
158 #define test_and_clear_cflag(flag, ip) \ argument
159 test_and_clear_bit(flag, &(JFS_IP(ip)->cflag))
198 unsigned long flag; /* mount time flags */ member
Djfs_metapage.h33 unsigned long flag; /* See Below */ member
58 #define mark_metapage_dirty(mp) set_bit(META_dirty, &(mp)->flag)
87 set_bit(META_dirty, &mp->flag); in write_metapage()
93 set_bit(META_sync, &mp->flag); in flush_metapage()
99 clear_bit(META_dirty, &mp->flag); in discard_metapage()
100 set_bit(META_discard, &mp->flag); in discard_metapage()
122 if (test_bit(META_io, &mp->flag)) in metapage_wait_for_io()
Djfs_dtree.h113 u8 flag; /* 1: 0 if free */ member
149 u8 flag; /* 1: */ member
198 u8 flag; /* 1: */ member
234 #define DT_GETSTBL(p) ( ((p)->header.flag & BT_ROOT) ?\
257 ino_t * data, struct btstack * btstack, int flag);
263 ino_t * data, int flag);
266 ino_t * orig_ino, ino_t new_ino, int flag);
Djfs_txnmgr.h41 u16 flag; /* tx commit state */ member
101 u16 flag; /* 2: lock control */ member
176 u16 flag; /* 2: */ member
192 u16 flag; /* 2: */ member
223 u16 flag; /* 2: */ member
251 u16 flag; /* 2: */ member
275 int flag; /* flags */ member
Djfs_dtree.c176 int flag);
179 int flag);
182 int ri, struct component_name * key, int flag);
369 dirtab_slot->flag = DIR_INDEX_VALID; in add_index()
474 dirtab_slot->flag = DIR_INDEX_VALID; in add_index()
506 dirtab_slot->flag = DIR_INDEX_FREE; in free_index()
580 struct btstack * btstack, int flag) in dtSearch() argument
647 if (p->header.flag & BT_LEAF) { in dtSearch()
666 if (p->header.flag & BT_LEAF) { in dtSearch()
673 if (flag == JFS_LOOKUP) { in dtSearch()
[all …]
Djfs_extent.c120 abnr == ((xp->flag & XAD_NOTRECORDED) ? true : false)) in extAlloc()
176 xp->flag = xflag; in extAlloc()
241 if ((xp->flag & XAD_NOTRECORDED) && !abnr) { in extRealloc()
242 xp->flag = 0; in extRealloc()
278 if (abnr && (!(xp->flag & XAD_NOTRECORDED)) && (nxlen > nbperpage)) { in extRealloc()
289 xflag = xp->flag; in extRealloc()
337 xp->flag = xflag; in extRealloc()
411 xp->flag &= XAD_NOTRECORDED; in extHint()
/fs/ntfs/
Dinode.h182 #define NINO_FNS(flag) \ argument
183 static inline int NIno##flag(ntfs_inode *ni) \
185 return test_bit(NI_##flag, &(ni)->state); \
187 static inline void NInoSet##flag(ntfs_inode *ni) \
189 set_bit(NI_##flag, &(ni)->state); \
191 static inline void NInoClear##flag(ntfs_inode *ni) \
193 clear_bit(NI_##flag, &(ni)->state); \
199 #define TAS_NINO_FNS(flag) \ argument
200 static inline int NInoTestSet##flag(ntfs_inode *ni) \
202 return test_and_set_bit(NI_##flag, &(ni)->state); \
[all …]
Dvolume.h154 #define DEFINE_NVOL_BIT_OPS(flag) \ argument
155 static inline int NVol##flag(ntfs_volume *vol) \
157 return test_bit(NV_##flag, &(vol)->flags); \
159 static inline void NVolSet##flag(ntfs_volume *vol) \
161 set_bit(NV_##flag, &(vol)->flags); \
163 static inline void NVolClear##flag(ntfs_volume *vol) \
165 clear_bit(NV_##flag, &(vol)->flags); \
/fs/smbfs/
Dgetopt.c27 char **optopt, char **optarg, unsigned long *flag, in smb_getopt() argument
50 if (!opts[i].flag && (!val || !*val)) { in smb_getopt()
56 if (flag && opts[i].flag) in smb_getopt()
57 *flag |= opts[i].flag; in smb_getopt()
Dgetopt.h6 unsigned long flag; member
11 char **optopt, char **optarg, unsigned long *flag,
/fs/coda/
Dcache.c84 static void coda_flag_children(struct dentry *parent, int flag) in coda_flag_children() argument
96 coda_flag_inode(de->d_inode, flag); in coda_flag_children()
102 void coda_flag_inode_children(struct inode *inode, int flag) in coda_flag_inode_children() argument
112 coda_flag_children(alias_de, flag); in coda_flag_inode_children()
/fs/reiserfs/
Ddo_balan.c33 struct buffer_head *bh, int flag) in do_balance_mark_leaf_dirty() argument
72 static int balance_leaf_when_delete(struct tree_balance *tb, int flag) in balance_leaf_when_delete() argument
92 switch (flag) { in balance_leaf_when_delete()
158 (flag == in balance_leaf_when_delete()
159 M_PASTE) ? "PASTE" : ((flag == in balance_leaf_when_delete()
161 "UNKNOWN"), flag); in balance_leaf_when_delete()
251 int flag, /* i - insert, d - delete, c - cut, p - paste in balance_leaf() argument
283 return balance_leaf_when_delete(tb, flag); in balance_leaf()
286 if (flag == M_INSERT && !body) in balance_leaf()
292 if (flag != M_INSERT in balance_leaf()
[all …]
/fs/nfsd/
Dnfs4acl.c252 ace->flag = eflag; in _posix_to_nfsv4_one()
260 ace->flag = eflag; in _posix_to_nfsv4_one()
272 ace->flag = eflag; in _posix_to_nfsv4_one()
280 ace->flag = eflag; in _posix_to_nfsv4_one()
298 ace->flag = eflag; in _posix_to_nfsv4_one()
307 ace->flag = eflag | NFS4_ACE_IDENTIFIER_GROUP; in _posix_to_nfsv4_one()
324 ace->flag = eflag | NFS4_ACE_IDENTIFIER_GROUP; in _posix_to_nfsv4_one()
337 ace->flag = eflag | NFS4_ACE_IDENTIFIER_GROUP; in _posix_to_nfsv4_one()
350 ace->flag = eflag; in _posix_to_nfsv4_one()
719 if (ace->flag & ~NFS4_SUPPORTED_FLAGS) in nfs4_acl_nfsv4_to_posix()
[all …]
/fs/
Dnamei.c1480 int may_open(struct path *path, int acc_mode, int flag) in may_open() argument
1501 flag &= ~O_TRUNC; in may_open()
1506 flag &= ~O_TRUNC; in may_open()
1516 if ((flag & FMODE_WRITE) && !(flag & O_APPEND)) in may_open()
1518 if (flag & O_TRUNC) in may_open()
1523 if (flag & O_NOATIME) in may_open()
1530 error = break_lease(inode, flag); in may_open()
1534 if (flag & O_TRUNC) { in may_open()
1557 if (flag & FMODE_WRITE) in may_open()
1569 int flag, int mode) in __open_namei_create() argument
[all …]
Dioctl.c395 unsigned int flag; in ioctl_fionbio() local
401 flag = O_NONBLOCK; in ioctl_fionbio()
405 flag |= O_NDELAY; in ioctl_fionbio()
408 filp->f_flags |= flag; in ioctl_fionbio()
410 filp->f_flags &= ~flag; in ioctl_fionbio()
417 unsigned int flag; in ioctl_fioasync() local
423 flag = on ? FASYNC : 0; in ioctl_fioasync()
426 if ((flag ^ filp->f_flags) & FASYNC) { in ioctl_fioasync()
Dnamespace.c553 int flag) in clone_mnt() argument
559 if (flag & (CL_SLAVE | CL_PRIVATE)) in clone_mnt()
564 if ((flag & CL_MAKE_SHARED) && !mnt->mnt_group_id) { in clone_mnt()
577 if (flag & CL_SLAVE) { in clone_mnt()
581 } else if (!(flag & CL_PRIVATE)) { in clone_mnt()
582 if ((flag & CL_PROPAGATION) || IS_MNT_SHARED(old)) in clone_mnt()
588 if (flag & CL_MAKE_SHARED) in clone_mnt()
593 if (flag & CL_EXPIRE) { in clone_mnt()
752 int flag; member
766 for (fs_infop = fs_info; fs_infop->flag; fs_infop++) { in show_sb_opts()
[all …]
/fs/dlm/
Ddlm_internal.h306 static inline void rsb_set_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_set_flag() argument
308 __set_bit(flag, &r->res_flags); in rsb_set_flag()
311 static inline void rsb_clear_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_clear_flag() argument
313 __clear_bit(flag, &r->res_flags); in rsb_clear_flag()
316 static inline int rsb_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_flag() argument
318 return test_bit(flag, &r->res_flags); in rsb_flag()
/fs/isofs/
Dutil.c17 int iso_date(char * p, int flag) in iso_date() argument
28 if (flag == 0) tz = p[6]; /* High sierra has no time zone */ in iso_date()

123