/kernel/linux/linux-5.10/include/linux/ |
D | thread_info.h | 66 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) in set_ti_thread_flag() argument 68 set_bit(flag, (unsigned long *)&ti->flags); in set_ti_thread_flag() 71 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) in clear_ti_thread_flag() argument 73 clear_bit(flag, (unsigned long *)&ti->flags); in clear_ti_thread_flag() 76 static inline void update_ti_thread_flag(struct thread_info *ti, int flag, in update_ti_thread_flag() argument 80 set_ti_thread_flag(ti, flag); in update_ti_thread_flag() 82 clear_ti_thread_flag(ti, flag); in update_ti_thread_flag() 85 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) in test_and_set_ti_thread_flag() argument 87 return test_and_set_bit(flag, (unsigned long *)&ti->flags); in test_and_set_ti_thread_flag() 90 static inline int test_and_clear_ti_thread_flag(struct thread_info *ti, int flag) in test_and_clear_ti_thread_flag() argument [all …]
|
D | kbd_kern.h | 83 static inline int vc_kbd_mode(struct kbd_struct * kbd, int flag) in vc_kbd_mode() argument 85 return ((kbd->modeflags >> flag) & 1); in vc_kbd_mode() 88 static inline int vc_kbd_led(struct kbd_struct * kbd, int flag) in vc_kbd_led() argument 90 return ((kbd->ledflagstate >> flag) & 1); in vc_kbd_led() 93 static inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag) in set_vc_kbd_mode() argument 95 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode() 98 static inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag) in set_vc_kbd_led() argument 100 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led() 103 static inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag) in clr_vc_kbd_mode() argument 105 kbd->modeflags &= ~(1 << flag); in clr_vc_kbd_mode() [all …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | mmflags.h | 59 #define IF_HAVE_PG_PURGEABLE(flag,string) ,{1UL << flag, string} argument 61 #define IF_HAVE_PG_PURGEABLE(flag,string) argument 65 #define IF_HAVE_PG_XPM_INTEGRITY(flag,string) ,{1UL << flag, string} argument 67 #define IF_HAVE_PG_XPM_INTEGRITY(flag,string) argument 71 #define IF_HAVE_PG_MLOCK(flag,string) ,{1UL << flag, string} argument 73 #define IF_HAVE_PG_MLOCK(flag,string) argument 77 #define IF_HAVE_PG_UNCACHED(flag,string) ,{1UL << flag, string} argument 79 #define IF_HAVE_PG_UNCACHED(flag,string) argument 83 #define IF_HAVE_PG_HWPOISON(flag,string) ,{1UL << flag, string} argument 85 #define IF_HAVE_PG_HWPOISON(flag,string) argument [all …]
|
/kernel/liteos_a/kernel/base/misc/ |
D | task_shellcmd.c | 122 STATIC VOID ProcessInfoTitle(VOID *seqBuf, UINT16 flag) in ProcessInfoTitle() argument 125 if (flag & OS_PROCESS_INFO_ALL) { in ProcessInfoTitle() 127 if (flag & OS_PROCESS_MEM_INFO) { in ProcessInfoTitle() 142 STATIC VOID ProcessDataShow(const ProcessInfo *processInfo, VOID *seqBuf, UINT16 flag) in ProcessDataShow() argument 150 if (flag & OS_PROCESS_INFO_ALL) { in ProcessDataShow() 152 if (flag & OS_PROCESS_MEM_INFO) { in ProcessDataShow() 170 STATIC VOID AllProcessDataShow(const ProcessInfo *pcbArray, VOID *seqBuf, UINT16 flag) in AllProcessDataShow() argument 177 ProcessDataShow(processInfo, seqBuf, flag); in AllProcessDataShow() 181 STATIC VOID ProcessInfoShow(const ProcessInfo *pcbArray, VOID *seqBuf, UINT16 flag) in ProcessInfoShow() argument 190 ProcessInfoTitle(seqBuf, flag); in ProcessInfoShow() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
D | atomisp_cmd.h | 105 int atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag, 111 int atomisp_low_light(struct atomisp_sub_device *asd, int flag, 118 int atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *arg); 120 int atomisp_formats(struct atomisp_sub_device *asd, int flag, 126 int atomisp_nr(struct atomisp_sub_device *asd, int flag, 132 int atomisp_tnr(struct atomisp_sub_device *asd, int flag, 138 int atomisp_black_level(struct atomisp_sub_device *asd, int flag, 144 int atomisp_ee(struct atomisp_sub_device *asd, int flag, 150 int atomisp_gamma(struct atomisp_sub_device *asd, int flag, 155 int atomisp_ctc(struct atomisp_sub_device *asd, int flag, [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | trace_iowait.h | 17 TP_PROTO(struct iowait *wait, u32 flag), 18 TP_ARGS(wait, flag), 22 __field(u32, flag) 28 __entry->flag = (1 << flag); 36 __entry->flag 41 TP_PROTO(struct iowait *wait, u32 flag), 42 TP_ARGS(wait, flag)); 45 TP_PROTO(struct iowait *wait, u32 flag), 46 TP_ARGS(wait, flag));
|
D | iowait.c | 12 void iowait_set_flag(struct iowait *wait, u32 flag) in iowait_set_flag() argument 14 trace_hfi1_iowait_set(wait, flag); in iowait_set_flag() 15 set_bit(flag, &wait->flags); in iowait_set_flag() 18 bool iowait_flag_set(struct iowait *wait, u32 flag) in iowait_flag_set() argument 20 return test_bit(flag, &wait->flags); in iowait_flag_set() 23 inline void iowait_clear_flag(struct iowait *wait, u32 flag) in iowait_clear_flag() argument 25 trace_hfi1_iowait_clear(wait, flag); in iowait_clear_flag() 26 clear_bit(flag, &wait->flags); in iowait_clear_flag()
|
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
D | layer2.c | 113 return ((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + in l2headersize() 114 (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1); in l2headersize() 120 return test_bit(FLG_LAPD, &l2->flag) ? 2 : 1; in l2addrsize() 196 if (test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in l2down_raw() 241 if (test_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm() 257 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm() 262 if (!test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm() 269 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm() 272 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm() 308 if (test_bit(FLG_LAPD, &l2->flag) && in l2mgr() [all …]
|
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
D | iscsi_target_tpg.c | 697 u32 flag) in iscsit_ta_generate_node_acls() argument 701 if ((flag != 0) && (flag != 1)) { in iscsit_ta_generate_node_acls() 702 pr_err("Illegal value %d\n", flag); in iscsit_ta_generate_node_acls() 706 a->generate_node_acls = flag; in iscsit_ta_generate_node_acls() 710 if (flag == 1 && a->cache_dynamic_acls == 0) { in iscsit_ta_generate_node_acls() 746 u32 flag) in iscsit_ta_cache_dynamic_acls() argument 750 if ((flag != 0) && (flag != 1)) { in iscsit_ta_cache_dynamic_acls() 751 pr_err("Illegal value %d\n", flag); in iscsit_ta_cache_dynamic_acls() 755 if (a->generate_node_acls == 1 && flag == 0) { in iscsit_ta_cache_dynamic_acls() 761 a->cache_dynamic_acls = flag; in iscsit_ta_cache_dynamic_acls() [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp_lp.c | 78 u32 flag; member 100 lp->flag = 0; in tcp_lp_init() 123 if (!(lp->flag & LP_WITHIN_INF)) in tcp_lp_cong_avoid() 166 lp->flag |= LP_VALID_RHZ; in tcp_lp_remote_hz_estimator() 168 lp->flag &= ~LP_VALID_RHZ; in tcp_lp_remote_hz_estimator() 195 if (lp->flag & LP_VALID_RHZ) { in tcp_lp_owd_calculator() 204 lp->flag |= LP_VALID_OWD; in tcp_lp_owd_calculator() 206 lp->flag &= ~LP_VALID_OWD; in tcp_lp_owd_calculator() 227 if (!(lp->flag & LP_VALID_RHZ) || !(lp->flag & LP_VALID_OWD)) in tcp_lp_rtt_sample() 281 lp->flag |= LP_WITHIN_INF; in tcp_lp_pkts_acked() [all …]
|
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
D | message_verify.c | 23 int flag, cmd; in hmdfs_message_verify_init() local 31 for (flag = 0; flag < C_FLAG_SIZE; flag++) { in hmdfs_message_verify_init() 33 message_length[flag][cmd][HMDFS_MESSAGE_MIN_INDEX] = 1; in hmdfs_message_verify_init() 34 message_length[flag][cmd][HMDFS_MESSAGE_MAX_INDEX] = 0; in hmdfs_message_verify_init() 35 message_length[flag][cmd][HMDFS_MESSAGE_LEN_JUDGE_INDEX] = in hmdfs_message_verify_init() 370 static int hmdfs_open_verify(int flag, size_t msg_len, void *msg) in hmdfs_open_verify() argument 375 if (flag == C_REQUEST) in hmdfs_open_verify() 409 static int hmdfs_atomic_open_verify(int flag, size_t msg_len, void *msg) in hmdfs_atomic_open_verify() argument 414 if (flag == C_REQUEST) in hmdfs_atomic_open_verify() 437 static int hmdfs_iterate_verify(int flag, size_t msg_len, void *msg) in hmdfs_iterate_verify() argument [all …]
|
/kernel/linux/linux-5.10/fs/jfs/ |
D | super.c | 71 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 …]
|
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() 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 …]
|
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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ptdump/ |
D | ptdump.c | 133 *flag, u64 pte, int num) in dump_flag_info() 137 for (i = 0; i < num; i++, flag++) { in dump_flag_info() 142 if (flag->mask == 0) in dump_flag_info() 145 if (flag->is_val) { in dump_flag_info() 146 val = pte & flag->val; in dump_flag_info() 147 if (flag->shift) in dump_flag_info() 148 val = val >> flag->shift; in dump_flag_info() 149 pt_dump_seq_printf(st->seq, " %s:%llx", flag->set, val); in dump_flag_info() 151 if ((pte & flag->mask) == flag->val) in dump_flag_info() 152 s = flag->set; in dump_flag_info() [all …]
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | node.h | 58 unsigned char flag; /* for node information bits */ member 92 ne->ni.flag |= mask; in set_nat_flag() 94 ne->ni.flag &= ~mask; in set_nat_flag() 100 return ne->ni.flag & mask; in get_nat_flag() 254 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node() local 255 return flag >> OFFSET_BIT_SHIFT; in ofs_of_node() 279 old_flag = le32_to_cpu(rn->footer.flag); in fill_node_footer() 285 rn->footer.flag = cpu_to_le32((ofs << OFFSET_BIT_SHIFT) | in fill_node_footer() 409 return le32_to_cpu(rn->footer.flag) & (1 << type); in is_node() 434 unsigned int flag = le32_to_cpu(rn->footer.flag); in set_cold_node() local [all …]
|
/kernel/linux/linux-5.10/lib/raid6/ |
D | x86.h | 57 static inline int boot_cpu_has(int flag) in boot_cpu_has() argument 61 eax = (flag & 0x100) ? 7 : in boot_cpu_has() 62 (flag & 0x20) ? 0x80000001 : 1; in boot_cpu_has() 68 return ((flag & 0x100 ? ebx : in boot_cpu_has() 69 (flag & 0x80) ? ecx : edx) >> (flag & 31)) & 1; in boot_cpu_has()
|
/kernel/linux/linux-5.10/scripts/coccinelle/api/ |
D | memdup.cocci | 19 expression flag; 23 to = \(kmalloc@p\|kzalloc@p\)(strlen(from) + 1,flag); 27 expression flag,E1; 33 to = \(kmalloc@p\|kzalloc@p\)(x,flag); 36 expression from,to,size,flag; 41 - to = \(kmalloc@p\|kzalloc@p\)(size,flag); 42 + to = kmemdup(from,size,flag); 47 expression from,to,size,flag; 52 * to = \(kmalloc@p\|kzalloc@p\)(size,flag);
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/ |
D | process_test_067.cpp | 103 static int TestSpawnAttr(short flag) in TestSpawnAttr() argument 121 ret = posix_spawnattr_setflags(&attr, flag); in TestSpawnAttr() 127 ICUNIT_GOTO_EQUAL(iflag, flag, iflag, EXIT); in TestSpawnAttr() 129 if (POSIX_SPAWN_SETPGROUP == flag) { in TestSpawnAttr() 132 } else if (POSIX_SPAWN_SETSCHEDPARAM == flag) { in TestSpawnAttr() 135 } else if (POSIX_SPAWN_SETSCHEDULER == flag) { in TestSpawnAttr() 138 } else if (POSIX_SPAWN_RESETIDS == flag) { in TestSpawnAttr() 156 if (POSIX_SPAWN_SETPGROUP == flag) { in TestSpawnAttr() 158 } else if (POSIX_SPAWN_SETSCHEDPARAM == flag) { in TestSpawnAttr() 160 } else if (POSIX_SPAWN_SETSCHEDULER == flag) { in TestSpawnAttr() [all …]
|
D | process_test_066.cpp | 103 static int TestSpawnAttr(short flag) in TestSpawnAttr() argument 120 ret = posix_spawnattr_setflags(&attr, flag); in TestSpawnAttr() 126 ICUNIT_GOTO_EQUAL(iflag, flag, iflag, EXIT); in TestSpawnAttr() 128 if (POSIX_SPAWN_SETPGROUP == flag) { in TestSpawnAttr() 131 } else if (POSIX_SPAWN_SETSCHEDPARAM == flag) { in TestSpawnAttr() 134 } else if (POSIX_SPAWN_SETSCHEDULER == flag) { in TestSpawnAttr() 137 } else if (POSIX_SPAWN_RESETIDS == flag) { in TestSpawnAttr() 158 if (POSIX_SPAWN_SETPGROUP == flag) { in TestSpawnAttr() 160 } else if (POSIX_SPAWN_SETSCHEDPARAM == flag) { in TestSpawnAttr() 162 } else if (POSIX_SPAWN_SETSCHEDULER == flag) { in TestSpawnAttr() [all …]
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | sta_info.h | 685 enum ieee80211_sta_info_flags flag) in set_sta_flag() argument 687 WARN_ON(flag == WLAN_STA_AUTH || in set_sta_flag() 688 flag == WLAN_STA_ASSOC || in set_sta_flag() 689 flag == WLAN_STA_AUTHORIZED); in set_sta_flag() 690 set_bit(flag, &sta->_flags); in set_sta_flag() 694 enum ieee80211_sta_info_flags flag) in clear_sta_flag() argument 696 WARN_ON(flag == WLAN_STA_AUTH || in clear_sta_flag() 697 flag == WLAN_STA_ASSOC || in clear_sta_flag() 698 flag == WLAN_STA_AUTHORIZED); in clear_sta_flag() 699 clear_bit(flag, &sta->_flags); in clear_sta_flag() [all …]
|
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4/ |
D | softfloat.c | 44 typedef char flag; typedef 72 flag extractFloat64Sign(float64 a); 75 flag extractFloat32Sign(float32 a); 77 float64 packFloat64(flag zSign, int16 zExp, bits64 zSig); 79 float32 packFloat32(flag zSign, int16 zExp, bits32 zSig); 98 static float64 normalizeRoundAndPackFloat64(flag zSign, int16 zExp, 100 static float64 subFloat64Sigs(float64 a, float64 b, flag zSign); 101 static float64 addFloat64Sigs(float64 a, float64 b, flag zSign); 102 static float32 roundAndPackFloat32(flag zSign, int16 zExp, bits32 zSig); 103 static float32 normalizeRoundAndPackFloat32(flag zSign, int16 zExp, [all …]
|
/kernel/linux/linux-5.10/arch/arm/nwfpe/ |
D | softfloat.h | 229 extern flag floatx80_is_nan(floatx80); 233 static inline flag extractFloat32Sign(float32 a) in extractFloat32Sign() 238 static inline flag float32_eq_nocheck(float32 a, float32 b) in float32_eq_nocheck() 243 static inline flag float32_lt_nocheck(float32 a, float32 b) in float32_lt_nocheck() 245 flag aSign, bSign; in float32_lt_nocheck() 254 static inline flag extractFloat64Sign(float64 a) in extractFloat64Sign() 259 static inline flag float64_eq_nocheck(float64 a, float64 b) in float64_eq_nocheck() 264 static inline flag float64_lt_nocheck(float64 a, float64 b) in float64_lt_nocheck() 266 flag aSign, bSign; in float64_lt_nocheck() 275 extern flag float32_is_nan( float32 a ); [all …]
|
/kernel/linux/linux-5.10/sound/firewire/oxfw/ |
D | oxfw-proc.c | 16 char flag; in proc_read_formation() local 38 flag = '*'; in proc_read_formation() 40 flag = ' '; in proc_read_formation() 42 snd_iprintf(buffer, "%c\t%d\t%d\t%d\n", flag, in proc_read_formation() 68 flag = '*'; in proc_read_formation() 70 flag = ' '; in proc_read_formation() 72 snd_iprintf(buffer, "%c\t%d\t%d\t%d\n", flag, in proc_read_formation()
|