Home
last modified time | relevance | path

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

12345678910>>...17

/linux-2.4.37.9/include/linux/
Dkbd_kern.h85 static inline int vc_kbd_mode(struct kbd_struct * kbd, int flag) in vc_kbd_mode() argument
87 return ((kbd->modeflags >> flag) & 1); in vc_kbd_mode()
90 static inline int vc_kbd_led(struct kbd_struct * kbd, int flag) in vc_kbd_led() argument
92 return ((kbd->ledflagstate >> flag) & 1); in vc_kbd_led()
95 static inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag) in set_vc_kbd_mode() argument
97 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode()
100 static inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag) in set_vc_kbd_led() argument
102 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led()
105 static inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag) in clr_vc_kbd_mode() argument
107 kbd->modeflags &= ~(1 << flag); in clr_vc_kbd_mode()
[all …]
Dncp_fs_sb.h88 #define NCP_CLR_FLAG(server, flag) ((server)->flags &= ~(flag)) argument
89 #define NCP_SET_FLAG(server, flag) ((server)->flags |= (flag)) argument
90 #define NCP_IS_FLAG(server, flag) ((server)->flags & (flag)) argument
/linux-2.4.37.9/fs/jfs/
Dsuper.c89 if (sbi->flag & JFS_ERR_PANIC) in jfs_handle_error()
92 else if (sbi->flag & JFS_ERR_REMOUNT_RO) { in jfs_handle_error()
185 int *flag) in parse_options() argument
205 *flag &= ~JFS_ERR_REMOUNT_RO; in parse_options()
206 *flag &= ~JFS_ERR_PANIC; in parse_options()
207 *flag |= JFS_ERR_CONTINUE; in parse_options()
209 *flag &= ~JFS_ERR_CONTINUE; in parse_options()
210 *flag &= ~JFS_ERR_PANIC; in parse_options()
211 *flag |= JFS_ERR_REMOUNT_RO; in parse_options()
213 *flag &= ~JFS_ERR_CONTINUE; in parse_options()
[all …]
Djfs_metapage.c51 return test_bit(META_locked, &mp->flag); in metapage_locked()
56 return test_and_set_bit(META_locked, &mp->flag); in trylock_metapage()
61 clear_bit(META_locked, &mp->flag); in unlock_metapage()
110 mp->flag = 0; in init_once()
114 set_bit(META_free, &mp->flag); in init_once()
152 mp->flag = 0; in __free_metapage()
153 set_bit(META_free, &mp->flag); in __free_metapage()
301 if (test_bit(META_stale, &mp->flag)) { in __get_metapage()
309 if (test_bit(META_discard, &mp->flag)) { in __get_metapage()
317 clear_bit(META_discard, &mp->flag); in __get_metapage()
[all …]
Djfs_txnmgr.c329 tid_t txBegin(struct super_block *sb, int flag) in txBegin() argument
335 jfs_info("txBegin: flag = 0x%x", flag); in txBegin()
343 if (!(flag & COMMIT_FORCE)) { in txBegin()
347 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBegin()
348 test_bit(log_QUIESCE, &log->flag)) { in txBegin()
354 if (flag == 0) { in txBegin()
379 if ((tblk->next == 0) && !(flag & COMMIT_FORCE)) { in txBegin()
399 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0; in txBegin()
442 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBeginAnon()
443 test_bit(log_QUIESCE, &log->flag)) { in txBeginAnon()
[all …]
Djfs_txnmgr.h41 u16 flag; /* tx commit state */ member
97 u16 flag; /* 2: lock control */ member
171 u16 flag; /* 2: */ member
187 u16 flag; /* 2: */ member
218 u16 flag; /* 2: */ member
246 u16 flag; /* 2: */ member
270 int flag; /* flags */ member
285 int flag);
287 extern struct tlock *txMaplock(tid_t tid, struct inode *ip, int flag);
289 extern int txCommit(tid_t tid, int nip, struct inode **iplist, int flag);
[all …]
Dxattr.c67 int flag; /* Indicates what storage xattr points to */ member
185 if (!(ji->mode2 & INLINEEA) && !(ji->ea.flag & DXD_INLINE)) in ea_write_inline()
192 ea->flag = DXD_INLINE; in ea_write_inline()
195 ea->flag = 0; in ea_write_inline()
201 if (ji->ea.flag & DXD_INLINE) in ea_write_inline()
306 ea->flag = DXD_EXTENT; in ea_write()
312 if (ji->ea.flag & DXD_INLINE) in ea_write()
381 if (ji->ea.flag & DXD_INLINE) in ea_read()
453 if (ji->ea.flag == 0) in ea_get()
458 ea_buf->flag = 0; in ea_get()
[all …]
Djfs_incore.h121 #define set_cflag(flag, ip) set_bit(flag, &(JFS_IP(ip)->cflag)) argument
122 #define clear_cflag(flag, ip) clear_bit(flag, &(JFS_IP(ip)->cflag)) argument
123 #define test_cflag(flag, ip) test_bit(flag, &(JFS_IP(ip)->cflag)) argument
124 #define test_and_clear_cflag(flag, ip) \ argument
125 test_and_clear_bit(flag, &(JFS_IP(ip)->cflag))
156 unsigned long flag; /* mount time flags */ member
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_logmgr.c181 static void lbmWrite(struct jfs_log * log, struct lbuf * bp, int flag,
183 static void lbmDirectWrite(struct jfs_log * log, struct lbuf * bp, int flag);
184 static int lbmIOWait(struct lbuf * bp, int flag);
372 if (tlck->flag & tlckPAGELOCK) { in lmWriteRecord()
377 else if (tlck->flag & tlckINODELOCK) { in lmWriteRecord()
385 else if (tlck->flag & tlckINLINELOCK) { in lmWriteRecord()
510 tblk->flag = tblkGC_QUEUE; in lmWriteRecord()
593 tblk->flag |= tblkGC_EOP; in lmNextPage()
668 if (tblk->flag & tblkGC_COMMITTED) { in lmGroupCommit()
669 if (tblk->flag & tblkGC_ERROR) in lmGroupCommit()
[all …]
Djfs_metapage.h33 unsigned long flag; /* See Below */ member
69 #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()
Djfs_xtree.c54 (XAD)->flag = (FLAG);\
90 u8 flag; member
114 s64 xoff, int *cmpp, struct btstack * btstack, int flag);
132 int *cmpp, struct btstack * btstack, int flag);
213 *pflag = xad->flag; in xtLookup()
249 struct xadlist * xadlist, int flag) in xtLookupList() argument
301 if (p->header.flag & BT_ROOT) in xtLookupList()
384 if (p->header.flag & BT_ROOT) in xtLookupList()
404 XT_PUTENTRY(pxd, xad->flag, pstart, plen, paddr); in xtLookupList()
445 if (p->header.flag & BT_ROOT) in xtLookupList()
[all …]
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) ?\
260 ino_t * data, struct btstack * btstack, int flag);
266 ino_t * data, int flag);
269 ino_t * orig_ino, ino_t new_ino, int flag);
/linux-2.4.37.9/drivers/s390/
Ds390dyn.c35 (pdevreg->flag & DEVREG_TYPE_DEVNO) && in s390_device_register_internal()
36 (drinfo->flag & DEVREG_TYPE_DEVNO)) in s390_device_register_internal()
39 if (drinfo->flag == (DEVREG_TYPE_DEVCHARS | in s390_device_register_internal()
60 !(drinfo->flag & (DEVREG_TYPE_DEVNO | DEVREG_TYPE_DEVCHARS))) in s390_device_register()
107 int flag; in s390_search_devreg_internal() local
109 flag = pdevreg->flag; in s390_search_devreg_internal()
111 if (flag & DEVREG_TYPE_DEVNO) { in s390_search_devreg_internal()
115 } else if (flag & DEVREG_TYPE_DEVCHARS) { in s390_search_devreg_internal()
116 if ( (flag & DEVREG_MATCH_CU_TYPE) && in s390_search_devreg_internal()
119 if ( (flag & DEVREG_MATCH_CU_MODEL) && in s390_search_devreg_internal()
[all …]
/linux-2.4.37.9/drivers/isdn/hisax/
Disdnl2.c111 test_and_set_bit(FLG_PEER_BUSY, &l2->flag); in set_peer_busy()
113 test_and_set_bit(FLG_L2BLOCK, &l2->flag); in set_peer_busy()
118 if (test_and_clear_bit(FLG_PEER_BUSY, &l2->flag)) in clear_peer_busy()
119 test_and_clear_bit(FLG_L2BLOCK, &l2->flag); in clear_peer_busy()
166 if(test_bit(FLG_MOD128, &st->l2.flag)) in cansend()
170 return ((p1 < st->l2.window) && !test_bit(FLG_PEER_BUSY, &st->l2.flag)); in cansend()
176 test_and_clear_bit(FLG_ACK_PEND, &l2->flag); in clear_exception()
177 test_and_clear_bit(FLG_REJEXC, &l2->flag); in clear_exception()
178 test_and_clear_bit(FLG_OWN_BUSY, &l2->flag); in clear_exception()
185 return (((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + in l2headersize()
[all …]
/linux-2.4.37.9/drivers/isdn/avmb1/
Db1.c372 __u8 flag; in b1_parse_version() local
396 flag = ((__u8 *)(profp->manu))[1]; in b1_parse_version()
397 switch (flag) { in b1_parse_version()
407 default: sprintf(cinfo->cardname, "AVM?%u", (unsigned int)flag); break; in b1_parse_version()
412 flag = ((__u8 *)(profp->manu))[3]; in b1_parse_version()
413 if (flag) in b1_parse_version()
417 (flag & 0x01) ? " DSS1" : "", in b1_parse_version()
418 (flag & 0x02) ? " CT1" : "", in b1_parse_version()
419 (flag & 0x04) ? " VN3" : "", in b1_parse_version()
420 (flag & 0x08) ? " NI1" : "", in b1_parse_version()
[all …]
/linux-2.4.37.9/fs/smbfs/
Dgetopt.c26 char **optopt, char **optarg, unsigned long *flag, in smb_getopt() argument
49 if (!opts[i].flag && (!val || !*val)) { in smb_getopt()
55 if (flag && opts[i].flag) in smb_getopt()
56 *flag |= opts[i].flag; in smb_getopt()
/linux-2.4.37.9/drivers/net/wan/8253x/
D8253xdbg.c37 int flag = 1; in dump_ati_adapter_registers() local
41 if(flag) in dump_ati_adapter_registers()
52 flag = 1; in dump_ati_adapter_registers()
57 flag = 0; in dump_ati_adapter_registers()
60 if(flag == 0) in dump_ati_adapter_registers()
/linux-2.4.37.9/arch/arm/nwfpe/
Dsoftfloat.c78 static int32 roundAndPackInt32( flag zSign, bits64 absZ ) in roundAndPackInt32()
81 flag roundNearestEven; in roundAndPackInt32()
146 INLINE flag extractFloat32Sign( float32 a )
185 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32()
225 static float32 roundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) in roundAndPackFloat32()
228 flag roundNearestEven; in roundAndPackFloat32()
230 flag isTiny; in roundAndPackFloat32()
288 normalizeRoundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) in normalizeRoundAndPackFloat32()
327 INLINE flag extractFloat64Sign( float64 a )
366 INLINE float64 packFloat64( flag zSign, int16 zExp, bits64 zSig ) in packFloat64()
[all …]
Dsoftfloat.h234 static inline flag extractFloat32Sign(float32 a) in extractFloat32Sign()
239 static inline flag float32_eq_nocheck(float32 a, float32 b) in float32_eq_nocheck()
244 static inline flag float32_lt_nocheck(float32 a, float32 b) in float32_lt_nocheck()
246 flag aSign, bSign; in float32_lt_nocheck()
255 static inline flag extractFloat64Sign(float64 a) in extractFloat64Sign()
260 static inline flag float64_eq_nocheck(float64 a, float64 b) in float64_eq_nocheck()
265 static inline flag float64_lt_nocheck(float64 a, float64 b) in float64_lt_nocheck()
267 flag aSign, bSign; in float64_lt_nocheck()
/linux-2.4.37.9/fs/openpromfs/
Dinode.c41 u32 flag; member
132 op->flag = 0; in property_read()
143 op->flag |= OPP_STRING; in property_read()
149 op->flag |= OPP_STRINGLIST; in property_read()
151 op->flag |= OPP_ASCIIZ; in property_read()
155 op->flag |= (OPP_STRING|OPP_ASCIIZ); in property_read()
158 op->flag &= ~(OPP_STRING|OPP_STRINGLIST); in property_read()
160 op->flag |= OPP_HEXSTRING; in property_read()
162 op->flag |= OPP_BINARY; in property_read()
165 if (op->flag & OPP_STRINGLIST) in property_read()
[all …]
/linux-2.4.37.9/drivers/net/skfp/
Dqueue.c150 void do_smt_flag(smc,flag,value) in do_smt_flag() argument
152 char *flag ;
165 if (!strcmp(flag,"smt"))
167 else if (!strcmp(flag,"smtf"))
169 else if (!strcmp(flag,"pcm"))
171 else if (!strcmp(flag,"rmt"))
173 else if (!strcmp(flag,"cfm"))
175 else if (!strcmp(flag,"ecm"))
/linux-2.4.37.9/fs/
Dioctl.c52 unsigned int flag; in sys_ioctl() local
72 flag = O_NONBLOCK; in sys_ioctl()
76 flag |= O_NDELAY; in sys_ioctl()
79 filp->f_flags |= flag; in sys_ioctl()
81 filp->f_flags &= ~flag; in sys_ioctl()
87 flag = on ? FASYNC : 0; in sys_ioctl()
90 if ((flag ^ filp->f_flags) & FASYNC) { in sys_ioctl()
/linux-2.4.37.9/include/asm-arm/proc-armv/
Duaccess.h26 unsigned long flag, sum; \
28 : "=&r" (flag), "=&r" (sum) \
31 flag; })
34 unsigned long flag; \
36 : "=&r" (flag) \
39 (flag == 0); })
/linux-2.4.37.9/include/asm-arm/proc-armo/
Duaccess.h35 unsigned long flag, sum; \
37 : "=&r" (flag), "=&r" (sum) \
40 flag; })
43 unsigned long flag; \
45 : "=&r" (flag) \
48 (flag == 0); })

12345678910>>...17