Home
last modified time | relevance | path

Searched refs:exists (Results 1 - 25 of 168) sorted by relevance

1234567

/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/dexcr/
H A Ddexcr.c23 volatile bool exists; in dexcr_exists() local
37 exists = false; in dexcr_exists()
39 exists = true; in dexcr_exists()
43 return exists; in dexcr_exists()
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Duverbs_uapi.c37 size_t alloc_size, bool *exists) in uapi_add_get_elm()
43 *exists = false; in uapi_add_get_elm()
53 *exists = true; in uapi_add_get_elm()
65 bool exists; in uapi_create_write() local
73 &exists); in uapi_create_write()
77 if (WARN_ON(exists && (def->write.is_ex != method_elm->is_ex))) in uapi_create_write()
108 bool exists; in uapi_merge_method() local
114 &exists); in uapi_merge_method()
117 if (exists) { in uapi_merge_method()
177 bool exists; in uapi_merge_obj_tree() local
36 uapi_add_get_elm(struct uverbs_api *uapi, u32 key, size_t alloc_size, bool *exists) uapi_add_get_elm() argument
231 bool exists; uapi_disable_elm() local
280 bool exists; uapi_merge_def() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Duverbs_uapi.c37 size_t alloc_size, bool *exists) in uapi_add_get_elm()
43 *exists = false; in uapi_add_get_elm()
53 *exists = true; in uapi_add_get_elm()
65 bool exists; in uapi_create_write() local
73 &exists); in uapi_create_write()
77 if (WARN_ON(exists && (def->write.is_ex != method_elm->is_ex))) in uapi_create_write()
105 bool exists; in uapi_merge_method() local
111 &exists); in uapi_merge_method()
114 if (exists) { in uapi_merge_method()
174 bool exists; in uapi_merge_obj_tree() local
36 uapi_add_get_elm(struct uverbs_api *uapi, u32 key, size_t alloc_size, bool *exists) uapi_add_get_elm() argument
228 bool exists; uapi_disable_elm() local
277 bool exists; uapi_merge_def() local
[all...]
/kernel/linux/linux-5.10/drivers/input/joystick/
H A Dcobra.c36 unsigned char exists; member
103 if ((r = cobra_read_packet(gameport, data)) != cobra->exists) { in cobra_poll()
109 if (cobra->exists & r & (1 << i)) { in cobra_poll()
159 cobra->exists = cobra_read_packet(gameport, data); in cobra_connect()
162 if ((cobra->exists >> i) & data[i] & 1) { in cobra_connect()
165 cobra->exists &= ~(1 << i); in cobra_connect()
168 if (!cobra->exists) { in cobra_connect()
177 if (~(cobra->exists >> i) & 1) in cobra_connect()
231 if ((cobra->exists >> i) & 1) in cobra_disconnect()
/kernel/linux/linux-6.6/drivers/input/joystick/
H A Dcobra.c33 unsigned char exists; member
100 if ((r = cobra_read_packet(gameport, data)) != cobra->exists) { in cobra_poll()
106 if (cobra->exists & r & (1 << i)) { in cobra_poll()
156 cobra->exists = cobra_read_packet(gameport, data); in cobra_connect()
159 if ((cobra->exists >> i) & data[i] & 1) { in cobra_connect()
162 cobra->exists &= ~(1 << i); in cobra_connect()
165 if (!cobra->exists) { in cobra_connect()
174 if (~(cobra->exists >> i) & 1) in cobra_connect()
228 if ((cobra->exists >> i) & 1) in cobra_disconnect()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
H A Drxe_sysfs.c35 struct rxe_dev *exists; in rxe_param_set_add() local
60 exists = rxe_get_dev_from_net(ndev); in rxe_param_set_add()
61 if (exists) { in rxe_param_set_add()
62 ib_device_put(&exists->ib_dev); in rxe_param_set_add()
/kernel/linux/linux-5.10/net/sched/
H A Dact_ife.c297 int len, bool atomic, bool exists) in __add_metainfo()
316 if (exists) in __add_metainfo()
319 if (exists) in __add_metainfo()
327 bool exists) in add_metainfo_and_get_ops()
333 ret = __add_metainfo(ops, ife, metaid, NULL, 0, true, exists); in add_metainfo_and_get_ops()
340 int len, bool exists) in add_metainfo()
347 ret = __add_metainfo(ops, ife, metaid, metaval, len, false, exists); in add_metainfo()
354 static int use_all_metadata(struct tcf_ife_info *ife, bool exists) in use_all_metadata() argument
362 rc = add_metainfo_and_get_ops(o, ife, o->metaid, exists); in use_all_metadata()
459 bool exists, boo in populate_metalist()
295 __add_metainfo(const struct tcf_meta_ops *ops, struct tcf_ife_info *ife, u32 metaid, void *metaval, int len, bool atomic, bool exists) __add_metainfo() argument
325 add_metainfo_and_get_ops(const struct tcf_meta_ops *ops, struct tcf_ife_info *ife, u32 metaid, bool exists) add_metainfo_and_get_ops() argument
339 add_metainfo(struct tcf_ife_info *ife, u32 metaid, void *metaval, int len, bool exists) add_metainfo() argument
458 populate_metalist(struct tcf_ife_info *ife, struct nlattr **tb, bool exists, bool rtnl_held) populate_metalist() argument
496 bool exists = false; tcf_ife_init() local
[all...]
H A Dact_vlan.c132 bool exists = false; in tcf_vlan_init() local
151 exists = err; in tcf_vlan_init()
152 if (exists && bind) in tcf_vlan_init()
161 if (exists) in tcf_vlan_init()
169 if (exists) in tcf_vlan_init()
183 if (exists) in tcf_vlan_init()
201 if (exists) in tcf_vlan_init()
209 if (exists) in tcf_vlan_init()
217 if (!exists) { in tcf_vlan_init()
H A Dact_skbmod.c96 bool exists = false; in tcf_skbmod_init() local
136 exists = err; in tcf_skbmod_init()
137 if (exists && bind) in tcf_skbmod_init()
141 if (exists) in tcf_skbmod_init()
148 if (!exists) { in tcf_skbmod_init()
H A Dact_simple.c97 bool exists = false; in tcf_simp_init() local
117 exists = err; in tcf_simp_init()
118 if (exists && bind) in tcf_simp_init()
122 if (exists) in tcf_simp_init()
129 if (!exists) { in tcf_simp_init()
/kernel/linux/linux-6.6/net/sched/
H A Dact_ife.c297 int len, bool atomic, bool exists) in __add_metainfo()
316 if (exists) in __add_metainfo()
319 if (exists) in __add_metainfo()
327 bool exists) in add_metainfo_and_get_ops()
333 ret = __add_metainfo(ops, ife, metaid, NULL, 0, true, exists); in add_metainfo_and_get_ops()
340 int len, bool exists) in add_metainfo()
347 ret = __add_metainfo(ops, ife, metaid, metaval, len, false, exists); in add_metainfo()
354 static int use_all_metadata(struct tcf_ife_info *ife, bool exists) in use_all_metadata() argument
362 rc = add_metainfo_and_get_ops(o, ife, o->metaid, exists); in use_all_metadata()
459 bool exists, boo in populate_metalist()
295 __add_metainfo(const struct tcf_meta_ops *ops, struct tcf_ife_info *ife, u32 metaid, void *metaval, int len, bool atomic, bool exists) __add_metainfo() argument
325 add_metainfo_and_get_ops(const struct tcf_meta_ops *ops, struct tcf_ife_info *ife, u32 metaid, bool exists) add_metainfo_and_get_ops() argument
339 add_metainfo(struct tcf_ife_info *ife, u32 metaid, void *metaval, int len, bool exists) add_metainfo() argument
458 populate_metalist(struct tcf_ife_info *ife, struct nlattr **tb, bool exists, bool rtnl_held) populate_metalist() argument
496 bool exists = false; tcf_ife_init() local
[all...]
H A Dact_vlan.c133 bool exists = false; in tcf_vlan_init() local
152 exists = err; in tcf_vlan_init()
153 if (exists && bind) in tcf_vlan_init()
162 if (exists) in tcf_vlan_init()
170 if (exists) in tcf_vlan_init()
184 if (exists) in tcf_vlan_init()
202 if (exists) in tcf_vlan_init()
210 if (exists) in tcf_vlan_init()
218 if (!exists) { in tcf_vlan_init()
H A Dact_skbmod.c116 bool exists = false; in tcf_skbmod_init() local
158 exists = err; in tcf_skbmod_init()
159 if (exists && bind) in tcf_skbmod_init()
163 if (exists) in tcf_skbmod_init()
170 if (!exists) { in tcf_skbmod_init()
H A Dact_simple.c99 bool exists = false; in tcf_simp_init() local
119 exists = err; in tcf_simp_init()
120 if (exists && bind) in tcf_simp_init()
124 if (exists) in tcf_simp_init()
131 if (!exists) { in tcf_simp_init()
/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py104 if os.path.exists(file_name):
125 if os.path.exists(file_name):
144 if os.path.exists(file_name):
159 if os.path.exists(file_name):
174 if os.path.exists('cpu.csv'):
350 if os.path.exists('cpu.csv'):
367 if os.path.exists('cpu.csv'):
551 if not os.path.exists('results'):
557 if os.path.exists(testname):
558 print('The test name directory already exists
[all...]
/kernel/linux/linux-6.6/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py104 if os.path.exists(file_name):
125 if os.path.exists(file_name):
144 if os.path.exists(file_name):
159 if os.path.exists(file_name):
174 if os.path.exists('cpu.csv'):
348 if os.path.exists('cpu.csv'):
365 if os.path.exists('cpu.csv'):
549 if not os.path.exists('results'):
555 if os.path.exists(testname):
556 print('The test name directory already exists
[all...]
/kernel/linux/linux-6.6/tools/verification/dot2/
H A Ddot2k.py34 if os.path.exists(self.monitor_templates_dir) == True:
42 if os.path.exists(kernel_path) == True:
46 if os.path.exists("/usr/share/dot2/dot2k_templates/") == True:
163 if os.path.exists(path) == False:
/kernel/linux/linux-6.6/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py69 if os.path.exists(file_name):
86 if os.path.exists(file_name):
101 if os.path.exists(file_name):
179 if os.path.exists('cpu.csv'):
303 if not os.path.exists('results'):
308 if os.path.exists(test_name):
309 print('The test name directory already exists. Please provide a unique test name. Test re-run not supported, yet.')
/kernel/uniproton/
H A Dbuild.py136 if not os.path.exists(self.build_tmp_dir):
138 if not os.path.exists(self.log_dir):
145 if os.path.exists(real_path):
181 if os.path.exists('%s/cmake/common/build_auxiliary_script/__pycache__'%self.home_path):
183 if os.path.exists('%s/output'%self.home_path):
185 if os.path.exists('%s/tools/SRE/x86-win32/sp_makepatch/makepatch'%self.home_path):
187 if os.path.exists('%s/build/prepare/__pycache__'%self.home_path):
206 if os.path.exists('%s/%s' % (self.log_dir, self.log_file)):
/kernel/linux/linux-5.10/kernel/livepatch/
H A Dshadow.c113 /* Check if the shadow variable already exists */ in __klp_shadow_get_or_alloc()
116 goto exists; in __klp_shadow_get_or_alloc()
137 goto exists; in __klp_shadow_get_or_alloc()
163 exists: in __klp_shadow_get_or_alloc()
218 * This function guarantees that only one shadow variable exists with the given
/kernel/linux/linux-6.6/kernel/livepatch/
H A Dshadow.c113 /* Check if the shadow variable already exists */ in __klp_shadow_get_or_alloc()
116 goto exists; in __klp_shadow_get_or_alloc()
137 goto exists; in __klp_shadow_get_or_alloc()
163 exists: in __klp_shadow_get_or_alloc()
218 * This function guarantees that only one shadow variable exists with the given
/kernel/linux/linux-6.6/tools/crypto/ccp/
H A Ddbc_cli.py69 if not os.path.exists(args.device):
72 if not os.path.exists(args.signature):
81 if not os.path.exists(args.uid):
H A Dtest_dbc.py27 if os.path.exists(fused_part):
52 if os.path.exists(DEVICE_NODE):
71 if not os.path.exists(DEVICE_NODE):
124 if not os.path.exists(DEVICE_NODE):
182 if not os.path.exists(DEVICE_NODE):
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
H A Dcmsg.c101 int nfp_flower_cmsg_portreify(struct nfp_repr *repr, bool exists) in nfp_flower_cmsg_portreify() argument
115 msg->info = cpu_to_be16(exists); in nfp_flower_cmsg_portreify()
190 bool exists; in nfp_flower_cmsg_portreify_rx() local
195 exists = !!nfp_app_dev_get(app, be32_to_cpu(msg->portnum), NULL); in nfp_flower_cmsg_portreify_rx()
197 if (!exists) { in nfp_flower_cmsg_portreify_rx()
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/
H A Dcmsg.c101 int nfp_flower_cmsg_portreify(struct nfp_repr *repr, bool exists) in nfp_flower_cmsg_portreify() argument
115 msg->info = cpu_to_be16(exists); in nfp_flower_cmsg_portreify()
190 bool exists; in nfp_flower_cmsg_portreify_rx() local
195 exists = !!nfp_app_dev_get(app, be32_to_cpu(msg->portnum), NULL); in nfp_flower_cmsg_portreify_rx()
197 if (!exists) { in nfp_flower_cmsg_portreify_rx()

Completed in 15 milliseconds

1234567