Home
last modified time | relevance | path

Searched refs:store (Results 1 – 25 of 1066) sorted by relevance

12345678910>>...43

/openbmc/linux/kernel/
H A Dstacktrace.c76 unsigned long *store; member
93 c->store[c->len++] = addr; in stack_trace_consume_entry()
112 unsigned int stack_trace_save(unsigned long *store, unsigned int size, in stack_trace_save() argument
117 .store = store, in stack_trace_save()
136 unsigned int stack_trace_save_tsk(struct task_struct *tsk, unsigned long *store, in stack_trace_save_tsk() argument
141 .store = store, in stack_trace_save_tsk()
164 unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, in stack_trace_save_regs() argument
169 .store = store, in stack_trace_save_regs()
191 int stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, in stack_trace_save_tsk_reliable() argument
196 .store = store, in stack_trace_save_tsk_reliable()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-snap-transient.c29 static void transient_dtr(struct dm_exception_store *store) in transient_dtr() argument
31 kfree(store->context); in transient_dtr()
34 static int transient_read_metadata(struct dm_exception_store *store, in transient_read_metadata() argument
42 static int transient_prepare_exception(struct dm_exception_store *store, in transient_prepare_exception() argument
45 struct transient_c *tc = store->context; in transient_prepare_exception()
46 sector_t size = get_dev_size(dm_snap_cow(store->snap)->bdev); in transient_prepare_exception()
48 if (size < (tc->next_free + store->chunk_size)) in transient_prepare_exception()
51 e->new_chunk = sector_to_chunk(store, tc->next_free); in transient_prepare_exception()
52 tc->next_free += store->chunk_size; in transient_prepare_exception()
57 static void transient_commit_exception(struct dm_exception_store *store, in transient_commit_exception() argument
[all …]
H A Ddm-snap-persistent.c106 struct dm_exception_store *store; member
175 len = ps->store->chunk_size << SECTOR_SHIFT; in alloc_area()
236 .bdev = dm_snap_cow(ps->store->snap)->bdev, in chunk_io()
237 .sector = ps->store->chunk_size * chunk, in chunk_io()
238 .count = ps->store->chunk_size, in chunk_io()
297 memset(ps->area, 0, ps->store->chunk_size << SECTOR_SHIFT); in zero_memory_area()
318 if (!ps->store->chunk_size) { in read_header()
319 ps->store->chunk_size = max(DM_CHUNK_SIZE_DEFAULT_SECTORS, in read_header()
320 bdev_logical_block_size(dm_snap_cow(ps->store->snap)-> in read_header()
322 ps->store->chunk_mask = ps->store->chunk_size - 1; in read_header()
[all …]
H A Ddm-exception-store.h47 int (*ctr)(struct dm_exception_store *store, char *options);
52 void (*dtr)(struct dm_exception_store *store);
59 int (*read_metadata)(struct dm_exception_store *store,
67 int (*prepare_exception)(struct dm_exception_store *store,
73 void (*commit_exception)(struct dm_exception_store *store,
86 int (*prepare_merge)(struct dm_exception_store *store,
93 int (*commit_merge)(struct dm_exception_store *store, int nr_merged);
98 void (*drop_snapshot)(struct dm_exception_store *store);
100 unsigned int (*status)(struct dm_exception_store *store,
107 void (*usage)(struct dm_exception_store *store,
[all …]
H A Ddm-exception-store.c143 static int set_chunk_size(struct dm_exception_store *store, in set_chunk_size() argument
154 store->chunk_size = store->chunk_mask = store->chunk_shift = 0; in set_chunk_size()
158 return dm_exception_store_set_chunk_size(store, chunk_size, error); in set_chunk_size()
161 int dm_exception_store_set_chunk_size(struct dm_exception_store *store, in dm_exception_store_set_chunk_size() argument
173 (bdev_logical_block_size(dm_snap_cow(store->snap)->bdev) >> 9) || in dm_exception_store_set_chunk_size()
175 (bdev_logical_block_size(dm_snap_origin(store->snap)->bdev) >> 9)) { in dm_exception_store_set_chunk_size()
185 store->chunk_size = chunk_size; in dm_exception_store_set_chunk_size()
186 store->chunk_mask = chunk_size - 1; in dm_exception_store_set_chunk_size()
187 store->chunk_shift = __ffs(chunk_size); in dm_exception_store_set_chunk_size()
195 struct dm_exception_store **store) in dm_exception_store_create() argument
[all …]
H A Dmd-bitmap.c229 struct bitmap_storage *store = &bitmap->storage; in __write_sb_page() local
240 if ((pg_index - store->sb_index) == store->file_pages - 1) { in __write_sb_page()
241 unsigned int last_page_size = store->bytes & (PAGE_SIZE - 1); in __write_sb_page()
438 struct bitmap_storage *store = &bitmap->storage; in filemap_write_page() local
439 struct page *page = store->filemap[pg_index]; in filemap_write_page()
443 pg_index += store->sb_index; in filemap_write_page()
446 if (store->file) in filemap_write_page()
781 static inline unsigned long file_page_index(struct bitmap_storage *store, in file_page_index() argument
784 if (store->sb_page) in file_page_index()
790 static inline unsigned long file_page_offset(struct bitmap_storage *store, in file_page_offset() argument
[all …]
/openbmc/webui-vue/docs/guide/quickstart/
H A Dstore-anatomy.md5 A "store" is a container that holds the application's state.
10 └── store
12 ├── index.js # import store modules
16 ├── FeatureStore.js # feature store
17 ├── AdditionalFeatureStore.js # additional features per store
18 ├── AnotherFeatureStore.js # additional features per store
23 The application store is divided into modules to prevent the store from getting
29 - **State:** You cannot directly mutate the store's state.
31 - **Getters:** Getters are used to compute derived state based on store state.
40 Import new store modules in `src/store/index.js`.
[all …]
/openbmc/linux/tools/perf/ui/gtk/
H A Dhists.c97 static void perf_gtk__add_callchain_flat(struct rb_root *root, GtkTreeStore *store, in perf_gtk__add_callchain_flat() argument
119 gtk_tree_store_append(store, &iter, &new_parent); in perf_gtk__add_callchain_flat()
122 gtk_tree_store_set(store, &iter, 0, buf, -1); in perf_gtk__add_callchain_flat()
125 gtk_tree_store_set(store, &iter, col, buf, -1); in perf_gtk__add_callchain_flat()
140 gtk_tree_store_append(store, &iter, &new_parent); in perf_gtk__add_callchain_flat()
143 gtk_tree_store_set(store, &iter, 0, buf, -1); in perf_gtk__add_callchain_flat()
146 gtk_tree_store_set(store, &iter, col, buf, -1); in perf_gtk__add_callchain_flat()
160 static void perf_gtk__add_callchain_folded(struct rb_root *root, GtkTreeStore *store, in perf_gtk__add_callchain_folded() argument
209 gtk_tree_store_append(store, &iter, parent); in perf_gtk__add_callchain_folded()
212 gtk_tree_store_set(store, &iter, 0, buf, -1); in perf_gtk__add_callchain_folded()
[all …]
/openbmc/linux/sound/usb/
H A Dmixer_us16x08.c421 struct snd_us16x08_comp_store *store = elem->private_data; in snd_us16x08_comp_get() local
425 ucontrol->value.integer.value[0] = store->val[val_idx][index]; in snd_us16x08_comp_get()
435 struct snd_us16x08_comp_store *store = elem->private_data; in snd_us16x08_comp_put() local
451 store->val[val_idx][index] = ucontrol->value.integer.value[0]; in snd_us16x08_comp_put()
457 buf[8] = store->val[ in snd_us16x08_comp_put()
460 buf[11] = ratio_map[store->val[ in snd_us16x08_comp_put()
462 buf[14] = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_ATTACK)][index] in snd_us16x08_comp_put()
464 buf[17] = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_RELEASE)][index] in snd_us16x08_comp_put()
466 buf[20] = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_GAIN)][index]; in snd_us16x08_comp_put()
467 buf[26] = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_SWITCH)][index]; in snd_us16x08_comp_put()
[all …]
/openbmc/u-boot/drivers/axi/
H A Dsandbox_store.c17 u8 *store; member
52 return copy_axi_data(priv->store + address, data, size); in sandbox_store_read()
60 return copy_axi_data(data, priv->store + address, size); in sandbox_store_write()
63 static int sandbox_store_get_store(struct udevice *dev, u8 **store) in sandbox_store_get_store() argument
67 *store = priv->store; in sandbox_store_get_store()
99 priv->store = calloc(reg[1], 1); in sandbox_store_probe()
100 if (!priv->store) in sandbox_store_probe()
110 free(priv->store); in sandbox_store_remove()
/openbmc/u-boot/test/dm/
H A Daxi.c41 struct udevice *store; in dm_test_axi_store() local
48 ut_assertok(uclass_get_device(UCLASS_AXI_EMUL, 0, &store)); in dm_test_axi_store()
49 ut_assert(device_active(store)); in dm_test_axi_store()
51 axi_get_store(store, &data); in dm_test_axi_store()
55 axi_read(store, 0, &val, AXI_SIZE_32); in dm_test_axi_store()
59 axi_read(store, 3, &val, AXI_SIZE_32); in dm_test_axi_store()
67 axi_write(store, 0, &val, AXI_SIZE_32); in dm_test_axi_store()
71 axi_write(store, 3, &val, AXI_SIZE_32); in dm_test_axi_store()
/openbmc/webui-vue/src/router/
H A Dindex.js6 import store from '../store';
20 if (store.getters['authentication/isLoggedIn']) {
41 let currentUserRole = store.getters['global/userPrivilege'];
43 if (!currentUserRole && store.getters['authentication/isLoggedIn']) {
45 store
48 let currentUserRole = store.getters['global/userPrivilege'];
54 store.dispatch('authentication/logout');
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-vsx.h70 int compare_vsx_vmx(unsigned long *store, unsigned long *load) in compare_vsx_vmx() argument
75 if (store[1 + 2 * i] != load[1 + 2 * i]) { in compare_vsx_vmx()
77 1 + 2 * i, store[i], in compare_vsx_vmx()
85 if (store[i] != load[i]) { in compare_vsx_vmx()
87 i, store[i], i, load[i]); in compare_vsx_vmx()
93 if (!(i % 2) && (store[i] != load[i+1])) { in compare_vsx_vmx()
95 i, store[i], i+1, load[i+1]); in compare_vsx_vmx()
98 if ((i % 2) && (store[i] != load[i-1])) { in compare_vsx_vmx()
100 i, store[i], i-1, load[i-1]); in compare_vsx_vmx()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhw_gpio.c45 REG_GET(MASK_reg, MASK, &gpio->store.mask); in store_registers()
46 REG_GET(A_reg, A, &gpio->store.a); in store_registers()
47 REG_GET(EN_reg, EN, &gpio->store.en); in store_registers()
54 REG_UPDATE(MASK_reg, MASK, gpio->store.mask); in restore_registers()
55 REG_UPDATE(A_reg, A, gpio->store.a); in restore_registers()
56 REG_UPDATE(EN_reg, EN, gpio->store.en); in restore_registers()
191 pin->store.mask = 0; in dal_hw_gpio_construct()
192 pin->store.a = 0; in dal_hw_gpio_construct()
193 pin->store.en = 0; in dal_hw_gpio_construct()
194 pin->store.mux = 0; in dal_hw_gpio_construct()
/openbmc/telemetry/tests/src/
H A Dtest_persistent_json_storage.cpp47 sut.store(fileName, data); in TEST_F()
59 sut.store(FilePath("report/domain-1/name-1/conf-1.json"), in TEST_F()
61 sut.store(FilePath("report/domain-1/name-2/conf-1.json"), in TEST_F()
63 sut.store(FilePath("report/domain-1/name-2/conf-2.json"), in TEST_F()
65 sut.store(FilePath("report/domain-2/name-1/conf-1.json"), in TEST_F()
78 sut.store(FilePath("report/domain-1/name-1/conf-1.json"), in TEST_F()
80 sut.store(FilePath("report/domain-1/name-2/conf-1.json"), in TEST_F()
82 sut.store(FilePath("report/domain-1/name-2/conf-2.json"), in TEST_F()
84 sut.store(FilePath("report/domain-2/name-1/conf-1.json"), in TEST_F()
101 sut.store(fileName, data); in TEST_F()
[all …]
/openbmc/linux/include/linux/
H A Dstacktrace.h70 unsigned int stack_trace_save(unsigned long *store, unsigned int size,
73 unsigned long *store, unsigned int size,
75 unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store,
77 unsigned int stack_trace_save_user(unsigned long *store, unsigned int size);
100 int stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store,
104 unsigned long *store, in stack_trace_save_tsk_reliable() argument
/openbmc/linux/drivers/media/pci/cx23885/
H A Daltera-ci.c264 u8 store; in altera_ci_op_cam() local
274 store = netup_fpga_op_rw(inter, NETUP_CI_BUSCTRL, 0, NETUP_CI_FLG_RD); in altera_ci_op_cam()
276 store &= 0x0f; in altera_ci_op_cam()
277 store |= ((state->nr << 7) | (flag << 6)); in altera_ci_op_cam()
279 netup_fpga_op_rw(inter, NETUP_CI_BUSCTRL, store, 0); in altera_ci_op_cam()
518 u8 store = 0; in altera_pid_control() local
530 store = netup_fpga_op_rw(inter, NETUP_CI_PID_DATA, 0, NETUP_CI_FLG_RD); in altera_pid_control()
533 store |= (1 << (pid & 7)); in altera_pid_control()
535 store &= ~(1 << (pid & 7)); in altera_pid_control()
537 netup_fpga_op_rw(inter, NETUP_CI_PID_DATA, store, 0); in altera_pid_control()
[all …]
/openbmc/webui-vue/src/views/Settings/Network/
H A DNetworkGlobalSettings.vue152 return this.$store.getters['network/globalNetworkSettings'][0];
156 return this.$store.getters['network/globalNetworkSettings'][0]
165 return this.$store.getters['network/globalNetworkSettings'][0]
174 return this.$store.getters['network/globalNetworkSettings'][0]
183 return this.$store.getters['network/globalNetworkSettings'][0]
192 return this.$store.getters['network/globalNetworkSettings'][0]
201 return this.$store.getters['network/globalNetworkSettings'][0]
210 this.$store.dispatch('network/getEthernetData').finally(() => {
217 this.$store
228 this.$store
[all …]
H A DNetwork.vue130 this.$store.dispatch('network/getEthernetData'),
141 this.$store.getters['network/globalNetworkSettings'][
146 this.$store.getters['network/globalNetworkSettings'][
151 this.$store.getters['network/globalNetworkSettings'][
155 this.$store.getters['network/globalNetworkSettings'][
161 this.$store.dispatch('network/setSelectedTabIndex', this.tabIndex);
162 this.$store.dispatch(
170 this.$store
178 this.$store
186 this.$store
[all …]
/openbmc/webui-vue/tests/unit/
H A DAppHeader.spec.js21 const store = createStore({ actions, modules }); constant
23 store, field in AnonymousClass62b9a1390201
32 store.dispatch = jest.fn();
59 expect(store.dispatch).toHaveBeenCalledTimes(1);
72 expect(store.dispatch).toHaveBeenCalledTimes(1);
77 expect(store.dispatch).toHaveBeenCalledTimes(1);
/openbmc/linux/tools/perf/scripts/python/
H A Dstat-cpi.py23 def store(time, event, cpu, thread, val, ena, run): function
36 store(time, "cycles", cpu, thread, val, ena, run);
39 store(time, "instructions", cpu, thread, val, ena, run);
42 store(time, "cycles", cpu, thread, val, ena, run);
45 store(time, "instructions", cpu, thread, val, ena, run);
48 store(time, "cycles", cpu, thread, val, ena, run);
51 store(time, "instructions", cpu, thread, val, ena, run);
/openbmc/webui-vue/src/env/store/
H A Dibm.js1 import store from '@/store';
4 store.unregisterModule('virtualMedia');
6 store.registerModule('key-clear', KeyClearStore);
8 export default store;
/openbmc/webui-vue/docs/customization/
H A Dbuild.md7 - [Store](#store)
29 :::tip [Vuex store modules](https://vuex.vuejs.org/guide/modules.html) contain
32 1. If making customizations to the default store, add `CUSTOM_STORE=true` key
34 2. Create a `<ENV_NAME>.js` file in `src/env/store` :::danger The filename needs
35 to match the `VUE_APP_ENV_NAME` value defined in the .env file. The store
37 3. Import the base store
38 4. Import environment specific store modules
40 and `unregisterModule` instance methods to add/remove store modules
43 Example `src/env/store/ibm.js`:
46 import store from '@/store; //@ aliases to src directory
[all …]
/openbmc/docs/designs/
H A Dbinarystore-via-blobs.md9 Server platform host OS often needs to store and/or access data coupled with the
17 - The data to store may not fit in the data types defined in IPMI FRU spec
18 - Host may want to store multiple copies in e.g. BMC EEPROM
20 The BMC generic IPMI blobs binary store, or "binary store" in short, serves a
22 blobs transport layer to allow users to store binary data on persistent
25 Despite its name, the binary blob store cannot be used for everything.
28 blob store and not try to write it due to concurrency concerns. It is expected
29 the only accessors are the IPMI blob store commands.
30 - It is not a key store. Because the data stored is accessible to IPMI users and
52 1. The host should only store binary data that is suitable using this transfer
[all …]
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__intrusive_mpsc_queue.hpp42 __nil_.store(nullptr, std::memory_order_relaxed); in push_back_nil()
45 (__prev->*_Next).store(&__nil_, std::memory_order_release); in push_back_nil()
51 (__new_node->*_Next).store(nullptr, std::memory_order_relaxed); in push_back()
57 __nil_.store(__new_node, std::memory_order_release); in push_back()
62 .store(__new_node, std::memory_order_release); in push_back()

12345678910>>...43