Home
last modified time | relevance | path

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

12

/include/linux/
Dthread_info.h64 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) in set_ti_thread_flag() argument
66 set_bit(flag, (unsigned long *)&ti->flags); in set_ti_thread_flag()
69 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) in clear_ti_thread_flag() argument
71 clear_bit(flag, (unsigned long *)&ti->flags); in clear_ti_thread_flag()
74 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) in test_and_set_ti_thread_flag() argument
76 return test_and_set_bit(flag, (unsigned long *)&ti->flags); in test_and_set_ti_thread_flag()
79 static inline int test_and_clear_ti_thread_flag(struct thread_info *ti, int flag) in test_and_clear_ti_thread_flag() argument
81 return test_and_clear_bit(flag, (unsigned long *)&ti->flags); in test_and_clear_ti_thread_flag()
84 static inline int test_ti_thread_flag(struct thread_info *ti, int flag) in test_ti_thread_flag() argument
86 return test_bit(flag, (unsigned long *)&ti->flags); in test_ti_thread_flag()
[all …]
Dkbd_kern.h86 static inline int vc_kbd_mode(struct kbd_struct * kbd, int flag) in vc_kbd_mode() argument
88 return ((kbd->modeflags >> flag) & 1); in vc_kbd_mode()
91 static inline int vc_kbd_led(struct kbd_struct * kbd, int flag) in vc_kbd_led() argument
93 return ((kbd->ledflagstate >> flag) & 1); in vc_kbd_led()
96 static inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag) in set_vc_kbd_mode() argument
98 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode()
101 static inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag) in set_vc_kbd_led() argument
103 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led()
106 static inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag) in clr_vc_kbd_mode() argument
108 kbd->modeflags &= ~(1 << flag); in clr_vc_kbd_mode()
[all …]
Ddelayacct.h53 static inline void delayacct_set_flag(int flag) in delayacct_set_flag() argument
56 current->delays->flags |= flag; in delayacct_set_flag()
59 static inline void delayacct_clear_flag(int flag) in delayacct_clear_flag() argument
62 current->delays->flags &= ~flag; in delayacct_clear_flag()
125 static inline void delayacct_set_flag(int flag) in delayacct_set_flag() argument
127 static inline void delayacct_clear_flag(int flag) in delayacct_clear_flag() argument
Dncp_fs_sb.h143 #define NCP_CLR_FLAG(server, flag) ((server)->flags &= ~(flag)) argument
144 #define NCP_SET_FLAG(server, flag) ((server)->flags |= (flag)) argument
145 #define NCP_IS_FLAG(server, flag) ((server)->flags & (flag)) argument
Dtty_flip.h12 unsigned char ch, char flag) in tty_insert_flip_char() argument
16 tb->flag_buf_ptr[tb->used] = flag; in tty_insert_flip_char()
20 return tty_insert_flip_string_flags(tty, &ch, &flag, 1); in tty_insert_flip_char()
Dcapability.h409 #define cap_raise(c, flag) ((c).cap[CAP_TO_INDEX(flag)] |= CAP_TO_MASK(flag)) argument
410 #define cap_lower(c, flag) ((c).cap[CAP_TO_INDEX(flag)] &= ~CAP_TO_MASK(flag)) argument
411 #define cap_raised(c, flag) ((c).cap[CAP_TO_INDEX(flag)] & CAP_TO_MASK(flag)) argument
Dipv6_route.h40 #define IPV6_EXTRACT_PREF(flag) (((flag) & RTF_PREF_MASK) >> 27) argument
Dcoda_cache.h20 void coda_flag_inode_children(struct inode *inode, int flag);
Dcoda_linux.h90 static __inline__ void coda_flag_inode(struct inode *inode, int flag) in coda_flag_inode() argument
92 ITOC(inode)->c_flags |= flag; in coda_flag_inode()
Dblkdev.h470 static inline void queue_flag_set_unlocked(unsigned int flag, in queue_flag_set_unlocked() argument
473 __set_bit(flag, &q->queue_flags); in queue_flag_set_unlocked()
476 static inline int queue_flag_test_and_clear(unsigned int flag, in queue_flag_test_and_clear() argument
481 if (test_bit(flag, &q->queue_flags)) { in queue_flag_test_and_clear()
482 __clear_bit(flag, &q->queue_flags); in queue_flag_test_and_clear()
489 static inline int queue_flag_test_and_set(unsigned int flag, in queue_flag_test_and_set() argument
494 if (!test_bit(flag, &q->queue_flags)) { in queue_flag_test_and_set()
495 __set_bit(flag, &q->queue_flags); in queue_flag_test_and_set()
502 static inline void queue_flag_set(unsigned int flag, struct request_queue *q) in queue_flag_set() argument
505 __set_bit(flag, &q->queue_flags); in queue_flag_set()
[all …]
Dfile.h35 extern void set_close_on_exec(unsigned int fd, int flag);
Datmlec.h71 unsigned int flag; /* member
Dmmzone.h424 static inline void zone_set_flag(struct zone *zone, zone_flags_t flag) in zone_set_flag() argument
426 set_bit(flag, &zone->flags); in zone_set_flag()
429 static inline int zone_test_and_set_flag(struct zone *zone, zone_flags_t flag) in zone_test_and_set_flag() argument
431 return test_and_set_bit(flag, &zone->flags); in zone_test_and_set_flag()
434 static inline void zone_clear_flag(struct zone *zone, zone_flags_t flag) in zone_clear_flag() argument
436 clear_bit(flag, &zone->flags); in zone_clear_flag()
Dbio.h129 #define bio_flagged(bio, flag) ((bio)->bi_flags & (1 << (flag))) argument
174 #define bio_rw_flagged(bio, flag) ((bio)->bi_rw & (1 << (flag))) argument
Dsched.h941 static inline int test_sd_parent(struct sched_domain *sd, int flag) in test_sd_parent() argument
943 if (sd->parent && (sd->parent->flags & flag)) in test_sd_parent()
2096 static inline void set_tsk_thread_flag(struct task_struct *tsk, int flag) in set_tsk_thread_flag() argument
2098 set_ti_thread_flag(task_thread_info(tsk), flag); in set_tsk_thread_flag()
2101 static inline void clear_tsk_thread_flag(struct task_struct *tsk, int flag) in clear_tsk_thread_flag() argument
2103 clear_ti_thread_flag(task_thread_info(tsk), flag); in clear_tsk_thread_flag()
2106 static inline int test_and_set_tsk_thread_flag(struct task_struct *tsk, int flag) in test_and_set_tsk_thread_flag() argument
2108 return test_and_set_ti_thread_flag(task_thread_info(tsk), flag); in test_and_set_tsk_thread_flag()
2111 static inline int test_and_clear_tsk_thread_flag(struct task_struct *tsk, int flag) in test_and_clear_tsk_thread_flag() argument
2113 return test_and_clear_ti_thread_flag(task_thread_info(tsk), flag); in test_and_clear_tsk_thread_flag()
[all …]
Dkernelcapi.h20 int flag; member
/include/linux/netfilter_ipv4/
Dipt_sctp.h13 u_int8_t flag; member
81 int flag = 1; \
84 flag = 0; \
88 flag; \
94 int flag = 1; \
97 flag = 0; \
101 flag; \
/include/linux/nfsd/
Ddebug.h42 # define ifdebug(flag) if (nfsd_debug & NFSDDBG_##flag) argument
44 # define ifdebug(flag) if (0) argument
/include/linux/lockd/
Ddebug.h26 # define ifdebug(flag) if (unlikely(nlm_debug & NLMDBG_##flag)) argument
28 # define ifdebug(flag) if (0) argument
/include/xen/
Dfeatures.h18 static inline int xen_feature(int flag) in xen_feature() argument
20 return xen_features[flag]; in xen_feature()
/include/asm-frv/
Duaccess.h38 int flag = -EFAULT, tmp; in ___range_ok() local
47 : "=r"(flag), "=&r"(tmp) in ___range_ok()
48 : "r"(addr), "r"(size), "r"(get_addr_limit()), "0"(flag) in ___range_ok()
51 return flag; in ___range_ok()
/include/asm-mn10300/
Duaccess.h54 int flag = 1, tmp; in ___range_ok() local
62 : "=r"(flag), "=&r"(tmp) in ___range_ok()
64 "r"(current_thread_info()->addr_limit.seg), "0"(flag) in ___range_ok()
68 return flag; in ___range_ok()
/include/asm-m32r/
Duaccess.h72 unsigned long flag, roksum; \
80 : "=&r" (flag), "=r" (roksum) \
84 flag; })
/include/linux/netfilter/
Dxt_sctp.h12 u_int8_t flag; member
/include/asm-generic/
Ddma-mapping-broken.h13 gfp_t flag);

12