Home
last modified time | relevance | path

Searched refs:matched (Results 1 - 25 of 78) sorted by relevance

1234

/kernel/linux/linux-5.10/fs/erofs/
H A Dnamei.c19 unsigned int *matched) in erofs_dirnamecmp()
21 unsigned int i = *matched; in erofs_dirnamecmp()
34 *matched = i; in erofs_dirnamecmp()
39 *matched = i; in erofs_dirnamecmp()
64 unsigned int matched = min(startprfx, endprfx); in find_target_dirent() local
73 /* string comparison without already matched prefix */ in find_target_dirent()
74 int ret = erofs_dirnamecmp(name, &dname, &matched); in find_target_dirent()
80 startprfx = matched; in find_target_dirent()
83 endprfx = matched; in find_target_dirent()
113 unsigned int matched; in find_target_block_classic() local
17 erofs_dirnamecmp(const struct erofs_qstr *qn, const struct erofs_qstr *qd, unsigned int *matched) erofs_dirnamecmp() argument
[all...]
/kernel/linux/linux-6.6/fs/erofs/
H A Dnamei.c18 unsigned int *matched) in erofs_dirnamecmp()
20 unsigned int i = *matched; in erofs_dirnamecmp()
33 *matched = i; in erofs_dirnamecmp()
38 *matched = i; in erofs_dirnamecmp()
63 unsigned int matched = min(startprfx, endprfx); in find_target_dirent() local
72 /* string comparison without already matched prefix */ in find_target_dirent()
73 int ret = erofs_dirnamecmp(name, &dname, &matched); in find_target_dirent()
79 startprfx = matched; in find_target_dirent()
82 endprfx = matched; in find_target_dirent()
108 unsigned int matched; in erofs_find_target_block() local
16 erofs_dirnamecmp(const struct erofs_qstr *qn, const struct erofs_qstr *qd, unsigned int *matched) erofs_dirnamecmp() argument
[all...]
/kernel/linux/linux-5.10/security/tomoyo/
H A Dgroup.c125 * Returns matched member's pathname if @pathname matches pathnames in @group,
163 bool matched = false; in tomoyo_number_matches_group() local
172 matched = true; in tomoyo_number_matches_group()
175 return matched; in tomoyo_number_matches_group()
193 bool matched = false; in tomoyo_address_matches_group() local
205 matched = true; in tomoyo_address_matches_group()
208 return matched; in tomoyo_address_matches_group()
/kernel/linux/linux-6.6/security/tomoyo/
H A Dgroup.c125 * Returns matched member's pathname if @pathname matches pathnames in @group,
163 bool matched = false; in tomoyo_number_matches_group() local
172 matched = true; in tomoyo_number_matches_group()
175 return matched; in tomoyo_number_matches_group()
193 bool matched = false; in tomoyo_address_matches_group() local
205 matched = true; in tomoyo_address_matches_group()
208 return matched; in tomoyo_address_matches_group()
/kernel/linux/linux-5.10/fs/romfs/
H A Dstorage.c64 * - return 1 if matched, 0 if differ, -ve if error
161 * - return 1 if matched, 0 if differ, -ve if error
169 bool matched, terminated = false; in romfs_blk_strcmp() local
178 matched = (memcmp(bh->b_data + offset, str, segment) == 0); in romfs_blk_strcmp()
183 if (matched && size == 0 && offset + segment < ROMBSIZE) { in romfs_blk_strcmp()
187 matched = false; in romfs_blk_strcmp()
190 if (!matched) in romfs_blk_strcmp()
201 matched = !bh->b_data[0]; in romfs_blk_strcmp()
203 if (!matched) in romfs_blk_strcmp()
263 * - return 1 if matched,
[all...]
/kernel/linux/linux-5.10/drivers/regulator/
H A Dmax1586.c155 int i, matched; in of_get_max1586_platform_data() local
172 matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); in of_get_max1586_platform_data()
175 * If matched is 0, ie. neither Output_V3 nor Output_V6 have been found, in of_get_max1586_platform_data()
179 * anyway. If matched < 0, return the error. in of_get_max1586_platform_data()
181 if (matched <= 0) in of_get_max1586_platform_data()
182 return matched; in of_get_max1586_platform_data()
185 matched, in of_get_max1586_platform_data()
191 pdata->num_subdevs = matched; in of_get_max1586_platform_data()
194 for (i = 0; i < matched; i++) { in of_get_max1586_platform_data()
H A Dmax8660.c322 int matched, i; in max8660_pdata_from_dt() local
336 matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); in max8660_pdata_from_dt()
338 if (matched <= 0) in max8660_pdata_from_dt()
339 return matched; in max8660_pdata_from_dt()
342 matched, in max8660_pdata_from_dt()
348 pdata->num_subdevs = matched; in max8660_pdata_from_dt()
351 for (i = 0; i < matched; i++) { in max8660_pdata_from_dt()
/kernel/linux/linux-6.6/fs/romfs/
H A Dstorage.c64 * - return 1 if matched, 0 if differ, -ve if error
161 * - return 1 if matched, 0 if differ, -ve if error
169 bool matched, terminated = false; in romfs_blk_strcmp() local
178 matched = (memcmp(bh->b_data + offset, str, segment) == 0); in romfs_blk_strcmp()
183 if (matched && size == 0 && offset + segment < ROMBSIZE) { in romfs_blk_strcmp()
187 matched = false; in romfs_blk_strcmp()
190 if (!matched) in romfs_blk_strcmp()
201 matched = !bh->b_data[0]; in romfs_blk_strcmp()
203 if (!matched) in romfs_blk_strcmp()
263 * - return 1 if matched,
[all...]
/kernel/linux/linux-6.6/drivers/regulator/
H A Dmax1586.c155 int i, matched; in of_get_max1586_platform_data() local
172 matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); in of_get_max1586_platform_data()
175 * If matched is 0, ie. neither Output_V3 nor Output_V6 have been found, in of_get_max1586_platform_data()
179 * anyway. If matched < 0, return the error. in of_get_max1586_platform_data()
181 if (matched <= 0) in of_get_max1586_platform_data()
182 return matched; in of_get_max1586_platform_data()
185 matched, in of_get_max1586_platform_data()
191 pdata->num_subdevs = matched; in of_get_max1586_platform_data()
194 for (i = 0; i < matched; i++) { in of_get_max1586_platform_data()
H A Dmax8660.c322 int matched, i; in max8660_pdata_from_dt() local
336 matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); in max8660_pdata_from_dt()
338 if (matched <= 0) in max8660_pdata_from_dt()
339 return matched; in max8660_pdata_from_dt()
342 matched, in max8660_pdata_from_dt()
348 pdata->num_subdevs = matched; in max8660_pdata_from_dt()
351 for (i = 0; i < matched; i++) { in max8660_pdata_from_dt()
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A Dpkcs7_trust.c60 goto matched; in pkcs7_validate_trust_one()
90 goto matched; in pkcs7_validate_trust_one()
106 goto matched; in pkcs7_validate_trust_one()
114 matched: in pkcs7_validate_trust_one()
/kernel/linux/linux-6.6/crypto/asymmetric_keys/
H A Dpkcs7_trust.c60 goto matched; in pkcs7_validate_trust_one()
90 goto matched; in pkcs7_validate_trust_one()
106 goto matched; in pkcs7_validate_trust_one()
114 matched: in pkcs7_validate_trust_one()
/kernel/linux/linux-6.6/mm/damon/
H A Dpaddr.c191 bool matched = false; in __damos_pa_filter_out() local
196 matched = folio_test_anon(folio); in __damos_pa_filter_out()
202 matched = false; in __damos_pa_filter_out()
204 matched = filter->memcg_id == mem_cgroup_id(memcg); in __damos_pa_filter_out()
211 return matched == filter->matching; in __damos_pa_filter_out()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Drelo_core.c564 int i, sz, matched; in bpf_core_spec_match() local
630 matched = bpf_core_match_member(local_spec->btf, in bpf_core_spec_match()
634 if (matched <= 0) in bpf_core_spec_match()
635 return matched; in bpf_core_spec_match()
1457 bool matched = false; in bpf_core_enums_match() local
1468 matched = true; in bpf_core_enums_match()
1473 if (!matched) in bpf_core_enums_match()
1494 bool matched = false; in bpf_core_composites_match() local
1506 matched = true; in bpf_core_composites_match()
1511 if (!matched) in bpf_core_composites_match()
[all...]
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/
H A Dtest-core.c678 * being matched, as well as clearing the regs flag appropriate for the test.
681 * all entries in coverage_table have been matched and that all regs flags are
694 char matched; member
750 entry->matched = false; in coverage_start_fn()
846 bool matched = false; in coverage_add() local
859 if (!matched) { in coverage_add()
862 entry->matched = true; in coverage_add()
878 matched = true; in coverage_add()
903 if (!entry->matched) { in coverage_end()
/kernel/linux/linux-6.6/arch/arm/probes/kprobes/
H A Dtest-core.c678 * being matched, as well as clearing the regs flag appropriate for the test.
681 * all entries in coverage_table have been matched and that all regs flags are
694 char matched; member
750 entry->matched = false; in coverage_start_fn()
846 bool matched = false; in coverage_add() local
859 if (!matched) { in coverage_add()
862 entry->matched = true; in coverage_add()
878 matched = true; in coverage_add()
903 if (!entry->matched) { in coverage_end()
/kernel/linux/linux-5.10/arch/arm/probes/
H A Ddecode.c418 bool matched = false; in probes_decode_insn() local
455 if (!matched && (insn & h->mask.bits) != h->value.bits) in probes_decode_insn()
510 matched = true; in probes_decode_insn()
/kernel/linux/linux-6.6/arch/arm/probes/
H A Ddecode.c418 bool matched = false; in probes_decode_insn() local
455 if (!matched && (insn & h->mask.bits) != h->value.bits) in probes_decode_insn()
510 matched = true; in probes_decode_insn()
/kernel/linux/linux-5.10/drivers/soc/aspeed/
H A Daspeed-p2a-ctrl.c133 bool matched = false; in aspeed_p2a_region_acquire() local
166 matched = true; in aspeed_p2a_region_acquire()
169 return matched; in aspeed_p2a_region_acquire()
/kernel/linux/linux-6.6/drivers/soc/aspeed/
H A Daspeed-p2a-ctrl.c133 bool matched = false; in aspeed_p2a_region_acquire() local
166 matched = true; in aspeed_p2a_region_acquire()
169 return matched; in aspeed_p2a_region_acquire()
/kernel/linux/linux-5.10/net/sched/
H A Dsch_choke.c64 u32 matched; /* Drops to flow match */ member
198 * returns true if matched and sets *pidx
233 q->stats.matched++; in choke_enqueue()
468 .matched = q->stats.matched, in choke_dump_stats()
/kernel/linux/linux-6.6/net/sched/
H A Dsch_choke.c63 u32 matched; /* Drops to flow match */ member
197 * returns true if matched and sets *pidx
232 q->stats.matched++; in choke_enqueue()
466 .matched = q->stats.matched, in choke_dump_stats()
/kernel/liteos_a/kernel/extended/plimit/
H A Dlos_devicelimit.c577 BOOL matched = FALSE; in OsDevLimitCheckPermission() local
596 matched = !DevLimitMatchItemPartial(&devLimit->accessList, &item); in OsDevLimitCheckPermission()
598 matched = DevLimitMatchItem(&devLimit->accessList, &item); in OsDevLimitCheckPermission()
600 if (!matched) { in OsDevLimitCheckPermission()
/kernel/linux/linux-5.10/sound/core/seq/
H A Dseq_queue.c558 bool matched; in snd_seq_queue_client_termination() local
564 matched = (q->owner == client); in snd_seq_queue_client_termination()
565 if (matched) in snd_seq_queue_client_termination()
568 if (matched) { in snd_seq_queue_client_termination()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/
H A Ddirty_log_test.c584 bool matched; in vm_dirty_log_verify() local
593 matched = (*value_ptr == iteration || in vm_dirty_log_verify()
596 if (host_log_mode == LOG_MODE_DIRTY_RING && !matched) { in vm_dirty_log_verify()
641 TEST_ASSERT(matched, in vm_dirty_log_verify()

Completed in 19 milliseconds

1234