Home
last modified time | relevance | path

Searched refs:array (Results 26 – 50 of 1803) sorted by relevance

12345678910>>...73

/openbmc/linux/include/linux/
H A Dassoc_array.h54 static inline void assoc_array_init(struct assoc_array *array) in assoc_array_init() argument
56 array->root = NULL; in assoc_array_init()
57 array->nr_leaves_on_tree = 0; in assoc_array_init()
60 extern int assoc_array_iterate(const struct assoc_array *array,
64 extern void *assoc_array_find(const struct assoc_array *array,
67 extern void assoc_array_destroy(struct assoc_array *array,
69 extern struct assoc_array_edit *assoc_array_insert(struct assoc_array *array,
75 extern struct assoc_array_edit *assoc_array_delete(struct assoc_array *array,
78 extern struct assoc_array_edit *assoc_array_clear(struct assoc_array *array,
82 extern int assoc_array_gc(struct assoc_array *array,
/openbmc/linux/arch/s390/tools/
H A Dgen_facilities.c123 unsigned long long *array; in print_facility_list() local
125 array = calloc(1, 8); in print_facility_list()
126 if (!array) in print_facility_list()
133 array = realloc(array, (dword + 1) * 8); in print_facility_list()
134 if (!array) in print_facility_list()
136 memset(array + high + 1, 0, (dword - high) * 8); in print_facility_list()
139 array[dword] |= 1ULL << bit; in print_facility_list()
143 printf("_AC(0x%016llx,UL)%c", array[i], i < high ? ',' : '\n'); in print_facility_list()
144 free(array); in print_facility_list()
/openbmc/linux/scripts/coccinelle/misc/
H A Dflexible_array.cocci27 identifier name, array;
35 * T array@p[\(0\|1\)];
40 * T array@p[\(0\|1\)];
45 * T array@p[\(0\|1\)];
50 * T array@p[\(0\|1\)];
55 identifier name, array;
62 T array[0];
66 T array[0];
71 identifier name, array;
82 T array@p[
[all …]
/openbmc/linux/drivers/scsi/isci/
H A Dunsolicited_frame_control.c85 uf_control->headers.array = virt + SCI_UFI_BUF_SIZE; in sci_unsolicited_frame_control_construct()
95 uf_control->address_table.array = virt + SCI_UFI_BUF_SIZE + SCI_UFI_HDR_SIZE; in sci_unsolicited_frame_control_construct()
110 uf = &uf_control->buffers.array[i]; in sci_unsolicited_frame_control_construct()
112 uf_control->address_table.array[i] = dma; in sci_unsolicited_frame_control_construct()
115 uf->header = &uf_control->headers.array[i]; in sci_unsolicited_frame_control_construct()
136 *frame_header = &uf_control->buffers.array[frame_index].header->data; in sci_unsolicited_frame_control_get_header()
149 *frame_buffer = uf_control->buffers.array[frame_index].buffer; in sci_unsolicited_frame_control_get_buffer()
171 while (lower_32_bits(uf_control->address_table.array[frame_get]) == 0 && in sci_unsolicited_frame_control_release_frame()
172 upper_32_bits(uf_control->address_table.array[frame_get]) == 0 && in sci_unsolicited_frame_control_release_frame()
184 uf_control->buffers.array[frame_index].state = UNSOLICITED_FRAME_RELEASED; in sci_unsolicited_frame_control_release_frame()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/com/intel/Protocol/PECI/
H A DRaw.interface.yaml14 type: array[array[byte]]
16 An array of byte arrays where each byte array holds the raw
17 bytes for a single PECI command. The larger array allows
21 type: array[array[byte]]
23 An array of byte arrays where each byte array holds the raw
25 the command array.
/openbmc/linux/drivers/misc/vmw_vmci/
H A Dvmci_handle_array.h33 void vmci_handle_arr_destroy(struct vmci_handle_arr *array);
36 struct vmci_handle vmci_handle_arr_remove_entry(struct vmci_handle_arr *array,
39 struct vmci_handle vmci_handle_arr_remove_tail(struct vmci_handle_arr *array);
41 vmci_handle_arr_get_entry(const struct vmci_handle_arr *array, u32 index);
42 bool vmci_handle_arr_has_entry(const struct vmci_handle_arr *array,
44 struct vmci_handle *vmci_handle_arr_get_handles(struct vmci_handle_arr *array);
47 const struct vmci_handle_arr *array) in vmci_handle_arr_get_size() argument
49 return array->size; in vmci_handle_arr_get_size()
/openbmc/linux/fs/nfs/
H A Dpnfs_nfs.c133 if (array->lseg == lseg) in pnfs_find_commit_array_by_lseg()
134 return array; in pnfs_find_commit_array_by_lseg()
147 if (array) in pnfs_add_commit_array()
148 return array; in pnfs_add_commit_array()
165 if (!array) { in pnfs_lookup_commit_array()
172 return array; in pnfs_lookup_commit_array()
203 return array; in pnfs_get_commit_array()
210 array->lseg = NULL; in pnfs_remove_and_free_commit_array()
285 if (!array->lseg || !pnfs_get_commit_array(array)) in pnfs_generic_scan_commit_lists()
339 if (!array->lseg || !pnfs_get_commit_array(array)) in pnfs_generic_recover_commit_reqs()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/
H A DObjectMapper.interface.yaml18 type: array[string]
39 type: array[string]
64 type: array[string]
76 Obtain an array of paths where array elements are in subtree.
88 type: array[string]
93 type: array[string]
95 An array of paths.
117 type: array[string]
146 type: array[string]
151 type: array[string]
[all …]
/openbmc/linux/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_hdcs.c66 } array; member
294 height = hdcs->array.height - 2 * hdcs->array.border - in hdcs_set_size()
298 + hdcs->array.top; in hdcs_set_size()
303 y = hdcs->array.top + (hdcs->array.height - height) / 2; in hdcs_set_size()
306 x = hdcs->array.left + (hdcs->array.width - width) / 2; in hdcs_set_size()
375 hdcs->array.left = 8; in hdcs_probe_1x00()
376 hdcs->array.top = 8; in hdcs_probe_1x00()
379 hdcs->array.border = 4; in hdcs_probe_1x00()
437 hdcs->array.left = 24; in hdcs_probe_1020()
438 hdcs->array.top = 4; in hdcs_probe_1020()
[all …]
/openbmc/linux/tools/lib/perf/Documentation/examples/
H A Dsampling.c86 __u64 ip, period, *array; in main() local
89 array = event->sample.array; in main()
91 ip = *array; in main()
92 array++; in main()
94 u.val64 = *array; in main()
97 array++; in main()
99 u.val64 = *array; in main()
101 array++; in main()
103 period = *array; in main()
/openbmc/phosphor-dbus-interfaces/yaml/com/ibm/ipzvpd/
H A DVWML.interface.yaml5 type: array[byte]
9 type: array[byte]
13 type: array[byte]
17 type: array[byte]
21 type: array[byte]
25 type: array[byte]
29 type: array[byte]
33 type: array[byte]
H A DVRML.interface.yaml5 type: array[byte]
9 type: array[byte]
13 type: array[byte]
17 type: array[byte]
21 type: array[byte]
25 type: array[byte]
29 type: array[byte]
H A DVCEN.interface.yaml5 type: array[byte]
9 type: array[byte]
13 type: array[byte]
17 type: array[byte]
21 type: array[byte]
25 type: array[byte]
29 type: array[byte]
/openbmc/linux/drivers/dma-buf/
H A Ddma-fence-unwrap.c20 cursor->array = dma_fence_chain_contained(cursor->chain); in __dma_fence_unwrap_array()
22 return dma_fence_array_first(cursor->array); in __dma_fence_unwrap_array()
53 tmp = dma_fence_array_next(cursor->array, cursor->index); in dma_fence_unwrap_next()
68 struct dma_fence *tmp, **array; in __dma_fence_unwrap_merge() local
95 array = kmalloc_array(count, sizeof(*array), GFP_KERNEL); in __dma_fence_unwrap_merge()
96 if (!array) in __dma_fence_unwrap_merge()
148 array[count++] = dma_fence_get(tmp); in __dma_fence_unwrap_merge()
159 tmp = array[0]; in __dma_fence_unwrap_merge()
163 result = dma_fence_array_create(count, array, in __dma_fence_unwrap_merge()
173 kfree(array); in __dma_fence_unwrap_merge()
H A Dst-dma-fence-unwrap.c48 struct dma_fence_array *array; in mock_array() local
65 if (!array) in mock_array()
67 return &array->base; in mock_array()
107 array = mock_array(1, f); in sanitycheck()
108 if (!array) in sanitycheck()
111 chain = mock_chain(NULL, array); in sanitycheck()
139 array = mock_array(2, f1, f2); in unwrap_array()
140 if (!array) in unwrap_array()
159 dma_fence_put(array); in unwrap_array()
227 array = mock_array(2, f1, f2); in unwrap_chain_array()
[all …]
/openbmc/linux/tools/perf/util/
H A Devsel.c2378 array = event->sample.array; in evsel__parse_sample()
2480 array = (void *)array + sz; in evsel__parse_sample()
2503 array = (void *)array + sz; in evsel__parse_sample()
2530 array = (void *)array + sizeof(u32); in evsel__parse_sample()
2534 array = (void *)array + data->raw_size; in evsel__parse_sample()
2578 array = (void *)array + sz; in evsel__parse_sample()
2593 array = (void *)array + sz; in evsel__parse_sample()
2609 array = (void *)array + sz; in evsel__parse_sample()
2649 array = (void *)array + sz; in evsel__parse_sample()
2687 array = (void *)array + sz; in evsel__parse_sample()
[all …]
H A Dsynthetic-events.c1567 array = (void *)array + sz; in copy_read_group_values()
1583 array = event->sample.array; in perf_event__synthesize_sample()
1587 array++; in perf_event__synthesize_sample()
1669 array = (void *)array + sz; in perf_event__synthesize_sample()
1675 array = (void *)array + sizeof(u32); in perf_event__synthesize_sample()
1678 array = (void *)array + sample->raw_size; in perf_event__synthesize_sample()
1686 array = (void *)array + sz; in perf_event__synthesize_sample()
1694 array = (void *)array + sz; in perf_event__synthesize_sample()
1705 array = (void *)array + sz; in perf_event__synthesize_sample()
1730 array = (void *)array + sz; in perf_event__synthesize_sample()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpiolib-legacy.c73 int gpio_request_array(const struct gpio *array, size_t num) in gpio_request_array() argument
77 for (i = 0; i < num; i++, array++) { in gpio_request_array()
78 err = gpio_request_one(array->gpio, array->flags, array->label); in gpio_request_array()
86 gpio_free((--array)->gpio); in gpio_request_array()
96 void gpio_free_array(const struct gpio *array, size_t num) in gpio_free_array() argument
99 gpio_free((array++)->gpio); in gpio_free_array()
/openbmc/bios-settings-mgr/include/
H A Dpassword.hpp80 const std::array<uint8_t, maxHashSize>& expected,
81 const std::array<uint8_t, maxSeedSize>& seed,
83 bool isMatch(const std::array<uint8_t, maxHashSize>& expected,
84 const std::array<uint8_t, maxSeedSize>& seed,
86 bool getParam(std::array<uint8_t, maxHashSize>& orgUsrPwdHash,
87 std::array<uint8_t, maxHashSize>& orgAdminPwdHash,
88 std::array<uint8_t, maxSeedSize>& seed,
91 std::array<uint8_t, maxSeedSize>& seed,
96 std::array<uint8_t, maxHashSize> mNewPwdHash;
/openbmc/openbmc/poky/meta/recipes-devtools/apt/apt/
H A D0001-aptwebserver.cc-Include-array.patch4 Subject: [PATCH] aptwebserver.cc: Include <array>
6 This helps getting std::array definition
9 … error: constexpr variable cannot have non-literal type 'const std::array<std::array<const char *,…
10 constexpr std::array<std::array<char const *,2>,6> htmlencode = {{
25 #include <array>
27 +#include <array>
/openbmc/phosphor-dbus-interfaces/yaml/org/open_power/OCC/
H A DPassThrough.interface.yaml10 # change to array[byte]. As of now, the REST server maps any numeric
12 type: array[int32]
14 An array of integers representing the command and payload. This
16 array[byte]), so each entry in the array should pack as many
21 # change to array[byte]. As of now, the REST server maps any numeric
23 type: array[int32]
25 An array of integers representing the response. This should
26 still be bytes worth of data (as though using array[byte]), so
27 each entry in the array should pack as many bytes as possible.
/openbmc/bmcweb/test/redfish-core/include/
H A Dredfish_aggregator_test.cpp58 constexpr std::array validRoots{"Cables", in TEST()
69 constexpr std::array validIDs{"1", in TEST()
98 constexpr std::array invalidRoots{ in TEST()
103 constexpr std::array validIDs{"1", in TEST()
131 constexpr std::array validRoots{"Cables", in TEST()
166 nlohmann::json array = nlohmann::json::parse(R"( in TEST() local
182 addPrefixes(array, "5B42"); in TEST()
183 EXPECT_EQ(array["Conditions"][0]["@odata.id"], in TEST()
185 EXPECT_EQ(array["Conditions"][1]["@odata.id"], in TEST()
212 nlohmann::json& array = objWithArray["Status"]["Conditions"]; in TEST() local
[all …]
/openbmc/phosphor-dbus-monitor/src/templates/
H A Dgenerated.mako.hpp34 using Meta = std::array<std::string, ${len(meta)}>;
50 using Paths = std::array<std::string, ${len(paths)}>;
66 using Interfaces = std::array<std::string, ${len(interfaces)}>;
82 using Paths = std::array<std::string, ${len(pathinstances)}>;
98 using Properties = std::array<std::string, ${len(propertynames)}>;
114 using Storage = std::array<std::tuple<std::any, std::any>, ${len(instances)}>;
125 using PropertyFilters = std::array<std::unique_ptr<Filters>, ${len(filters)}>;
149 using PropertyIndicies = std::array<PropertyIndex, ${len(instancegroups)}>;
217 using Callbacks = std::array<std::unique_ptr<Callback>, ${len(callbacks)}>;
249 using PropertyWatches = std::array<std::unique_ptr<Watch>, ${len(watches)}>;
[all …]
/openbmc/linux/tools/perf/arch/powerpc/util/
H A Devent.c15 const __u64 *array, u64 type) in arch_perf_parse_sample_weight() argument
19 weight.full = *array; in arch_perf_parse_sample_weight()
30 __u64 *array, u64 type) in arch_perf_synthesize_sample_weight() argument
32 *array = data->weight; in arch_perf_synthesize_sample_weight()
35 *array &= 0xffffffff; in arch_perf_synthesize_sample_weight()
36 *array |= ((u64)data->ins_lat << 32); in arch_perf_synthesize_sample_weight()
/openbmc/linux/kernel/trace/
H A Dtracing_map.h173 #define TRACING_MAP_ARRAY_ELT(array, idx) \ argument
174 (array->pages[idx >> array->entry_shift] + \
175 ((idx & array->entry_mask) << array->entry_size_shift))
177 #define TRACING_MAP_ENTRY(array, idx) \ argument
178 ((struct tracing_map_entry *)TRACING_MAP_ARRAY_ELT(array, idx))
180 #define TRACING_MAP_ELT(array, idx) \ argument
181 ((struct tracing_map_elt **)TRACING_MAP_ARRAY_ELT(array, idx))

12345678910>>...73