/Linux-v6.1/drivers/usb/phy/ |
D | phy-ulpi.c | 44 unsigned int flags = ULPI_OTG_CTRL_DP_PULLDOWN | in ulpi_set_otg_flags() local 47 if (phy->flags & ULPI_OTG_ID_PULLUP) in ulpi_set_otg_flags() 48 flags |= ULPI_OTG_CTRL_ID_PULLUP; in ulpi_set_otg_flags() 54 if (phy->flags & ULPI_OTG_DP_PULLDOWN_DIS) in ulpi_set_otg_flags() 55 flags &= ~ULPI_OTG_CTRL_DP_PULLDOWN; in ulpi_set_otg_flags() 57 if (phy->flags & ULPI_OTG_DM_PULLDOWN_DIS) in ulpi_set_otg_flags() 58 flags &= ~ULPI_OTG_CTRL_DM_PULLDOWN; in ulpi_set_otg_flags() 60 if (phy->flags & ULPI_OTG_EXTVBUSIND) in ulpi_set_otg_flags() 61 flags |= ULPI_OTG_CTRL_EXTVBUSIND; in ulpi_set_otg_flags() 63 return usb_phy_io_write(phy, flags, ULPI_OTG_CTRL); in ulpi_set_otg_flags() [all …]
|
/Linux-v6.1/tools/testing/selftests/membarrier/ |
D | membarrier_test_impl.h | 12 static int sys_membarrier(int cmd, int flags) in sys_membarrier() argument 14 return syscall(__NR_membarrier, cmd, flags); in sys_membarrier() 19 int cmd = -1, flags = 0; in test_membarrier_cmd_fail() local 22 if (sys_membarrier(cmd, flags) != -1) { in test_membarrier_cmd_fail() 25 test_name, cmd, flags); in test_membarrier_cmd_fail() 30 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_cmd_fail() 36 test_name, cmd, flags, errno); in test_membarrier_cmd_fail() 42 int cmd = MEMBARRIER_CMD_QUERY, flags = 1; in test_membarrier_flags_fail() local 45 if (sys_membarrier(cmd, flags) != -1) { in test_membarrier_flags_fail() 48 test_name, flags); in test_membarrier_flags_fail() [all …]
|
/Linux-v6.1/lib/ |
D | test-string_helpers.c | 14 static __init bool test_string_check_buf(const char *name, unsigned int flags, in test_string_check_buf() argument 22 pr_warn("Test '%s' failed: flags = %#x\n", name, flags); in test_string_check_buf() 37 unsigned int flags; member 44 .flags = UNESCAPE_SPACE, 49 .flags = UNESCAPE_OCTAL, 54 .flags = UNESCAPE_HEX, 59 .flags = UNESCAPE_SPECIAL, 63 static void __init test_string_unescape(const char *name, unsigned int flags, in test_string_unescape() argument 84 if (flags & strings[i].flags) { in test_string_unescape() 96 if (flags == UNESCAPE_ANY) in test_string_unescape() [all …]
|
/Linux-v6.1/arch/parisc/kernel/ |
D | firmware.c | 176 unsigned long flags; in set_firmware_width() local 182 spin_lock_irqsave(&pdc_lock, flags); in set_firmware_width() 184 spin_unlock_irqrestore(&pdc_lock, flags); in set_firmware_width() 226 unsigned long flags; in pdc_add_valid() local 228 spin_lock_irqsave(&pdc_lock, flags); in pdc_add_valid() 230 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_add_valid() 245 unsigned long flags; in pdc_instr() local 247 spin_lock_irqsave(&pdc_lock, flags); in pdc_instr() 251 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_instr() 267 unsigned long flags; in pdc_chassis_info() local [all …]
|
D | sys_parisc.c | 95 if (current->flags & PF_RANDOMIZE) in mmap_upper_limit() 103 unsigned long len, unsigned long pgoff, unsigned long flags) in arch_get_unmapped_area() argument 115 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area() 119 if (flags & MAP_FIXED) { in arch_get_unmapped_area() 120 if ((flags & MAP_SHARED) && last_mmap && in arch_get_unmapped_area() 140 info.flags = 0; in arch_get_unmapped_area() 158 const unsigned long flags) in arch_get_unmapped_area_topdown() argument 171 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area_topdown() 175 if (flags & MAP_FIXED) { in arch_get_unmapped_area_topdown() 176 if ((flags & MAP_SHARED) && last_mmap && in arch_get_unmapped_area_topdown() [all …]
|
/Linux-v6.1/sound/hda/ |
D | intel-dsp-config.c | 31 u32 flags; member 52 .flags = FLAG_SOF, 59 .flags = FLAG_SOF, 70 .flags = FLAG_SOF, 84 .flags = FLAG_SOF, 91 .flags = FLAG_SST, 112 .flags = FLAG_SST, 125 .flags = FLAG_SST | FLAG_SST_ONLY_IF_DMIC, 132 .flags = FLAG_SST, 145 .flags = FLAG_SST | FLAG_SST_ONLY_IF_DMIC, [all …]
|
/Linux-v6.1/arch/mips/pci/ |
D | pci-ip32.c | 28 unsigned int flags = mace->pci.error; in macepci_error() local 31 if (flags & MACEPCI_ERROR_MEMORY_ADDR) in macepci_error() 33 else if (flags & MACEPCI_ERROR_CONFIG_ADDR) in macepci_error() 38 if (flags & MACEPCI_ERROR_MASTER_ABORT) { in macepci_error() 40 flags &= ~MACEPCI_ERROR_MASTER_ABORT; in macepci_error() 42 if (flags & MACEPCI_ERROR_TARGET_ABORT) { in macepci_error() 44 flags &= ~MACEPCI_ERROR_TARGET_ABORT; in macepci_error() 46 if (flags & MACEPCI_ERROR_DATA_PARITY_ERR) { in macepci_error() 48 flags &= ~MACEPCI_ERROR_DATA_PARITY_ERR; in macepci_error() 50 if (flags & MACEPCI_ERROR_RETRY_ERR) { in macepci_error() [all …]
|
/Linux-v6.1/include/linux/sched/ |
D | mm.h | 140 #define arch_get_mmap_end(addr, len, flags) (TASK_SIZE) argument 155 unsigned long flags); 160 unsigned long flags); 164 unsigned long flags); 203 static inline gfp_t current_gfp_context(gfp_t flags) in current_gfp_context() argument 205 unsigned int pflags = READ_ONCE(current->flags); in current_gfp_context() 213 flags &= ~(__GFP_IO | __GFP_FS); in current_gfp_context() 215 flags &= ~__GFP_FS; in current_gfp_context() 218 flags &= ~__GFP_MOVABLE; in current_gfp_context() 220 return flags; in current_gfp_context() [all …]
|
/Linux-v6.1/arch/sparc/lib/ |
D | atomic32.c | 35 unsigned long flags; \ 36 spin_lock_irqsave(ATOMIC_HASH(v), flags); \ 41 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); \ 50 unsigned long flags; \ 51 spin_lock_irqsave(ATOMIC_HASH(v), flags); \ 55 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); \ 73 unsigned long flags; in arch_atomic_xchg() local 75 spin_lock_irqsave(ATOMIC_HASH(v), flags); in arch_atomic_xchg() 78 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in arch_atomic_xchg() 86 unsigned long flags; in arch_atomic_cmpxchg() local [all …]
|
/Linux-v6.1/include/linux/ |
D | slab.h | 159 unsigned int align, slab_flags_t flags, 163 slab_flags_t flags, 195 void * __must_check krealloc(const void *objp, size_t new_size, gfp_t flags) __realloc_size(2); 361 static __always_inline enum kmalloc_cache_type kmalloc_type(gfp_t flags) in kmalloc_type() argument 367 if (likely((flags & KMALLOC_NOT_NORMAL_BITS) == 0)) in kmalloc_type() 377 if (IS_ENABLED(CONFIG_ZONE_DMA) && (flags & __GFP_DMA)) in kmalloc_type() 379 if (!IS_ENABLED(CONFIG_MEMCG_KMEM) || (flags & __GFP_RECLAIMABLE)) in kmalloc_type() 443 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __alloc_size(1); 444 void *kmem_cache_alloc(struct kmem_cache *s, gfp_t flags) __assume_slab_alignment __malloc; 457 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, void **p); [all …]
|
D | irqflags.h | 175 #define raw_local_irq_save(flags) \ argument 177 typecheck(unsigned long, flags); \ 178 flags = arch_local_irq_save(); \ 180 #define raw_local_irq_restore(flags) \ argument 182 typecheck(unsigned long, flags); \ 184 arch_local_irq_restore(flags); \ 186 #define raw_local_save_flags(flags) \ argument 188 typecheck(unsigned long, flags); \ 189 flags = arch_local_save_flags(); \ 191 #define raw_irqs_disabled_flags(flags) \ argument [all …]
|
/Linux-v6.1/kernel/sched/ |
D | wait.c | 19 unsigned long flags; in add_wait_queue() local 21 wq_entry->flags &= ~WQ_FLAG_EXCLUSIVE; in add_wait_queue() 22 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue() 24 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue() 30 unsigned long flags; in add_wait_queue_exclusive() local 32 wq_entry->flags |= WQ_FLAG_EXCLUSIVE; in add_wait_queue_exclusive() 33 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue_exclusive() 35 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue_exclusive() 41 unsigned long flags; in add_wait_queue_priority() local 43 wq_entry->flags |= WQ_FLAG_EXCLUSIVE | WQ_FLAG_PRIORITY; in add_wait_queue_priority() [all …]
|
D | isolation.c | 28 unsigned long flags; member 35 return !!(housekeeping.flags & BIT(type)); in housekeeping_enabled() 44 if (housekeeping.flags & BIT(type)) { in housekeeping_any_cpu() 59 if (housekeeping.flags & BIT(type)) in housekeeping_cpumask() 68 if (housekeeping.flags & BIT(type)) in housekeeping_affine() 76 if (housekeeping.flags & BIT(type)) in housekeeping_test_cpu() 86 if (!housekeeping.flags) in housekeeping_init() 91 if (housekeeping.flags & HK_FLAG_TICK) in housekeeping_init() 94 for_each_set_bit(type, &housekeeping.flags, HK_TYPE_MAX) { in housekeeping_init() 109 static int __init housekeeping_setup(char *str, unsigned long flags) in housekeeping_setup() argument [all …]
|
/Linux-v6.1/arch/powerpc/include/asm/ |
D | hw_irq.h | 116 unsigned long flags; in irq_soft_mask_return() local 120 : "=r" (flags) in irq_soft_mask_return() 123 return flags; in irq_soft_mask_return() 160 unsigned long flags = irq_soft_mask_return(); in irq_soft_mask_set_return() local 164 return flags; in irq_soft_mask_set_return() 169 unsigned long flags = irq_soft_mask_return(); in irq_soft_mask_or_return() local 171 irq_soft_mask_set(flags | mask); in irq_soft_mask_or_return() 173 return flags; in irq_soft_mask_or_return() 198 static inline bool arch_irqs_disabled_flags(unsigned long flags) in arch_irqs_disabled_flags() argument 200 return flags & IRQS_DISABLED; in arch_irqs_disabled_flags() [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/gt/ |
D | gen8_engine_cs.c | 16 u32 *cs, flags = 0; in gen8_emit_flush_rcs() local 19 flags |= PIPE_CONTROL_CS_STALL; in gen8_emit_flush_rcs() 22 flags |= PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH; in gen8_emit_flush_rcs() 23 flags |= PIPE_CONTROL_DEPTH_CACHE_FLUSH; in gen8_emit_flush_rcs() 24 flags |= PIPE_CONTROL_DC_FLUSH_ENABLE; in gen8_emit_flush_rcs() 25 flags |= PIPE_CONTROL_FLUSH_ENABLE; in gen8_emit_flush_rcs() 29 flags |= PIPE_CONTROL_TLB_INVALIDATE; in gen8_emit_flush_rcs() 30 flags |= PIPE_CONTROL_INSTRUCTION_CACHE_INVALIDATE; in gen8_emit_flush_rcs() 31 flags |= PIPE_CONTROL_TEXTURE_CACHE_INVALIDATE; in gen8_emit_flush_rcs() 32 flags |= PIPE_CONTROL_VF_CACHE_INVALIDATE; in gen8_emit_flush_rcs() [all …]
|
/Linux-v6.1/arch/arm/mach-omap1/ |
D | mcbsp.c | 98 .flags = IORESOURCE_MEM, 103 .flags = IORESOURCE_IRQ, 108 .flags = IORESOURCE_IRQ, 113 .flags = IORESOURCE_DMA, 118 .flags = IORESOURCE_DMA, 125 .flags = IORESOURCE_MEM, 130 .flags = IORESOURCE_IRQ, 135 .flags = IORESOURCE_IRQ, 140 .flags = IORESOURCE_DMA, 145 .flags = IORESOURCE_DMA, [all …]
|
/Linux-v6.1/tools/testing/selftests/core/ |
D | close_range_test.c | 48 unsigned int flags) in sys_close_range() argument 50 return syscall(__NR_close_range, fd, max_fd, flags); in sys_close_range() 118 .flags = CLONE_FILES, in TEST() 207 .flags = CLONE_FILES, in TEST() 282 int flags = fcntl(open_fds[i], F_GETFD); in TEST() local 284 EXPECT_GT(flags, -1); in TEST() 285 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 289 int flags = fcntl(open_fds[i], F_GETFD); in TEST() local 291 EXPECT_GT(flags, -1); in TEST() 292 EXPECT_EQ(flags & FD_CLOEXEC, 0); in TEST() [all …]
|
/Linux-v6.1/drivers/misc/sgi-xp/ |
D | xpc_channel.c | 33 if (!(ch->flags & XPC_C_OPENREQUEST) || in xpc_process_connect() 34 !(ch->flags & XPC_C_ROPENREQUEST)) { in xpc_process_connect() 38 DBUG_ON(!(ch->flags & XPC_C_CONNECTING)); in xpc_process_connect() 40 if (!(ch->flags & XPC_C_SETUP)) { in xpc_process_connect() 48 ch->flags |= XPC_C_SETUP; in xpc_process_connect() 50 if (ch->flags & XPC_C_DISCONNECTING) in xpc_process_connect() 54 if (!(ch->flags & XPC_C_OPENREPLY)) { in xpc_process_connect() 55 ch->flags |= XPC_C_OPENREPLY; in xpc_process_connect() 59 if (!(ch->flags & XPC_C_ROPENREPLY)) in xpc_process_connect() 62 if (!(ch->flags & XPC_C_OPENCOMPLETE)) { in xpc_process_connect() [all …]
|
/Linux-v6.1/drivers/crypto/qat/qat_common/ |
D | icp_qat_fw_la.h | 106 #define ICP_QAT_FW_LA_CIPH_IV_FLD_FLAG_GET(flags) \ argument 107 QAT_FIELD_GET(flags, QAT_LA_CIPH_IV_FLD_BITPOS, \ 110 #define ICP_QAT_FW_LA_CIPH_AUTH_CFG_OFFSET_FLAG_GET(flags) \ argument 111 QAT_FIELD_GET(flags, QAT_LA_CIPH_AUTH_CFG_OFFSET_BITPOS, \ 114 #define ICP_QAT_FW_LA_ZUC_3G_PROTO_FLAG_GET(flags) \ argument 115 QAT_FIELD_GET(flags, QAT_FW_LA_ZUC_3G_PROTO_FLAG_BITPOS, \ 118 #define ICP_QAT_FW_LA_GCM_IV_LEN_FLAG_GET(flags) \ argument 119 QAT_FIELD_GET(flags, QAT_LA_GCM_IV_LEN_FLAG_BITPOS, \ 122 #define ICP_QAT_FW_LA_PROTO_GET(flags) \ argument 123 QAT_FIELD_GET(flags, QAT_LA_PROTO_BITPOS, QAT_LA_PROTO_MASK) [all …]
|
/Linux-v6.1/kernel/ |
D | nsproxy.c | 67 static struct nsproxy *create_new_namespaces(unsigned long flags, in create_new_namespaces() argument 78 new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, user_ns, new_fs); in create_new_namespaces() 84 new_nsp->uts_ns = copy_utsname(flags, user_ns, tsk->nsproxy->uts_ns); in create_new_namespaces() 90 new_nsp->ipc_ns = copy_ipcs(flags, user_ns, tsk->nsproxy->ipc_ns); in create_new_namespaces() 97 copy_pid_ns(flags, user_ns, tsk->nsproxy->pid_ns_for_children); in create_new_namespaces() 103 new_nsp->cgroup_ns = copy_cgroup_ns(flags, user_ns, in create_new_namespaces() 110 new_nsp->net_ns = copy_net_ns(flags, user_ns, tsk->nsproxy->net_ns); in create_new_namespaces() 116 new_nsp->time_ns_for_children = copy_time_ns(flags, user_ns, in create_new_namespaces() 151 int copy_namespaces(unsigned long flags, struct task_struct *tsk) in copy_namespaces() argument 157 if (likely(!(flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in copy_namespaces() [all …]
|
/Linux-v6.1/drivers/crypto/qce/ |
D | common.h | 61 #define IS_DES(flags) (flags & QCE_ALG_DES) argument 62 #define IS_3DES(flags) (flags & QCE_ALG_3DES) argument 63 #define IS_AES(flags) (flags & QCE_ALG_AES) argument 65 #define IS_SHA1(flags) (flags & QCE_HASH_SHA1) argument 66 #define IS_SHA256(flags) (flags & QCE_HASH_SHA256) argument 67 #define IS_SHA1_HMAC(flags) (flags & QCE_HASH_SHA1_HMAC) argument 68 #define IS_SHA256_HMAC(flags) (flags & QCE_HASH_SHA256_HMAC) argument 69 #define IS_CMAC(flags) (flags & QCE_HASH_AES_CMAC) argument 70 #define IS_SHA(flags) (IS_SHA1(flags) || IS_SHA256(flags)) argument 71 #define IS_SHA_HMAC(flags) \ argument [all …]
|
/Linux-v6.1/drivers/rtc/ |
D | rtc-nct3018y.c | 51 int err, flags; in nct3018y_set_alarm_mode() local 55 flags = i2c_smbus_read_byte_data(client, NCT3018Y_REG_CTRL); in nct3018y_set_alarm_mode() 56 if (flags < 0) { in nct3018y_set_alarm_mode() 59 return flags; in nct3018y_set_alarm_mode() 63 flags |= NCT3018Y_BIT_AIE; in nct3018y_set_alarm_mode() 65 flags &= ~NCT3018Y_BIT_AIE; in nct3018y_set_alarm_mode() 67 flags |= NCT3018Y_BIT_CIE; in nct3018y_set_alarm_mode() 68 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_CTRL, flags); in nct3018y_set_alarm_mode() 74 flags = i2c_smbus_read_byte_data(client, NCT3018Y_REG_ST); in nct3018y_set_alarm_mode() 75 if (flags < 0) { in nct3018y_set_alarm_mode() [all …]
|
/Linux-v6.1/include/net/ |
D | gre.h | 9 __be16 flags; member 65 static inline __be16 gre_flags_to_tnl_flags(__be16 flags) in gre_flags_to_tnl_flags() argument 69 if (flags & GRE_CSUM) in gre_flags_to_tnl_flags() 71 if (flags & GRE_ROUTING) in gre_flags_to_tnl_flags() 73 if (flags & GRE_KEY) in gre_flags_to_tnl_flags() 75 if (flags & GRE_SEQ) in gre_flags_to_tnl_flags() 77 if (flags & GRE_STRICT) in gre_flags_to_tnl_flags() 79 if (flags & GRE_REC) in gre_flags_to_tnl_flags() 81 if (flags & GRE_VERSION) in gre_flags_to_tnl_flags() 89 __be16 flags = 0; in gre_tnl_flags_to_gre_flags() local [all …]
|
/Linux-v6.1/drivers/media/platform/sunxi/sun8i-rotate/ |
D | sun8i_formats.c | 21 .flags = ROTATE_FLAG_OUTPUT 29 .flags = ROTATE_FLAG_OUTPUT 37 .flags = ROTATE_FLAG_OUTPUT 45 .flags = ROTATE_FLAG_OUTPUT 53 .flags = ROTATE_FLAG_OUTPUT 61 .flags = ROTATE_FLAG_OUTPUT 69 .flags = ROTATE_FLAG_OUTPUT 77 .flags = ROTATE_FLAG_OUTPUT 85 .flags = ROTATE_FLAG_OUTPUT 93 .flags = ROTATE_FLAG_OUTPUT [all …]
|
/Linux-v6.1/scripts/coccinelle/locks/ |
D | flags.cocci | 2 /// Find nested lock+irqsave functions that use the same flags variables 17 expression lock1,lock2,flags; 22 spin_lock_irqsave@p1(lock1,flags) 24 read_lock_irqsave@p1(lock1,flags) 26 write_lock_irqsave@p1(lock1,flags) 28 ... when != flags 30 spin_lock_irqsave(lock1,flags) 32 read_lock_irqsave(lock1,flags) 34 write_lock_irqsave(lock1,flags) 36 spin_lock_irqsave@p2(lock2,flags) [all …]
|