Home
last modified time | relevance | path

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

12345678910>>...84

/openbmc/linux/include/linux/
H A Dkbd_kern.h74 return ((kbd->modeflags >> flag) & 1); in vc_kbd_mode()
77 static inline int vc_kbd_led(struct kbd_struct * kbd, int flag) in vc_kbd_led() argument
79 return ((kbd->ledflagstate >> flag) & 1); in vc_kbd_led()
84 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode()
89 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led()
94 kbd->modeflags &= ~(1 << flag); in clr_vc_kbd_mode()
99 kbd->ledflagstate &= ~(1 << flag); in clr_vc_kbd_led()
104 kbd->lockstate ^= 1 << flag; in chg_vc_kbd_lock()
109 kbd->slockstate ^= 1 << flag; in chg_vc_kbd_slock()
114 kbd->modeflags ^= 1 << flag; in chg_vc_kbd_mode()
[all …]
H A Dthread_info.h89 set_bit(flag, (unsigned long *)&ti->flags); in set_ti_thread_flag()
94 clear_bit(flag, (unsigned long *)&ti->flags); in clear_ti_thread_flag()
101 set_ti_thread_flag(ti, flag); in update_ti_thread_flag()
103 clear_ti_thread_flag(ti, flag); in update_ti_thread_flag()
130 #define set_thread_flag(flag) \ argument
131 set_ti_thread_flag(current_thread_info(), flag)
132 #define clear_thread_flag(flag) \ argument
134 #define update_thread_flag(flag, value) \ argument
136 #define test_and_set_thread_flag(flag) \ argument
138 #define test_and_clear_thread_flag(flag) \ argument
[all …]
/openbmc/linux/fs/btrfs/
H A Dfs.c16 if (!(features & flag)) { in __btrfs_set_fs_incompat()
20 features |= flag; in __btrfs_set_fs_incompat()
24 name, flag); in __btrfs_set_fs_incompat()
39 if (features & flag) { in __btrfs_clear_fs_incompat()
42 if (features & flag) { in __btrfs_clear_fs_incompat()
43 features &= ~flag; in __btrfs_clear_fs_incompat()
47 name, flag); in __btrfs_clear_fs_incompat()
66 features |= flag; in __btrfs_set_fs_compat_ro()
70 name, flag); in __btrfs_set_fs_compat_ro()
89 features &= ~flag; in __btrfs_clear_fs_compat_ro()
[all …]
/openbmc/linux/tools/testing/selftests/riscv/vector/
H A Dvstate_prctl.c84 long flag, expected; in main() local
116 flag = PR_RISCV_V_VSTATE_CTRL_ON; in main()
117 rc = prctl(PR_RISCV_V_SET_CONTROL, flag); in main()
123 flag = PR_RISCV_V_VSTATE_CTRL_OFF; in main()
124 rc = prctl(PR_RISCV_V_SET_CONTROL, flag); in main()
143 flag |= PR_RISCV_V_VSTATE_CTRL_INHERIT; in main()
144 expected = flag | PR_RISCV_V_VSTATE_CTRL_ON; in main()
145 if (test_and_compare_child(flag, expected, 0)) in main()
148 if (test_and_compare_child(flag, expected, 1)) in main()
153 flag |= PR_RISCV_V_VSTATE_CTRL_INHERIT; in main()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_cmd.h90 int atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag,
94 int atomisp_low_light(struct atomisp_sub_device *asd, int flag,
103 int atomisp_formats(struct atomisp_sub_device *asd, int flag,
107 int atomisp_nr(struct atomisp_sub_device *asd, int flag,
111 int atomisp_tnr(struct atomisp_sub_device *asd, int flag,
119 int atomisp_ee(struct atomisp_sub_device *asd, int flag,
123 int atomisp_gamma(struct atomisp_sub_device *asd, int flag,
127 int atomisp_ctc(struct atomisp_sub_device *asd, int flag,
159 int atomisp_3a_stat(struct atomisp_sub_device *asd, int flag,
166 int atomisp_param(struct atomisp_sub_device *asd, int flag,
[all …]
/openbmc/u-boot/arch/riscv/lib/
H A Dbootm.c80 static void boot_jump_linux(bootm_headers_t *images, int flag) in boot_jump_linux() argument
83 int fake = (flag & BOOTM_STATE_OS_FAKE_GO); in boot_jump_linux()
100 int do_bootm_linux(int flag, int argc, char * const argv[], in do_bootm_linux() argument
104 if (flag & BOOTM_STATE_OS_BD_T || flag & BOOTM_STATE_OS_CMDLINE) in do_bootm_linux()
107 if (flag & BOOTM_STATE_OS_PREP) { in do_bootm_linux()
112 if (flag & (BOOTM_STATE_OS_GO | BOOTM_STATE_OS_FAKE_GO)) { in do_bootm_linux()
113 boot_jump_linux(images, flag); in do_bootm_linux()
118 boot_jump_linux(images, flag); in do_bootm_linux()
122 int do_bootm_vxworks(int flag, int argc, char * const argv[], in do_bootm_vxworks() argument
125 return do_bootm_linux(flag, argc, argv, images); in do_bootm_vxworks()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dtrace_iowait.h17 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));
/openbmc/u-boot/cmd/
H A Dfs.c13 static int do_size_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_size_wrapper() argument
15 return do_size(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_size_wrapper()
26 static int do_load_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, in do_load_wrapper() argument
33 return do_load(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_load_wrapper()
48 static int do_save_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, in do_save_wrapper() argument
51 return do_save(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_save_wrapper()
65 static int do_ls_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, in do_ls_wrapper() argument
68 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_ls_wrapper()
79 static int do_fstype_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, in do_fstype_wrapper() argument
82 return do_fs_type(cmdtp, flag, argc, argv); in do_fstype_wrapper()
H A Dfat.c21 int do_fat_size(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_fat_size() argument
23 return do_size(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_size()
34 int do_fat_fsload (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_fat_fsload() argument
36 return do_load(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_fsload()
55 static int do_fat_ls(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_fat_ls() argument
57 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_ls()
67 static int do_fat_fsinfo(cmd_tbl_t *cmdtp, int flag, int argc, in do_fat_fsinfo() argument
100 static int do_fat_fswrite(cmd_tbl_t *cmdtp, int flag, in do_fat_fswrite() argument
157 return do_rm(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_rm()
167 static int do_fat_mkdir(cmd_tbl_t *cmdtp, int flag, int argc, in do_fat_mkdir() argument
[all …]
H A Dext4.c44 int do_ext4_size(cmd_tbl_t *cmdtp, int flag, int argc, in do_ext4_size() argument
47 return do_size(cmdtp, flag, argc, argv, FS_TYPE_EXT); in do_ext4_size()
50 int do_ext4_load(cmd_tbl_t *cmdtp, int flag, int argc, in do_ext4_load() argument
53 return do_load(cmdtp, flag, argc, argv, FS_TYPE_EXT); in do_ext4_load()
56 int do_ext4_ls(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_ext4_ls() argument
58 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_EXT); in do_ext4_ls()
62 int do_ext4_write(cmd_tbl_t *cmdtp, int flag, int argc, in do_ext4_write() argument
65 return do_save(cmdtp, flag, argc, argv, FS_TYPE_EXT); in do_ext4_write()
H A Dhost.c15 static int do_host_load(cmd_tbl_t *cmdtp, int flag, int argc, in do_host_load() argument
18 return do_load(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_load()
21 static int do_host_ls(cmd_tbl_t *cmdtp, int flag, int argc, in do_host_ls() argument
24 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_ls()
27 static int do_host_size(cmd_tbl_t *cmdtp, int flag, int argc, in do_host_size() argument
30 return do_size(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_size()
33 static int do_host_save(cmd_tbl_t *cmdtp, int flag, int argc, in do_host_save() argument
36 return do_save(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_save()
39 static int do_host_bind(cmd_tbl_t *cmdtp, int flag, int argc, in do_host_bind() argument
152 static int do_host(cmd_tbl_t *cmdtp, int flag, int argc, in do_host() argument
[all …]
H A Dyaffs2.c46 int do_ytrace(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_ytrace() argument
57 int do_ydevls(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_ydevls() argument
88 int do_ymount(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_ymount() argument
105 int do_yumount(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_yumount() argument
121 int do_yls(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_yls() argument
137 int do_yrd(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_yrd() argument
156 int do_ywr(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_ywr() argument
180 int do_yrdm(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_yrdm() argument
198 int do_ywrm(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_ywrm() argument
248 int do_yrm(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) in do_yrm() argument
[all …]
H A Dbedbug.c59 int do_bedbug_dis (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) in do_bedbug_dis() argument
73 if ((flag & CMD_FLAG_REPEAT) == 0) { in do_bedbug_dis()
99 int do_bedbug_asm (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) in do_bedbug_asm() argument
149 int do_bedbug_break (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) in do_bedbug_break() argument
153 (*bug_ctx.do_break) (cmdtp, flag, argc, argv); in do_bedbug_break()
193 int flag; /* Command flags */ in bedbug_main_loop() local
214 flag = 0; /* assume no special flags for now */ in bedbug_main_loop()
219 flag |= CMD_FLAG_REPEAT; in bedbug_main_loop()
224 rc = run_command_repeatable(lastcommand, flag); in bedbug_main_loop()
268 int do_bedbug_step (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) in do_bedbug_step() argument
[all …]
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dtest_util.c208 .flag = ANON_FLAGS, in vm_mem_backing_src_alias()
212 .flag = ANON_FLAGS, in vm_mem_backing_src_alias()
216 .flag = ANON_HUGE_FLAGS, in vm_mem_backing_src_alias()
232 .flag = ANON_HUGE_FLAGS | MAP_HUGE_1MB, in vm_mem_backing_src_alias()
236 .flag = ANON_HUGE_FLAGS | MAP_HUGE_2MB, in vm_mem_backing_src_alias()
240 .flag = ANON_HUGE_FLAGS | MAP_HUGE_8MB, in vm_mem_backing_src_alias()
272 .flag = MAP_SHARED, in vm_mem_backing_src_alias()
282 .flag = MAP_SHARED, in vm_mem_backing_src_alias()
297 uint32_t flag = vm_mem_backing_src_alias(i)->flag; in get_backing_src_pagesz() local
309 return MAP_HUGE_PAGE_SIZE(flag); in get_backing_src_pagesz()
[all …]
/openbmc/linux/Documentation/litmus-tests/locking/
H A DDCL-broken.litmus11 int flag;
15 P0(int *flag, int *data, spinlock_t *lck)
21 r0 = READ_ONCE(*flag);
24 r1 = READ_ONCE(*flag);
27 WRITE_ONCE(*flag, 1);
34 P1(int *flag, int *data, spinlock_t *lck)
40 r0 = READ_ONCE(*flag);
43 r1 = READ_ONCE(*flag);
46 WRITE_ONCE(*flag, 1);
53 locations [flag;data;0:r0;0:r1;1:r0;1:r1]
H A DDCL-fixed.litmus12 int flag;
16 P0(int *flag, int *data, spinlock_t *lck)
22 r0 = smp_load_acquire(flag);
25 r1 = READ_ONCE(*flag);
28 smp_store_release(flag, 1);
35 P1(int *flag, int *data, spinlock_t *lck)
41 r0 = smp_load_acquire(flag);
44 r1 = READ_ONCE(*flag);
47 smp_store_release(flag, 1);
54 locations [flag;data;0:r0;0:r1;1:r0;1:r1]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_priv.h150 set_bit(flag, &flow->flags); in __flow_flag_set()
153 #define flow_flag_set(flow, flag) __flow_flag_set(flow, MLX5E_TC_FLOW_FLAG_##flag) argument
156 unsigned long flag) in __flow_flag_test_and_set() argument
159 return test_and_set_bit(flag, &flow->flags); in __flow_flag_test_and_set()
162 #define flow_flag_test_and_set(flow, flag) \ argument
164 MLX5E_TC_FLOW_FLAG_##flag)
170 clear_bit(flag, &flow->flags); in __flow_flag_clear()
174 MLX5E_TC_FLOW_FLAG_##flag)
178 bool ret = test_bit(flag, &flow->flags); in __flow_flag_test()
185 #define flow_flag_test(flow, flag) __flow_flag_test(flow, \ argument
[all …]
/openbmc/u-boot/include/test/
H A Dsuites.h26 int do_ut_bloblist(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]);
27 int do_ut_compression(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]);
28 int do_ut_dm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
29 int do_ut_env(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
30 int do_ut_lib(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
31 int do_ut_overlay(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
32 int do_ut_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
33 int do_ut_unicode(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
/openbmc/linux/drivers/isdn/mISDN/
H A Dlayer2.c308 if (test_bit(FLG_LAPD, &l2->flag) && in l2mgr()
374 if (test_bit(FLG_MOD128, &l2->flag)) in cansend()
396 if (test_bit(FLG_LAPD, &l2->flag)) { in sethdraddr()
403 if (test_bit(FLG_ORIG, &l2->flag)) in sethdraddr()
507 if (test_bit(FLG_ORIG, &l2->flag)) in iframe_error()
531 if (test_bit(FLG_ORIG, &l2->flag)) in unnum_error()
544 if (test_bit(FLG_ORIG, &l2->flag)) in UI_error()
560 if (test_bit(FLG_ORIG, &l2->flag)) in FRMR_error()
691 if (test_bit(FLG_LAPB, &l2->flag)) in lapb_dl_release_l2l3()
1191 if (test_bit(FLG_ORIG, &l2->flag)) in l2_st7_got_super()
[all …]
/openbmc/linux/arch/powerpc/mm/ptdump/
H A Dptdump.c139 *flag, u64 pte, int num) in dump_flag_info()
148 if (flag->mask == 0) in dump_flag_info()
151 if (flag->is_val) { in dump_flag_info()
152 val = pte & flag->val; in dump_flag_info()
153 if (flag->shift) in dump_flag_info()
154 val = val >> flag->shift; in dump_flag_info()
157 if ((pte & flag->mask) == flag->val) in dump_flag_info()
158 s = flag->set; in dump_flag_info()
160 s = flag->clear; in dump_flag_info()
205 st->current_flags = flag; in note_page_update_state()
[all …]
/openbmc/u-boot/common/
H A Dbootm_os.c61 if (flag != BOOTM_STATE_OS_GO) in do_bootm_netbsd()
130 if (flag != BOOTM_STATE_OS_GO) in do_bootm_lynxkdi()
152 if (flag != BOOTM_STATE_OS_GO) in do_bootm_rtems()
185 if (flag != BOOTM_STATE_OS_GO) in do_bootm_ose()
219 if (flag != BOOTM_STATE_OS_GO) in do_bootm_plan9()
323 if (flag != BOOTM_STATE_OS_GO) in do_bootm_vxworks()
347 if (flag != BOOTM_STATE_OS_GO) in do_bootm_qnxelf()
383 if (flag != BOOTM_STATE_OS_GO) in do_bootm_integrity()
416 if (flag != BOOTM_STATE_OS_GO) in do_bootm_openrtos()
455 ret = bootm_find_images(flag, argc, argv); in do_bootm_tee()
[all …]
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_tpg.c670 u32 flag) in iscsit_ta_generate_node_acls() argument
674 if ((flag != 0) && (flag != 1)) { in iscsit_ta_generate_node_acls()
719 u32 flag) in iscsit_ta_cache_dynamic_acls() argument
723 if ((flag != 0) && (flag != 1)) { in iscsit_ta_cache_dynamic_acls()
744 u32 flag) in iscsit_ta_demo_mode_write_protect() argument
748 if ((flag != 0) && (flag != 1)) { in iscsit_ta_demo_mode_write_protect()
766 if ((flag != 0) && (flag != 1)) { in iscsit_ta_prod_mode_write_protect()
785 if ((flag != 0) && (flag != 1)) { in iscsit_ta_demo_mode_discovery()
821 if ((flag != 0) && (flag != 1)) { in iscsit_ta_t10_pi()
858 if ((flag != 0) && (flag != 1)) { in iscsit_ta_tpg_enabled_sendtargets()
[all …]
/openbmc/linux/net/ipv4/
H A Dtcp_lp.c78 u32 flag; member
101 lp->flag = 0; in tcp_lp_init()
169 lp->flag |= LP_VALID_RHZ; in tcp_lp_remote_hz_estimator()
171 lp->flag &= ~LP_VALID_RHZ; in tcp_lp_remote_hz_estimator()
208 lp->flag |= LP_VALID_OWD; in tcp_lp_owd_calculator()
210 lp->flag &= ~LP_VALID_OWD; in tcp_lp_owd_calculator()
233 if (!(lp->flag & LP_VALID_RHZ) || !(lp->flag & LP_VALID_OWD)) in tcp_lp_rtt_sample()
288 lp->flag |= LP_WITHIN_INF; in tcp_lp_pkts_acked()
290 lp->flag &= ~LP_WITHIN_INF; in tcp_lp_pkts_acked()
295 lp->flag |= LP_WITHIN_THR; in tcp_lp_pkts_acked()
[all …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Dmaketype.py22 def __init__(self, flag, type): argument
23 self.flag = flag
28 return "Type '%s' requires flag '%s'" % (self.type, self.flag)
46 for flag in obj.flags:
47 if flag not in flags:
48 if flag not in obj.optflags:
49 raise MissingFlag(flag, var_type)
51 objflags[flag] = flags[flag]
/openbmc/linux/fs/jfs/
H A Dsuper.c234 int *flag) in parse_options() argument
320 *flag |= JFS_USRQUOTA; in parse_options()
323 *flag |= JFS_GRPQUOTA; in parse_options()
381 *flag |= JFS_DISCARD; in parse_options()
429 int flag = JFS_SBI(sb)->flag; in jfs_remount() local
453 JFS_SBI(sb)->flag = flag; in jfs_remount()
467 JFS_SBI(sb)->flag = flag; in jfs_remount()
470 if ((JFS_SBI(sb)->flag & JFS_NOINTEGRITY) != (flag & JFS_NOINTEGRITY)) in jfs_remount()
476 JFS_SBI(sb)->flag = flag; in jfs_remount()
480 JFS_SBI(sb)->flag = flag; in jfs_remount()
[all …]

12345678910>>...84