Home
last modified time | relevance | path

Searched refs:index (Results 1326 - 1350 of 22517) sorted by relevance

1...<<51525354555657585960>>...901

/kernel/linux/linux-5.10/drivers/android/
H A Dbinder_alloc_selftest.c106 pr_err("expect alloc but is %s at page index %d\n", in check_buffer_pages_allocated()
149 pr_err("expect lru but is %s at page index %d\n", in binder_selftest_free_buf()
168 pr_err("expect free but is %s at page index %d\n", in binder_selftest_free_page()
193 static bool is_dup(int *seq, int index, int val) in is_dup() argument
197 for (i = 0; i < index; i++) { in is_dup()
207 int index, size_t end) in binder_selftest_free_seq()
211 if (index == BUFFER_NUM) { in binder_selftest_free_seq()
216 if (is_dup(seq, index, i)) in binder_selftest_free_seq()
218 seq[index] = i; in binder_selftest_free_seq()
219 binder_selftest_free_seq(alloc, sizes, seq, index in binder_selftest_free_seq()
205 binder_selftest_free_seq(struct binder_alloc *alloc, size_t *sizes, int *seq, int index, size_t end) binder_selftest_free_seq() argument
249 binder_selftest_alloc_offset(struct binder_alloc *alloc, size_t *end_offset, int index) binder_selftest_alloc_offset() argument
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ingenic/
H A Djz4740_ecc.c99 static void jz_nand_correct_data(uint8_t *buf, int index, int mask) in jz_nand_correct_data() argument
101 int offset = index & 0x7; in jz_nand_correct_data()
104 index += (index >> 3); in jz_nand_correct_data()
106 data = buf[index]; in jz_nand_correct_data()
107 data |= buf[index + 1] << 8; in jz_nand_correct_data()
113 buf[index] = data & 0xff; in jz_nand_correct_data()
114 buf[index + 1] = (data >> 8) & 0xff; in jz_nand_correct_data()
121 int i, error_count, index; in jz4740_ecc_correct() local
153 index in jz4740_ecc_correct()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dsbitmap.h238 unsigned int index; in __sbitmap_for_each_set() local
244 index = SB_NR_TO_INDEX(sb, start); in __sbitmap_for_each_set()
250 sb->map[index].depth - nr, in __sbitmap_for_each_set()
254 word = sb->map[index].word & ~sb->map[index].cleared; in __sbitmap_for_each_set()
268 if (!fn(sb, (index << sb->shift) + nr, data)) in __sbitmap_for_each_set()
275 if (++index >= sb->map_nr) in __sbitmap_for_each_set()
276 index = 0; in __sbitmap_for_each_set()
313 * the caller doing sbitmap_deferred_clear() if a given index is full, which
490 static inline int sbq_index_inc(int index) in sbq_index_inc() argument
495 sbq_index_atomic_inc(atomic_t *index) sbq_index_atomic_inc() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
H A Drcar_du_group.c69 if (rgrp->index == 0) { in rcar_du_group_setup_defr8()
80 if (rgrp->index == rcdu->dpad0_source / 2) in rcar_du_group_setup_defr8()
103 if (rcdu->info->gen < 3 && rgrp->index == 0) { in rcar_du_group_setup_didsr()
115 rcrtc = &rcdu->crtcs[rgrp->index * 2]; in rcar_du_group_setup_didsr()
124 if (rcdu->info->lvds_clk_mask & BIT(rcrtc->index)) in rcar_du_group_setup_didsr()
225 if (rcdu->info->channels_mask & BIT(rgrp->index * 2)) { in __rcar_du_group_start_stop()
226 struct rcar_du_crtc *rcrtc = &rgrp->dev->crtcs[rgrp->index * 2]; in __rcar_du_group_start_stop()
272 unsigned int index; in rcar_du_set_dpad0_vsp1_routing() local
285 index = rcdu->info->gen < 3 ? 0 : DIV_ROUND_UP(rcdu->num_crtcs, 2) - 1; in rcar_du_set_dpad0_vsp1_routing()
286 rgrp = &rcdu->groups[index]; in rcar_du_set_dpad0_vsp1_routing()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ingenic/
H A Djz4740_ecc.c99 static void jz_nand_correct_data(uint8_t *buf, int index, int mask) in jz_nand_correct_data() argument
101 int offset = index & 0x7; in jz_nand_correct_data()
104 index += (index >> 3); in jz_nand_correct_data()
106 data = buf[index]; in jz_nand_correct_data()
107 data |= buf[index + 1] << 8; in jz_nand_correct_data()
113 buf[index] = data & 0xff; in jz_nand_correct_data()
114 buf[index + 1] = (data >> 8) & 0xff; in jz_nand_correct_data()
121 int i, error_count, index; in jz4740_ecc_correct() local
153 index in jz4740_ecc_correct()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dirq.c138 * Contains a return code, the lookup index, and references to the flags
143 unsigned int index; member
187 * might contain multiple interrupts we check if the index is within this
189 * count from the lookup index to prepare for the next resource.
208 if (ctx->index >= irq->interrupt_count) { in acpi_irq_parse_one_cb()
209 ctx->index -= irq->interrupt_count; in acpi_irq_parse_one_cb()
212 fwnode = acpi_get_gsi_domain_id(irq->interrupts[ctx->index]); in acpi_irq_parse_one_cb()
213 acpi_irq_parse_one_match(fwnode, irq->interrupts[ctx->index], in acpi_irq_parse_one_cb()
221 if (ctx->index >= eirq->interrupt_count) { in acpi_irq_parse_one_cb()
222 ctx->index in acpi_irq_parse_one_cb()
252 acpi_irq_parse_one(acpi_handle handle, unsigned int index, struct irq_fwspec *fwspec, unsigned long *flags) acpi_irq_parse_one() argument
276 acpi_irq_get(acpi_handle handle, unsigned int index, struct resource *res) acpi_irq_get() argument
[all...]
/kernel/linux/linux-6.6/drivers/android/
H A Dbinder_alloc_selftest.c106 pr_err("expect alloc but is %s at page index %d\n", in check_buffer_pages_allocated()
149 pr_err("expect lru but is %s at page index %d\n", in binder_selftest_free_buf()
168 pr_err("expect free but is %s at page index %d\n", in binder_selftest_free_page()
193 static bool is_dup(int *seq, int index, int val) in is_dup() argument
197 for (i = 0; i < index; i++) { in is_dup()
207 int index, size_t end) in binder_selftest_free_seq()
211 if (index == BUFFER_NUM) { in binder_selftest_free_seq()
216 if (is_dup(seq, index, i)) in binder_selftest_free_seq()
218 seq[index] = i; in binder_selftest_free_seq()
219 binder_selftest_free_seq(alloc, sizes, seq, index in binder_selftest_free_seq()
205 binder_selftest_free_seq(struct binder_alloc *alloc, size_t *sizes, int *seq, int index, size_t end) binder_selftest_free_seq() argument
249 binder_selftest_alloc_offset(struct binder_alloc *alloc, size_t *end_offset, int index) binder_selftest_alloc_offset() argument
[all...]
/kernel/liteos_m/testsuites/src/
H A DosTest.c117 UINT32 index; in QueueUsedCountGet() local
120 for (index = 0; index < LOSCFG_BASE_IPC_QUEUE_LIMIT; index++) { in QueueUsedCountGet()
121 LosQueueCB *queueNode = ((LosQueueCB *)g_allQueue) + index; in QueueUsedCountGet()
128 for (index = 0; index < LOSCFG_BASE_IPC_STATIC_QUEUE_LIMIT; index++) { in QueueUsedCountGet()
129 LosQueueCB *queueNode = ((LosQueueCB *)g_staticQueue) + index; in QueueUsedCountGet()
148 for (UINT32 index in TaskUsedCountGet()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_ENUMSTD.c11 * 1 Jan 2009 0.3 Added index=S32_MAX and S32_MAX+1
56 std.index = i; in test_VIDIOC_ENUMSTD()
65 CU_ASSERT_EQUAL(std.index, i); in test_VIDIOC_ENUMSTD()
85 std2.index = std.index; in test_VIDIOC_ENUMSTD()
95 dprintf("\tstd = {.index=%u, .id=%llX, .name=\"%s\", " in test_VIDIOC_ENUMSTD()
99 std.index, in test_VIDIOC_ENUMSTD()
115 std2.index = i; in test_VIDIOC_ENUMSTD()
130 std.index = (__u32) S32_MAX; in test_VIDIOC_ENUMSTD_S32_MAX()
138 std2.index in test_VIDIOC_ENUMSTD_S32_MAX()
[all...]
H A Dtest_VIDIOC_ENUMOUTPUT.c47 output.index = i; in test_VIDIOC_ENUMOUTPUT()
57 CU_ASSERT_EQUAL(output.index, i); in test_VIDIOC_ENUMOUTPUT()
78 output2.index = output.index; in test_VIDIOC_ENUMOUTPUT()
88 dprintf("\toutput = {.index=%u, .name=\"%s\", " in test_VIDIOC_ENUMOUTPUT()
92 output.index, in test_VIDIOC_ENUMOUTPUT()
108 output2.index = i; in test_VIDIOC_ENUMOUTPUT()
127 output.index = (__u32) S32_MAX; in test_VIDIOC_ENUMOUTPUT_S32_MAX()
135 output2.index = (__u32) S32_MAX; in test_VIDIOC_ENUMOUTPUT_S32_MAX()
146 output.index in test_VIDIOC_ENUMOUTPUT_S32_MAX_1()
[all...]
/third_party/musl/porting/liteos_a/kernel/src/time/
H A D__tz.c36 static const unsigned char *zi, *trans, *index, *types, *abbrevs, *abbrevs_end; variable
58 size_t a = 0, n = (index-trans)>>scale, m; in scan_trans()
71 if (local) off = (int32_t)zi_read32(types + 6 * index[m-1]); in scan_trans()
80 /* First and last entry are special. First means to use lowest-index in scan_trans()
82 n = (index-trans)>>scale; in scan_trans()
95 * and the index-zero (after transition) type as the alt. */ in scan_trans()
97 if (alt) *alt = index[0]; in scan_trans()
104 if (a && types[6*index[a-1]+4] != types[6*index[a]+4]) in scan_trans()
105 *alt = index[ in scan_trans()
[all...]
/third_party/node/deps/v8/src/regexp/
H A Dregexp-utils.cc20 const int index = capture * 2; in GenericCaptureGetter() local
21 if (index >= match_info->NumberOfCaptureRegisters()) { in GenericCaptureGetter()
26 const int match_start = match_info->Capture(index); in GenericCaptureGetter()
27 const int match_end = match_info->Capture(index + 1); in GenericCaptureGetter()
146 // Check that the index refers to "exec" method (this has to be consistent in IsUnmodifiedRegExp()
171 uint64_t RegExpUtils::AdvanceStringIndex(Handle<String> string, uint64_t index, in AdvanceStringIndex() argument
173 DCHECK_LE(static_cast<double>(index), kMaxSafeInteger); in AdvanceStringIndex()
175 if (unicode && index < string_length) { in AdvanceStringIndex()
176 const uint16_t first = string->Get(static_cast<uint32_t>(index)); in AdvanceStringIndex()
177 if (first >= 0xD800 && first <= 0xDBFF && index in AdvanceStringIndex()
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_vs.c44 unsigned index; in r300_shader_read_vs_outputs() local
49 index = info->output_semantic_index[i]; in r300_shader_read_vs_outputs()
53 assert(index == 0); in r300_shader_read_vs_outputs()
58 assert(index == 0); in r300_shader_read_vs_outputs()
63 assert(index < ATTR_COLOR_COUNT); in r300_shader_read_vs_outputs()
64 vs_outputs->color[index] = i; in r300_shader_read_vs_outputs()
68 assert(index < ATTR_COLOR_COUNT); in r300_shader_read_vs_outputs()
69 vs_outputs->bcolor[index] = i; in r300_shader_read_vs_outputs()
73 assert(index < ATTR_GENERIC_COUNT); in r300_shader_read_vs_outputs()
74 vs_outputs->generic[index] in r300_shader_read_vs_outputs()
[all...]
/third_party/rust/crates/clap/src/util/
H A Dflat_map.rs20 for (index, existing) in self.keys.iter().enumerate() {
22 std::mem::swap(&mut self.values[index], &mut value);
68 let index = some!(self in remove_entry()
73 let key = self.keys.remove(index); in remove_entry()
74 let value = self.values.remove(index); in remove_entry()
83 for (index, existing) in self.keys.iter().enumerate() { in entry()
85 return Entry::Occupied(OccupiedEntry { v: self, index }); in entry()
96 for (index, existing) in self.keys.iter().enumerate() { in get()
98 return Some(&self.values[index]); in get()
109 for (index, existin in get_mut()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DparseConst.cpp25 index(0), in TConstTraverser()
48 size_t index; member in TConstTraverser
135 index = 0; in visitAggregate()
170 if (index >= instanceSize) in visitConstantUnion()
178 if (index >= instanceSize) in visitConstantUnion()
180 leftUnionArray[index].cast(basicType, rightUnionArray[i]); in visitConstantUnion()
182 (index)++; in visitConstantUnion()
185 size_t totalSize = index + size; in visitConstantUnion()
189 for(size_t i = index; i < totalSize; i++) { in visitConstantUnion()
195 (index) in visitConstantUnion()
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dtest-ot-layout.c75 unsigned int index; in test_ot_layout_table_find_script() local
77 g_assert (hb_ot_layout_table_find_script (face, HB_OT_TAG_GSUB, HB_TAG ('a','r','a','b'), &index)); in test_ot_layout_table_find_script()
78 g_assert_cmpuint (0, ==, index); in test_ot_layout_table_find_script()
79 g_assert (hb_ot_layout_table_find_script (face, HB_OT_TAG_GSUB, HB_TAG ('d','f','l','t'), &index)); in test_ot_layout_table_find_script()
80 g_assert_cmpuint (1, ==, index); in test_ot_layout_table_find_script()
81 g_assert (hb_ot_layout_table_find_script (face, HB_OT_TAG_GSUB, HB_TAG ('l','a','t','n'), &index)); in test_ot_layout_table_find_script()
82 g_assert_cmpuint (2, ==, index); in test_ot_layout_table_find_script()
84 g_assert (hb_ot_layout_table_find_script (face, HB_OT_TAG_GPOS, HB_TAG ('a','r','a','b'), &index)); in test_ot_layout_table_find_script()
85 g_assert_cmpuint (0, ==, index); in test_ot_layout_table_find_script()
86 g_assert (!hb_ot_layout_table_find_script (face, HB_OT_TAG_GPOS, HB_TAG ('d','f','l','t'), &index)); in test_ot_layout_table_find_script()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dcord_ring_reader_test.cc80 EXPECT_THAT(reader.index(), Eq(ring->head())); in TEST()
103 CordRepRing::index_type index = ring->advance(head, i); in TEST() local
108 ASSERT_THAT(reader.index(), Eq(index)); in TEST()
109 ASSERT_THAT(reader.node(), Eq(ring->entry_child(index))); in TEST()
131 CordRepRing::index_type index = ring->advance(head, i); in TEST() local
138 ASSERT_THAT(reader.index(), Eq(index)); in TEST()
139 ASSERT_THAT(reader.node(), Eq(ring->entry_child(index))); in TEST()
158 CordRepRing::index_type index in TEST() local
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DGeneratedMessageV3.java295 public Object getRepeatedField(final FieldDescriptor field, final int index) { in getRepeatedField() argument
297 .getRepeated(this, index); in getRepeatedField()
683 public Message.Builder getRepeatedFieldBuilder(final FieldDescriptor field, int index) { in getRepeatedFieldBuilder() argument
685 this, index); in getRepeatedFieldBuilder()
740 public Object getRepeatedField(final FieldDescriptor field, final int index) { in getRepeatedField() argument
742 .getRepeated(this, index); in getRepeatedField()
747 final FieldDescriptor field, final int index, final Object value) { in setRepeatedField()
749 .setRepeated(this, index, value); in setRepeatedField()
913 int index); in getExtension()
936 int index); in getExtension()
746 setRepeatedField( final FieldDescriptor field, final int index, final Object value) setRepeatedField() argument
911 getExtension( ExtensionLite<MessageType, List<Type>> extension, int index) getExtension() argument
934 getExtension( Extension<MessageType, List<Type>> extension, int index) getExtension() argument
938 getExtension( GeneratedExtension<MessageType, List<Type>> extension, int index) getExtension() argument
1059 getExtension( final ExtensionLite<MessageType, List<Type>> extensionLite, final int index) getExtension() argument
1105 getExtension( final Extension<MessageType, List<Type>> extension, final int index) getExtension() argument
1111 getExtension( final GeneratedExtension<MessageType, List<Type>> extension, final int index) getExtension() argument
1296 getRepeatedField(final FieldDescriptor field, final int index) getRepeatedField() argument
1442 getExtension( final ExtensionLite<MessageType, List<Type>> extensionLite, final int index) getExtension() argument
1470 setExtension( final ExtensionLite<MessageType, List<Type>> extensionLite, final int index, final Type value) setExtension() argument
1547 getExtension( final Extension<MessageType, List<Type>> extension, final int index) getExtension() argument
1553 getExtension( final GeneratedExtension<MessageType, List<Type>> extension, final int index) getExtension() argument
1568 setExtension( final Extension<MessageType, List<Type>> extension, final int index, final Type value) setExtension() argument
1574 setExtension( final GeneratedExtension<MessageType, List<Type>> extension, final int index, final Type value) setExtension() argument
1697 getRepeatedField(final FieldDescriptor field, final int index) getRepeatedField() argument
1711 getRepeatedFieldBuilder(final FieldDescriptor field, final int index) getRepeatedFieldBuilder() argument
1774 setRepeatedField(final FieldDescriptor field, final int index, final Object value) setRepeatedField() argument
2039 getRepeated(GeneratedMessageV3 message, int index) getRepeated() argument
2040 getRepeated(GeneratedMessageV3.Builder builder, int index) getRepeated() argument
2041 getRepeatedRaw(GeneratedMessageV3 message, int index) getRepeatedRaw() argument
2042 getRepeatedRaw(GeneratedMessageV3.Builder builder, int index) getRepeatedRaw() argument
2043 setRepeated(Builder builder, int index, Object value) setRepeated() argument
2053 getRepeatedBuilder(GeneratedMessageV3.Builder builder, int index) getRepeatedBuilder() argument
2296 getRepeated(final GeneratedMessageV3 message, final int index) getRepeated() argument
2300 getRepeatedRaw(final GeneratedMessageV3 message, final int index) getRepeatedRaw() argument
2305 getRepeated(GeneratedMessageV3.Builder builder, int index) getRepeated() argument
2309 getRepeatedRaw(GeneratedMessageV3.Builder builder, int index) getRepeatedRaw() argument
2314 setRepeated(final Builder builder, final int index, final Object value) setRepeated() argument
2365 getRepeatedBuilder(GeneratedMessageV3.Builder builder, int index) getRepeatedBuilder() argument
2377 getRepeated(final GeneratedMessageV3 message, final int index) getRepeated() argument
2379 getRepeated(GeneratedMessageV3.Builder<?> builder, int index) getRepeated() argument
2381 setRepeated( final GeneratedMessageV3.Builder<?> builder, final int index, final Object value) setRepeated() argument
2434 getRepeated( final GeneratedMessageV3 message, final int index) getRepeated() argument
2440 getRepeated(GeneratedMessageV3.Builder<?> builder, int index) getRepeated() argument
2445 setRepeated( final GeneratedMessageV3.Builder<?> builder, final int index, final Object value) setRepeated() argument
2517 getRepeated(final GeneratedMessageV3 message, final int index) getRepeated() argument
2521 getRepeated(GeneratedMessageV3.Builder builder, int index) getRepeated() argument
2525 getRepeatedRaw(GeneratedMessageV3 message, int index) getRepeatedRaw() argument
2529 getRepeatedRaw(GeneratedMessageV3.Builder builder, int index) getRepeatedRaw() argument
2533 setRepeated(final Builder builder, final int index, final Object value) setRepeated() argument
2570 getRepeatedBuilder(GeneratedMessageV3.Builder builder, int index) getRepeatedBuilder() argument
2660 getRepeated(GeneratedMessageV3 message, int index) getRepeated() argument
2665 getRepeated(Builder builder, int index) getRepeated() argument
2670 getRepeatedRaw(GeneratedMessageV3 message, int index) getRepeatedRaw() argument
2675 getRepeatedRaw(Builder builder, int index) getRepeatedRaw() argument
2680 setRepeated(Builder builder, int index, Object value) setRepeated() argument
2728 getRepeatedBuilder(Builder builder, int index) getRepeatedBuilder() argument
2859 getRepeated(final GeneratedMessageV3 message, final int index) getRepeated() argument
2868 getRepeated(final GeneratedMessageV3.Builder builder, final int index) getRepeated() argument
2877 setRepeated(final Builder builder, final int index, final Object value) setRepeated() argument
3029 setRepeated(final Builder builder, final int index, final Object value) setRepeated() argument
3041 getRepeatedBuilder( final GeneratedMessageV3.Builder builder, final int index) getRepeatedBuilder() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DPixelProgram.cpp167 d.x = v[2 + dst.index].x; in applyShader()
168 d.y = v[2 + dst.index].y; in applyShader()
169 d.z = v[2 + dst.index].z; in applyShader()
170 d.w = v[2 + dst.index].w; in applyShader()
174 d = r[dst.index]; in applyShader()
353 case Shader::OPCODE_LABEL: LABEL(dst.index); break; in applyShader()
398 if(dst.x) pDst.x = r[dst.index].x; in applyShader()
399 if(dst.y) pDst.y = r[dst.index].y; in applyShader()
400 if(dst.z) pDst.z = r[dst.index].z; in applyShader()
401 if(dst.w) pDst.w = r[dst.index] in applyShader()
758 Int index = As<Int>(Float(fetchRegister(sampler).x.x)); sampleTexture() local
1026 uniformAddress(int bufferIndex, unsigned int index) uniformAddress() argument
1038 uniformAddress(int bufferIndex, unsigned int index, Int& offset) uniformAddress() argument
1111 Int4 index = Int4(i) + As<Int4>(a) * Int4(src.rel.scale); readConstant() local
1866 UInt index = callStack[--stackIndex]; RET() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dcacheinfo.c28 * - a list of "index" objects representing the cpu's local cache hierarchy
33 struct cache_index_dir *index; /* list of index objects */ member
36 /* "index" object: each cpu's cache directory has an index
42 struct cache_index_dir *next; /* next index in parent directory */
63 /* These are used to index the cache_type_info array. */
561 struct cache_index_dir *index; in cache_index_release() local
563 index = kobj_to_cache_index_dir(kobj); in cache_index_release()
565 pr_debug("freeing index director in cache_index_release()
582 struct cache_index_dir *index; index_kobj_to_cache() local
668 struct cache_index_dir *index; level_show() local
683 struct cache_index_dir *index; show_shared_cpumap() local
785 cacheinfo_create_index_dir(struct cache *cache, int index, struct cache_dir *cache_dir) cacheinfo_create_index_dir() argument
815 int index = 0; cacheinfo_sysfs_populate() local
865 struct cache_index_dir *index; remove_index_dirs() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/
H A Dvmx.c400 uint16_t index[4]; in nested_pg_map() local
423 index[0] = (nested_paddr >> 12) & 0x1ffu; in nested_pg_map()
424 index[1] = (nested_paddr >> 21) & 0x1ffu; in nested_pg_map()
425 index[2] = (nested_paddr >> 30) & 0x1ffu; in nested_pg_map()
426 index[3] = (nested_paddr >> 39) & 0x1ffu; in nested_pg_map()
430 if (!pml4e[index[3]].readable) { in nested_pg_map()
431 pml4e[index[3]].address = vm_phy_page_alloc(vm, in nested_pg_map()
434 pml4e[index[3]].writable = true; in nested_pg_map()
435 pml4e[index[3]].readable = true; in nested_pg_map()
436 pml4e[index[ in nested_pg_map()
[all...]
/kernel/linux/linux-5.10/drivers/vfio/platform/
H A Dvfio_platform_common.c332 if (info.index >= vdev->num_regions) in vfio_platform_ioctl()
336 info.offset = VFIO_PLATFORM_INDEX_TO_OFFSET(info.index); in vfio_platform_ioctl()
337 info.size = vdev->regions[info.index].size; in vfio_platform_ioctl()
338 info.flags = vdev->regions[info.index].flags; in vfio_platform_ioctl()
354 if (info.index >= vdev->num_irqs) in vfio_platform_ioctl()
357 info.flags = vdev->irqs[info.index].flags; in vfio_platform_ioctl()
358 info.count = vdev->irqs[info.index].count; in vfio_platform_ioctl()
388 ret = vfio_platform_set_irqs_ioctl(vdev, hdr.flags, hdr.index, in vfio_platform_ioctl()
461 unsigned int index = VFIO_PLATFORM_OFFSET_TO_INDEX(*ppos); in vfio_platform_read() local
464 if (index > in vfio_platform_read()
537 unsigned int index = VFIO_PLATFORM_OFFSET_TO_INDEX(*ppos); vfio_platform_write() local
578 unsigned int index; vfio_platform_mmap() local
[all...]
/kernel/linux/linux-6.6/drivers/vfio/platform/
H A Dvfio_platform_common.c314 if (info.index >= vdev->num_regions) in vfio_platform_ioctl()
318 info.offset = VFIO_PLATFORM_INDEX_TO_OFFSET(info.index); in vfio_platform_ioctl()
319 info.size = vdev->regions[info.index].size; in vfio_platform_ioctl()
320 info.flags = vdev->regions[info.index].flags; in vfio_platform_ioctl()
336 if (info.index >= vdev->num_irqs) in vfio_platform_ioctl()
339 info.flags = vdev->irqs[info.index].flags; in vfio_platform_ioctl()
340 info.count = vdev->irqs[info.index].count; in vfio_platform_ioctl()
370 ret = vfio_platform_set_irqs_ioctl(vdev, hdr.flags, hdr.index, in vfio_platform_ioctl()
445 unsigned int index = VFIO_PLATFORM_OFFSET_TO_INDEX(*ppos); in vfio_platform_read() local
448 if (index > in vfio_platform_read()
523 unsigned int index = VFIO_PLATFORM_OFFSET_TO_INDEX(*ppos); vfio_platform_write() local
566 unsigned int index; vfio_platform_mmap() local
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dinstruction.h277 // Gets the |index|-th logical operand.
278 inline Operand& GetOperand(uint32_t index);
279 inline const Operand& GetOperand(uint32_t index) const;
284 // Gets the |index|-th logical operand as a single SPIR-V word. This method is
287 uint32_t GetSingleWordOperand(uint32_t index) const;
288 // Sets the |index|-th in-operand's data to the given |data|.
289 inline void SetInOperand(uint32_t index, Operand::OperandData&& data);
290 // Sets the |index|-th operand's data to the given |data|.
291 // This is for in-operands modification only, but with |index| expressed in
292 // terms of operand index rathe
327 RemoveOperand(uint32_t index) RemoveOperand() argument
331 InsertOperand(uint32_t index, Operand&& operand) InsertOperand() argument
340 GetInOperand(uint32_t index) GetInOperand() argument
349 RemoveInOperand(uint32_t index) RemoveInOperand() argument
655 GetOperand(uint32_t index) GetOperand() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dinstruction.h277 // Gets the |index|-th logical operand.
278 inline Operand& GetOperand(uint32_t index);
279 inline const Operand& GetOperand(uint32_t index) const;
284 // Gets the |index|-th logical operand as a single SPIR-V word. This method is
287 uint32_t GetSingleWordOperand(uint32_t index) const;
288 // Sets the |index|-th in-operand's data to the given |data|.
289 inline void SetInOperand(uint32_t index, Operand::OperandData&& data);
290 // Sets the |index|-th operand's data to the given |data|.
291 // This is for in-operands modification only, but with |index| expressed in
292 // terms of operand index rathe
327 RemoveOperand(uint32_t index) RemoveOperand() argument
331 InsertOperand(uint32_t index, Operand&& operand) InsertOperand() argument
340 GetInOperand(uint32_t index) GetInOperand() argument
349 RemoveInOperand(uint32_t index) RemoveInOperand() argument
655 GetOperand(uint32_t index) GetOperand() argument
[all...]

Completed in 21 milliseconds

1...<<51525354555657585960>>...901