Home
last modified time | relevance | path

Searched refs:found (Results 1 - 25 of 2228) sorted by relevance

12345678910>>...90

/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
H A Dav7110_ipack.c10 p->found = 0; in av7110_ipack_reset()
114 if (p->plength != MMAX_PLENGTH - 6 || p->found <= 6) in av7110_ipack_flush()
116 p->plength = p->found - 6; in av7110_ipack_flush()
117 p->found = 0; in av7110_ipack_flush()
152 (p->mpeg == 1 && p->found < 7) || in av7110_ipack_instant_repack()
153 (p->mpeg == 2 && p->found < 9)) in av7110_ipack_instant_repack()
154 && (p->found < 5 || !p->done)) { in av7110_ipack_instant_repack()
155 switch (p->found) { in av7110_ipack_instant_repack()
159 p->found++; in av7110_ipack_instant_repack()
161 p->found in av7110_ipack_instant_repack()
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/av7110/
H A Dav7110_ipack.c10 p->found = 0; in av7110_ipack_reset()
114 if (p->plength != MMAX_PLENGTH - 6 || p->found <= 6) in av7110_ipack_flush()
116 p->plength = p->found - 6; in av7110_ipack_flush()
117 p->found = 0; in av7110_ipack_flush()
152 (p->mpeg == 1 && p->found < 7) || in av7110_ipack_instant_repack()
153 (p->mpeg == 2 && p->found < 9)) in av7110_ipack_instant_repack()
154 && (p->found < 5 || !p->done)) { in av7110_ipack_instant_repack()
155 switch (p->found) { in av7110_ipack_instant_repack()
159 p->found++; in av7110_ipack_instant_repack()
161 p->found in av7110_ipack_instant_repack()
[all...]
/kernel/linux/linux-6.6/net/9p/
H A Dmod.c88 struct p9_trans_module *t, *found = NULL; in _p9_get_trans_by_name() local
95 found = t; in _p9_get_trans_by_name()
101 return found; in _p9_get_trans_by_name()
111 struct p9_trans_module *found = NULL; in v9fs_get_trans_by_name() local
113 found = _p9_get_trans_by_name(s); in v9fs_get_trans_by_name()
116 if (!found) { in v9fs_get_trans_by_name()
118 found = _p9_get_trans_by_name(s); in v9fs_get_trans_by_name()
122 return found; in v9fs_get_trans_by_name()
137 struct p9_trans_module *t, *found = NULL; in v9fs_get_default_trans() local
144 found in v9fs_get_default_trans()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-gpr.h23 int i, found = 1; in validate_gpr() local
29 found = 0; in validate_gpr()
33 if (!found) in validate_gpr()
41 int i, found = 1; in validate_fpr() local
46 found = 0; in validate_fpr()
50 if (!found) in validate_fpr()
58 int i, found = 1; in validate_fpr_float() local
63 found = 0; in validate_fpr_float()
67 if (!found) in validate_fpr_float()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-gpr.h23 int i, found = 1; in validate_gpr() local
29 found = 0; in validate_gpr()
33 if (!found) in validate_gpr()
41 int i, found = 1; in validate_fpr() local
46 found = 0; in validate_fpr()
50 if (!found) in validate_fpr()
58 int i, found = 1; in validate_fpr_double() local
63 found = 0; in validate_fpr_double()
67 if (!found) in validate_fpr_double()
/kernel/linux/linux-5.10/lib/
H A Dstackdepot.c182 struct stack_record *found; in find_stack() local
184 for (found = bucket; found; found = found->next) { in find_stack()
185 if (found->hash == hash && in find_stack()
186 found->size == size && in find_stack()
187 !stackdepot_memcmp(entries, found->entries, size)) in find_stack()
188 return found; in find_stack()
239 struct stack_record *found in stack_depot_save() local
[all...]
H A Dtest_linear_ranges.c148 bool found; in range_test_get_selector_high() local
152 &sel, &found); in range_test_get_selector_high()
155 KUNIT_EXPECT_TRUE(test, found); in range_test_get_selector_high()
159 &sel, &found); in range_test_get_selector_high()
163 &sel, &found); in range_test_get_selector_high()
165 KUNIT_EXPECT_FALSE(test, found); in range_test_get_selector_high()
181 bool found; in range_test_get_selector_low() local
186 &found); in range_test_get_selector_low()
189 KUNIT_EXPECT_TRUE(test, found); in range_test_get_selector_low()
194 &found); in range_test_get_selector_low()
[all...]
H A Dlinear_ranges.c80 * @val: address where found value is updated
84 * Return: 0 on success, -EINVAL given selector is not found from any of the
104 * @val: address where found value is updated
108 * Return: 0 on success, -EINVAL given selector is not found from any of the
128 * @selector: address where found selector value is updated
129 * @found: flag to indicate that given value was in the range
133 * value. If given value is in the range, then @found is set true.
140 bool *found) in linear_range_get_selector_low()
142 *found = false; in linear_range_get_selector_low()
152 *found in linear_range_get_selector_low()
138 linear_range_get_selector_low(const struct linear_range *r, unsigned int val, unsigned int *selector, bool *found) linear_range_get_selector_low() argument
182 linear_range_get_selector_low_array(const struct linear_range *r, int ranges, unsigned int val, unsigned int *selector, bool *found) linear_range_get_selector_low_array() argument
219 linear_range_get_selector_high(const struct linear_range *r, unsigned int val, unsigned int *selector, bool *found) linear_range_get_selector_high() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/cache_shape/
H A Dcache_shape.c55 int found; in test_cache_shape() local
59 found = 0; in test_cache_shape()
63 found++; in test_cache_shape()
69 found++; in test_cache_shape()
75 found++; in test_cache_shape()
81 found++; in test_cache_shape()
87 found++; in test_cache_shape()
93 found++; in test_cache_shape()
99 found++; in test_cache_shape()
105 found in test_cache_shape()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/cache_shape/
H A Dcache_shape.c55 int found; in test_cache_shape() local
59 found = 0; in test_cache_shape()
63 found++; in test_cache_shape()
69 found++; in test_cache_shape()
75 found++; in test_cache_shape()
81 found++; in test_cache_shape()
87 found++; in test_cache_shape()
93 found++; in test_cache_shape()
99 found++; in test_cache_shape()
105 found in test_cache_shape()
[all...]
/kernel/linux/linux-6.6/lib/
H A Dtest_linear_ranges.c139 bool found; in range_test_get_selector_high() local
143 &sel, &found); in range_test_get_selector_high()
146 KUNIT_EXPECT_TRUE(test, found); in range_test_get_selector_high()
150 &sel, &found); in range_test_get_selector_high()
154 &sel, &found); in range_test_get_selector_high()
156 KUNIT_EXPECT_FALSE(test, found); in range_test_get_selector_high()
172 bool found; in range_test_get_selector_low() local
177 &found); in range_test_get_selector_low()
180 KUNIT_EXPECT_TRUE(test, found); in range_test_get_selector_low()
185 &found); in range_test_get_selector_low()
[all...]
H A Dstackdepot.c347 struct stack_record *found; in find_stack() local
349 for (found = bucket; found; found = found->next) { in find_stack()
350 if (found->hash == hash && in find_stack()
351 found->size == size && in find_stack()
352 !stackdepot_memcmp(entries, found->entries, size)) in find_stack()
353 return found; in find_stack()
362 struct stack_record *found in __stack_depot_save() local
[all...]
H A Dlinear_ranges.c80 * @val: address where found value is updated
84 * Return: 0 on success, -EINVAL given selector is not found from any of the
104 * @val: address where found value is updated
108 * Return: 0 on success, -EINVAL given selector is not found from any of the
128 * @selector: address where found selector value is updated
129 * @found: flag to indicate that given value was in the range
133 * value. If given value is in the range, then @found is set true.
140 bool *found) in linear_range_get_selector_low()
142 *found = false; in linear_range_get_selector_low()
152 *found in linear_range_get_selector_low()
138 linear_range_get_selector_low(const struct linear_range *r, unsigned int val, unsigned int *selector, bool *found) linear_range_get_selector_low() argument
182 linear_range_get_selector_low_array(const struct linear_range *r, int ranges, unsigned int val, unsigned int *selector, bool *found) linear_range_get_selector_low_array() argument
219 linear_range_get_selector_high(const struct linear_range *r, unsigned int val, unsigned int *selector, bool *found) linear_range_get_selector_high() argument
[all...]
/kernel/linux/linux-5.10/drivers/misc/lkdtm/
H A Dstackleak.c16 unsigned long *sp, left, found, i; in lkdtm_STACKLEAK_ERASING() local
49 for (i = 0, found = 0; i < left && found <= check_depth; i++) { in lkdtm_STACKLEAK_ERASING()
51 found++; in lkdtm_STACKLEAK_ERASING()
53 found = 0; in lkdtm_STACKLEAK_ERASING()
56 if (found <= check_depth) { in lkdtm_STACKLEAK_ERASING()
57 pr_err("FAIL: the erased part is not found (checked %lu bytes)\n", in lkdtm_STACKLEAK_ERASING()
64 (i - found) * sizeof(unsigned long)); in lkdtm_STACKLEAK_ERASING()
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c744 struct ofdpa_flow_tbl_entry *found; in ofdpa_flow_tbl_find() local
745 size_t key_len = match->key_len ? match->key_len : sizeof(found->key); in ofdpa_flow_tbl_find()
747 hash_for_each_possible(ofdpa->flow_tbl, found, in ofdpa_flow_tbl_find()
749 if (memcmp(&found->key, &match->key, key_len) == 0) in ofdpa_flow_tbl_find()
750 return found; in ofdpa_flow_tbl_find()
760 struct ofdpa_flow_tbl_entry *found; in ofdpa_flow_tbl_add() local
761 size_t key_len = match->key_len ? match->key_len : sizeof(found->key); in ofdpa_flow_tbl_add()
768 found = ofdpa_flow_tbl_find(ofdpa, match); in ofdpa_flow_tbl_add()
770 if (found) { in ofdpa_flow_tbl_add()
771 match->cookie = found in ofdpa_flow_tbl_add()
795 struct ofdpa_flow_tbl_entry *found; ofdpa_flow_tbl_del() local
1051 struct ofdpa_group_tbl_entry *found; ofdpa_group_tbl_find() local
1079 struct ofdpa_group_tbl_entry *found; ofdpa_group_tbl_add() local
1110 struct ofdpa_group_tbl_entry *found; ofdpa_group_tbl_del() local
1221 struct ofdpa_neigh_tbl_entry *found; ofdpa_neigh_tbl_find() local
1264 struct ofdpa_neigh_tbl_entry *found; ofdpa_port_ipv4_neigh() local
1381 struct ofdpa_neigh_tbl_entry *found; ofdpa_port_ipv4_nh() local
1887 struct ofdpa_fdb_tbl_entry *found; ofdpa_fdb_tbl_find() local
1902 struct ofdpa_fdb_tbl_entry *found; ofdpa_port_fdb() local
1949 struct ofdpa_fdb_tbl_entry *found; ofdpa_port_fdb_flush() local
2214 struct ofdpa_internal_vlan_tbl_entry *found; ofdpa_internal_vlan_tbl_find() local
2230 struct ofdpa_internal_vlan_tbl_entry *found; ofdpa_port_internal_vlan_id_get() local
2317 struct ofdpa_internal_vlan_tbl_entry *found; ofdpa_port_internal_vlan_id_put() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c744 struct ofdpa_flow_tbl_entry *found; in ofdpa_flow_tbl_find() local
745 size_t key_len = match->key_len ? match->key_len : sizeof(found->key); in ofdpa_flow_tbl_find()
747 hash_for_each_possible(ofdpa->flow_tbl, found, in ofdpa_flow_tbl_find()
749 if (memcmp(&found->key, &match->key, key_len) == 0) in ofdpa_flow_tbl_find()
750 return found; in ofdpa_flow_tbl_find()
760 struct ofdpa_flow_tbl_entry *found; in ofdpa_flow_tbl_add() local
761 size_t key_len = match->key_len ? match->key_len : sizeof(found->key); in ofdpa_flow_tbl_add()
768 found = ofdpa_flow_tbl_find(ofdpa, match); in ofdpa_flow_tbl_add()
770 if (found) { in ofdpa_flow_tbl_add()
771 match->cookie = found in ofdpa_flow_tbl_add()
795 struct ofdpa_flow_tbl_entry *found; ofdpa_flow_tbl_del() local
1051 struct ofdpa_group_tbl_entry *found; ofdpa_group_tbl_find() local
1079 struct ofdpa_group_tbl_entry *found; ofdpa_group_tbl_add() local
1110 struct ofdpa_group_tbl_entry *found; ofdpa_group_tbl_del() local
1221 struct ofdpa_neigh_tbl_entry *found; ofdpa_neigh_tbl_find() local
1264 struct ofdpa_neigh_tbl_entry *found; ofdpa_port_ipv4_neigh() local
1381 struct ofdpa_neigh_tbl_entry *found; ofdpa_port_ipv4_nh() local
1888 struct ofdpa_fdb_tbl_entry *found; ofdpa_fdb_tbl_find() local
1903 struct ofdpa_fdb_tbl_entry *found; ofdpa_port_fdb() local
1950 struct ofdpa_fdb_tbl_entry *found; ofdpa_port_fdb_flush() local
2215 struct ofdpa_internal_vlan_tbl_entry *found; ofdpa_internal_vlan_tbl_find() local
2231 struct ofdpa_internal_vlan_tbl_entry *found; ofdpa_port_internal_vlan_id_get() local
2318 struct ofdpa_internal_vlan_tbl_entry *found; ofdpa_port_internal_vlan_id_put() local
[all...]
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
H A Dasid.c35 unsigned long found; in hl_asid_alloc() local
39 found = find_first_zero_bit(hdev->asid_bitmap, in hl_asid_alloc()
41 if (found == hdev->asic_prop.max_asid) in hl_asid_alloc()
42 found = 0; in hl_asid_alloc()
44 set_bit(found, hdev->asid_bitmap); in hl_asid_alloc()
48 return found; in hl_asid_alloc()
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
H A Dasid.c34 unsigned long found; in hl_asid_alloc() local
38 found = find_first_zero_bit(hdev->asid_bitmap, in hl_asid_alloc()
40 if (found == hdev->asic_prop.max_asid) in hl_asid_alloc()
41 found = 0; in hl_asid_alloc()
43 set_bit(found, hdev->asid_bitmap); in hl_asid_alloc()
47 return found; in hl_asid_alloc()
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dkeep-tracking.c37 int i, found; in find_comm() local
39 found = 0; in find_comm()
49 found += 1; in find_comm()
54 return found; in find_comm()
78 int found, err = -1; in test__keep_tracking() local
112 * First, test that a 'comm' event can be found when the event is in test__keep_tracking()
123 found = find_comm(evlist, comm); in test__keep_tracking()
124 if (found != 1) { in test__keep_tracking()
130 * Secondly, test that a 'comm' event can be found when the event is in test__keep_tracking()
145 found in test__keep_tracking()
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dkeep-tracking.c37 int i, found; in find_comm() local
39 found = 0; in find_comm()
49 found += 1; in find_comm()
54 return found; in find_comm()
78 int found, err = -1; in test__keep_tracking() local
112 * First, test that a 'comm' event can be found when the event is in test__keep_tracking()
123 found = find_comm(evlist, comm); in test__keep_tracking()
124 if (found != 1) { in test__keep_tracking()
130 * Secondly, test that a 'comm' event can be found when the event is in test__keep_tracking()
145 found in test__keep_tracking()
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-uclogic-params.c61 * -EPIPE, if the descriptor was not found, or
91 hid_dbg(hdev, "string descriptor #%hhu not found\n", idx); in uclogic_params_get_str_desc()
129 * case of error, or if parameters are not found. Cannot be NULL.
131 * were found, and to false if not (e.g. device was
144 bool found = false; in uclogic_params_pen_init_v1() local
169 "string descriptor with pen parameters not found, assuming not compatible\n"); in uclogic_params_pen_init_v1()
226 found = true; in uclogic_params_pen_init_v1()
228 *pfound = found; in uclogic_params_pen_init_v1()
257 * case of error, or if parameters are not found. Cannot be NULL.
259 * were found, an
272 bool found = false; uclogic_params_pen_init_v2() local
453 bool found = false; uclogic_params_frame_init_v1_buttonpad() local
715 bool found; uclogic_params_huion_init() local
847 bool found; uclogic_params_init() local
[all...]
/kernel/linux/linux-6.6/scripts/dtc/
H A Dof_unittest_expect310 $found = 0;
315 $found = 1;
330 } elsif (! $found) {
337 printf "** %s%s$script_name WARNING - not found ---> %s\n",
384 $found = 0;
389 $found = 1;
404 if ($found) {
447 $found = 0;
450 $found = 1;
455 if ($found) {
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dselftest_llc.c29 unsigned int ia_freq, ring_freq, found; in gen6_verify_ring_freq() local
44 found = (val >> 0) & 0xff; in gen6_verify_ring_freq()
45 if (found != ia_freq) { in gen6_verify_ring_freq()
46 pr_err("Min freq table(%d/[%d, %d]):%dMHz did not match expected CPU freq, found %d, expected %d\n", in gen6_verify_ring_freq()
49 found, ia_freq); in gen6_verify_ring_freq()
54 found = (val >> 8) & 0xff; in gen6_verify_ring_freq()
55 if (found != ring_freq) { in gen6_verify_ring_freq()
56 pr_err("Min freq table(%d/[%d, %d]):%dMHz did not match expected ring freq, found %d, expected %d\n", in gen6_verify_ring_freq()
59 found, ring_freq); in gen6_verify_ring_freq()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dselftest_llc.c27 unsigned int ia_freq, ring_freq, found; in gen6_verify_ring_freq() local
41 found = (val >> 0) & 0xff; in gen6_verify_ring_freq()
42 if (found != ia_freq) { in gen6_verify_ring_freq()
43 pr_err("Min freq table(%d/[%d, %d]):%dMHz did not match expected CPU freq, found %d, expected %d\n", in gen6_verify_ring_freq()
46 found, ia_freq); in gen6_verify_ring_freq()
51 found = (val >> 8) & 0xff; in gen6_verify_ring_freq()
52 if (found != ring_freq) { in gen6_verify_ring_freq()
53 pr_err("Min freq table(%d/[%d, %d]):%dMHz did not match expected ring freq, found %d, expected %d\n", in gen6_verify_ring_freq()
56 found, ring_freq); in gen6_verify_ring_freq()
/kernel/linux/linux-5.10/net/9p/
H A Dmod.c97 struct p9_trans_module *t, *found = NULL; in v9fs_get_trans_by_name() local
104 found = t; in v9fs_get_trans_by_name()
109 return found; in v9fs_get_trans_by_name()
120 struct p9_trans_module *t, *found = NULL; in v9fs_get_default_trans() local
126 found = t; in v9fs_get_default_trans()
130 if (!found) in v9fs_get_default_trans()
133 found = t; in v9fs_get_default_trans()
138 return found; in v9fs_get_default_trans()

Completed in 16 milliseconds

12345678910>>...90