/Linux-v5.4/include/linux/ |
D | thread_info.h | 49 * flag set/clear/test wrappers 53 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) in set_ti_thread_flag() argument 55 set_bit(flag, (unsigned long *)&ti->flags); in set_ti_thread_flag() 58 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) in clear_ti_thread_flag() argument 60 clear_bit(flag, (unsigned long *)&ti->flags); in clear_ti_thread_flag() 63 static inline void update_ti_thread_flag(struct thread_info *ti, int flag, in update_ti_thread_flag() argument 67 set_ti_thread_flag(ti, flag); in update_ti_thread_flag() 69 clear_ti_thread_flag(ti, flag); in update_ti_thread_flag() 72 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) in test_and_set_ti_thread_flag() argument 74 return test_and_set_bit(flag, (unsigned long *)&ti->flags); in test_and_set_ti_thread_flag() [all …]
|
D | kbd_kern.h | 17 * kbd->xxx contains the VC-local things (flag settings etc..) 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 [all …]
|
/Linux-v5.4/net/mac80211/ |
D | debugfs.c | 225 #define FLAG(F) [IEEE80211_HW_##F] = #F macro 226 FLAG(HAS_RATE_CONTROL), 227 FLAG(RX_INCLUDES_FCS), 228 FLAG(HOST_BROADCAST_PS_BUFFERING), 229 FLAG(SIGNAL_UNSPEC), 230 FLAG(SIGNAL_DBM), 231 FLAG(NEED_DTIM_BEFORE_ASSOC), 232 FLAG(SPECTRUM_MGMT), 233 FLAG(AMPDU_AGGREGATION), 234 FLAG(SUPPORTS_PS), [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/mmc/ |
D | mmc-controller.yaml | 34 $ref: /schemas/types.yaml#/definitions/flag 43 $ref: /schemas/types.yaml#/definitions/flag 59 # using the GPIO_ACTIVE_LOW flag. This creates an ambiguity in the 62 # example leaving the GPIO_ACTIVE_LOW flag clear and specifying the 67 $ref: /schemas/types.yaml#/definitions/flag 72 $ref: /schemas/types.yaml#/definitions/flag 95 $ref: /schemas/types.yaml#/definitions/flag 115 $ref: /schemas/types.yaml#/definitions/flag 121 $ref: /schemas/types.yaml#/definitions/flag 126 $ref: /schemas/types.yaml#/definitions/flag [all …]
|
/Linux-v5.4/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); 32 "iowait 0x%lx qp %u flags 0x%lx flag 0x%x", 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));
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/drivers/clk/bcm/ |
D | clk-kona.h | 37 * Utility macros for object flag management. If possible, flags 40 #define FLAG(type, flag) BCM_CLK_ ## type ## _FLAGS_ ## flag argument 41 #define FLAG_SET(obj, type, flag) ((obj)->flags |= FLAG(type, flag)) argument 42 #define FLAG_CLEAR(obj, type, flag) ((obj)->flags &= ~(FLAG(type, flag))) argument 43 #define FLAG_FLIP(obj, type, flag) ((obj)->flags ^= FLAG(type, flag)) argument 44 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) argument 165 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \ 166 FLAG(GATE, SW_MANAGED)|FLAG(GATE, ENABLED)| \ 167 FLAG(GATE, EXISTS), \ 177 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \ [all …]
|
/Linux-v5.4/tools/lib/traceevent/ |
D | event-parse-api.c | 54 * tep_set_flag - set event parser flag 56 * @flag: flag, or combination of flags to be set 59 * This sets a flag or combination of flags from enum tep_flag 61 void tep_set_flag(struct tep_handle *tep, int flag) in tep_set_flag() argument 64 tep->flags |= flag; in tep_set_flag() 68 * tep_clear_flag - clear event parser flag 70 * @flag: flag to be cleared 72 * This clears a tep flag 74 void tep_clear_flag(struct tep_handle *tep, enum tep_flag flag) in tep_clear_flag() argument 77 tep->flags &= ~flag; in tep_clear_flag() [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/usb/ |
D | generic-ehci.yaml | 40 $ref: /schemas/types.yaml#/definitions/flag 42 Set this flag for HCDs with big endian descriptors and big 46 $ref: /schemas/types.yaml#/definitions/flag 48 Set this flag for HCDs with big endian descriptors. 51 $ref: /schemas/types.yaml#/definitions/flag 53 Set this flag for HCDs with big endian registers. 56 $ref: /schemas/types.yaml#/definitions/flag 58 Set this flag if EHCI has a Transaction Translator built into 62 $ref: /schemas/types.yaml#/definitions/flag 64 Set this flag to force EHCI reset after resume.
|
D | generic-ohci.yaml | 40 $ref: /schemas/types.yaml#/definitions/flag 42 Set this flag for HCDs with big endian descriptors and big 46 $ref: /schemas/types.yaml#/definitions/flag 48 Set this flag for HCDs with big endian descriptors. 51 $ref: /schemas/types.yaml#/definitions/flag 53 Set this flag for HCDs with big endian registers. 56 $ref: /schemas/types.yaml#/definitions/flag 61 $ref: /schemas/types.yaml#/definitions/flag
|
/Linux-v5.4/include/uapi/linux/ |
D | tipc_netlink.h | 105 TIPC_NLA_UDP_MULTI_REMOTEIP, /* flag */ 116 TIPC_NLA_SOCK_HAS_PUBL, /* flag */ 123 TIPC_NLA_SOCK_PAD, /* flag */ 136 TIPC_NLA_LINK_BROADCAST, /* flag */ 137 TIPC_NLA_LINK_UP, /* flag */ 138 TIPC_NLA_LINK_ACTIVE, /* flag */ 162 TIPC_NLA_NODE_UP, /* flag */ 194 TIPC_NLA_MON_ACTIVE, /* flag */ 228 TIPC_NLA_MON_PEER_UP, /* flag */ 229 TIPC_NLA_MON_PEER_HEAD, /* flag */ [all …]
|
/Linux-v5.4/arch/powerpc/platforms/pasemi/ |
D | dma_lib.c | 368 /* pasemi_dma_alloc_flag - Allocate a flag (event) for channel synchronization 370 * Allocates a flag for use with channel synchronization (event descriptors). 371 * Returns allocated flag (0-63), < 0 on error. 389 /* pasemi_dma_free_flag - Deallocates a flag (event) 390 * @flag: Flag number to deallocate 392 * Frees up a flag so it can be reused for other purposes. 394 void pasemi_dma_free_flag(int flag) in pasemi_dma_free_flag() argument 396 BUG_ON(test_bit(flag, flags_free)); in pasemi_dma_free_flag() 397 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_free_flag() 398 set_bit(flag, flags_free); in pasemi_dma_free_flag() [all …]
|
/Linux-v5.4/drivers/target/iscsi/ |
D | iscsi_target_tpg.c | 694 u32 flag) in iscsit_ta_generate_node_acls() argument 698 if ((flag != 0) && (flag != 1)) { in iscsit_ta_generate_node_acls() 699 pr_err("Illegal value %d\n", flag); in iscsit_ta_generate_node_acls() 703 a->generate_node_acls = flag; in iscsit_ta_generate_node_acls() 707 if (flag == 1 && a->cache_dynamic_acls == 0) { in iscsit_ta_generate_node_acls() 743 u32 flag) in iscsit_ta_cache_dynamic_acls() argument 747 if ((flag != 0) && (flag != 1)) { in iscsit_ta_cache_dynamic_acls() 748 pr_err("Illegal value %d\n", flag); in iscsit_ta_cache_dynamic_acls() 752 if (a->generate_node_acls == 1 && flag == 0) { in iscsit_ta_cache_dynamic_acls() 758 a->cache_dynamic_acls = flag; in iscsit_ta_cache_dynamic_acls() [all …]
|
/Linux-v5.4/Documentation/media/uapi/v4l/ |
D | buffer.rst | 59 ``V4L2_CTRL_FLAG_MODIFY_LAYOUT`` flag. 65 ``V4L2_CTRL_FLAG_GRABBED`` flag when calling 83 allocation and the ``V4L2_CTRL_FLAG_GRABBED`` flag is cleared once the 92 allocated. After freeing all buffers the ``V4L2_CTRL_FLAG_GRABBED`` flag 233 - When the ``V4L2_BUF_FLAG_TIMECODE`` flag is set in ``flags``, this 317 - The file descriptor of the request to queue the buffer to. If the flag 319 queued to this request. If the flag is not set, then this field will 322 The ``V4L2_BUF_FLAG_REQUEST_FD`` flag and this field are only used by 498 * .. _`V4L2-BUF-FLAG-MAPPED`: 504 Drivers set or clear this flag when the [all …]
|
/Linux-v5.4/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);
|
D | kstrdup.cocci | 19 expression flag,E1,E2; 23 - to = kmalloc(strlen(from) + 1,flag); 24 + to = kstrdup(from, flag); 32 expression flag,E1,E2,E3; 38 - to = \(kmalloc\|kzalloc\)(x,flag); 39 + to = kstrdup(from, flag); 49 expression flag,E1,E2; 54 * to = kmalloc@p1(strlen(from) + 1,flag); 62 expression flag,E1,E2,E3; 69 * to = \(kmalloc@p1\|kzalloc@p2\)(x,flag);
|
/Linux-v5.4/net/ipv4/ |
D | tcp_lp.c | 51 * We create this set of state flag mainly for debugging. 62 * @flag: TCP-LP state flag 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() [all …]
|
/Linux-v5.4/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 | 341 * flag - force for nested tx; 345 * note: flag force allows to start tx for nested tx 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() [all …]
|
/Linux-v5.4/fs/f2fs/ |
D | node.h | 38 /* For flag in struct node_info */ 55 unsigned char flag; /* for node information bits */ member 81 /* should not copy flag here */ in copy_node_info() 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() 281 /* should remain old flag bits such as COLD_BIT_SHIFT */ in fill_node_footer() [all …]
|
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | channel.h | 25 #define BRCMS_EIRP 0x01 /* Flag for EIRP */ 26 #define BRCMS_DFS_TPC 0x02 /* Flag for DFS TPC */ 27 #define BRCMS_NO_OFDM 0x04 /* Flag for No OFDM */ 28 #define BRCMS_NO_40MHZ 0x08 /* Flag for No MIMO 40MHz */ 29 #define BRCMS_NO_MIMO 0x10 /* Flag for No MIMO, 20 or 40 MHz */ 30 #define BRCMS_RADAR_TYPE_EU 0x20 /* Flag for EU */ 31 #define BRCMS_DFS_FCC BRCMS_DFS_TPC /* Flag for DFS FCC */ 33 #define BRCMS_DFS_EU (BRCMS_DFS_TPC | BRCMS_RADAR_TYPE_EU) /* Flag for DFS EU */
|
/Linux-v5.4/include/trace/events/ |
D | mmflags.h | 59 #define IF_HAVE_PG_MLOCK(flag,string) ,{1UL << flag, string} argument 61 #define IF_HAVE_PG_MLOCK(flag,string) argument 65 #define IF_HAVE_PG_UNCACHED(flag,string) ,{1UL << flag, string} argument 67 #define IF_HAVE_PG_UNCACHED(flag,string) argument 71 #define IF_HAVE_PG_HWPOISON(flag,string) ,{1UL << flag, string} argument 73 #define IF_HAVE_PG_HWPOISON(flag,string) argument 77 #define IF_HAVE_PG_IDLE(flag,string) ,{1UL << flag, string} argument 79 #define IF_HAVE_PG_IDLE(flag,string) argument 128 #define IF_HAVE_VM_SOFTDIRTY(flag,name) {flag, name }, argument 130 #define IF_HAVE_VM_SOFTDIRTY(flag,name) argument
|
/Linux-v5.4/arch/powerpc/mm/ptdump/ |
D | ptdump.c | 114 *flag, u64 pte, int num) in dump_flag_info() 118 for (i = 0; i < num; i++, flag++) { in dump_flag_info() 122 /* flag not defined so don't check it */ in dump_flag_info() 123 if (flag->mask == 0) in dump_flag_info() 126 if (flag->is_val) { in dump_flag_info() 127 val = pte & flag->val; in dump_flag_info() 128 if (flag->shift) in dump_flag_info() 129 val = val >> flag->shift; in dump_flag_info() 130 pt_dump_seq_printf(st->seq, " %s:%llx", flag->set, val); in dump_flag_info() 132 if ((pte & flag->mask) == flag->val) in dump_flag_info() [all …]
|
/Linux-v5.4/arch/x86/include/uapi/asm/ |
D | processor-flags.h | 11 #define X86_EFLAGS_CF_BIT 0 /* Carry Flag */ 15 #define X86_EFLAGS_PF_BIT 2 /* Parity Flag */ 17 #define X86_EFLAGS_AF_BIT 4 /* Auxiliary carry Flag */ 19 #define X86_EFLAGS_ZF_BIT 6 /* Zero Flag */ 21 #define X86_EFLAGS_SF_BIT 7 /* Sign Flag */ 23 #define X86_EFLAGS_TF_BIT 8 /* Trap Flag */ 25 #define X86_EFLAGS_IF_BIT 9 /* Interrupt Flag */ 27 #define X86_EFLAGS_DF_BIT 10 /* Direction Flag */ 29 #define X86_EFLAGS_OF_BIT 11 /* Overflow Flag */ 35 #define X86_EFLAGS_RF_BIT 16 /* Resume Flag */ [all …]
|
/Linux-v5.4/drivers/net/fddi/skfp/ |
D | queue.c | 131 * set SMT flag to value 132 * flag flag name 133 * value flag value 134 * dump current flag setting 137 void do_smt_flag(struct s_smc *smc, char *flag, int value) in do_smt_flag() argument 149 if (!strcmp(flag,"smt")) in do_smt_flag() 151 else if (!strcmp(flag,"smtf")) in do_smt_flag() 153 else if (!strcmp(flag,"pcm")) in do_smt_flag() 155 else if (!strcmp(flag,"rmt")) in do_smt_flag() 157 else if (!strcmp(flag,"cfm")) in do_smt_flag() [all …]
|