Home
last modified time | relevance | path

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

12345678910>>...25

/Linux-v5.10/kernel/
Dstacktrace.c75 unsigned long *store; member
92 c->store[c->len++] = addr; in stack_trace_consume_entry()
111 unsigned int stack_trace_save(unsigned long *store, unsigned int size, in stack_trace_save() argument
116 .store = store, in stack_trace_save()
135 unsigned int stack_trace_save_tsk(struct task_struct *tsk, unsigned long *store, in stack_trace_save_tsk() argument
140 .store = store, in stack_trace_save_tsk()
163 unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, in stack_trace_save_regs() argument
168 .store = store, in stack_trace_save_regs()
190 int stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, in stack_trace_save_tsk_reliable() argument
195 .store = store, in stack_trace_save_tsk_reliable()
[all …]
/Linux-v5.10/drivers/md/
Ddm-snap-transient.c26 static void transient_dtr(struct dm_exception_store *store) in transient_dtr() argument
28 kfree(store->context); in transient_dtr()
31 static int transient_read_metadata(struct dm_exception_store *store, in transient_read_metadata() argument
39 static int transient_prepare_exception(struct dm_exception_store *store, in transient_prepare_exception() argument
42 struct transient_c *tc = store->context; in transient_prepare_exception()
43 sector_t size = get_dev_size(dm_snap_cow(store->snap)->bdev); in transient_prepare_exception()
45 if (size < (tc->next_free + store->chunk_size)) in transient_prepare_exception()
48 e->new_chunk = sector_to_chunk(store, tc->next_free); in transient_prepare_exception()
49 tc->next_free += store->chunk_size; in transient_prepare_exception()
54 static void transient_commit_exception(struct dm_exception_store *store, in transient_commit_exception() argument
[all …]
Ddm-exception-store.h46 int (*ctr) (struct dm_exception_store *store, char *options);
51 void (*dtr) (struct dm_exception_store *store);
58 int (*read_metadata) (struct dm_exception_store *store,
66 int (*prepare_exception) (struct dm_exception_store *store,
72 void (*commit_exception) (struct dm_exception_store *store,
85 int (*prepare_merge) (struct dm_exception_store *store,
92 int (*commit_merge) (struct dm_exception_store *store, int nr_merged);
97 void (*drop_snapshot) (struct dm_exception_store *store);
99 unsigned (*status) (struct dm_exception_store *store,
106 void (*usage) (struct dm_exception_store *store,
[all …]
Ddm-snap-persistent.c103 struct dm_exception_store *store; member
172 len = ps->store->chunk_size << SECTOR_SHIFT; in alloc_area()
233 .bdev = dm_snap_cow(ps->store->snap)->bdev, in chunk_io()
234 .sector = ps->store->chunk_size * chunk, in chunk_io()
235 .count = ps->store->chunk_size, in chunk_io()
294 memset(ps->area, 0, ps->store->chunk_size << SECTOR_SHIFT); in zero_memory_area()
315 if (!ps->store->chunk_size) { in read_header()
316 ps->store->chunk_size = max(DM_CHUNK_SIZE_DEFAULT_SECTORS, in read_header()
317 bdev_logical_block_size(dm_snap_cow(ps->store->snap)-> in read_header()
319 ps->store->chunk_mask = ps->store->chunk_size - 1; in read_header()
[all …]
Ddm-exception-store.c142 static int set_chunk_size(struct dm_exception_store *store, in set_chunk_size() argument
153 store->chunk_size = store->chunk_mask = store->chunk_shift = 0; in set_chunk_size()
157 return dm_exception_store_set_chunk_size(store, chunk_size, error); in set_chunk_size()
160 int dm_exception_store_set_chunk_size(struct dm_exception_store *store, in dm_exception_store_set_chunk_size() argument
172 (bdev_logical_block_size(dm_snap_cow(store->snap)->bdev) >> 9) || in dm_exception_store_set_chunk_size()
174 (bdev_logical_block_size(dm_snap_origin(store->snap)->bdev) >> 9)) { in dm_exception_store_set_chunk_size()
184 store->chunk_size = chunk_size; in dm_exception_store_set_chunk_size()
185 store->chunk_mask = chunk_size - 1; in dm_exception_store_set_chunk_size()
186 store->chunk_shift = __ffs(chunk_size); in dm_exception_store_set_chunk_size()
194 struct dm_exception_store **store) in dm_exception_store_create() argument
[all …]
Dmd-bitmap.c217 struct bitmap_storage *store = &bitmap->storage; in write_sb_page() local
227 if (page->index == store->file_pages-1) { in write_sb_page()
228 int last_page_size = store->bytes & (PAGE_SIZE-1); in write_sb_page()
746 static inline unsigned long file_page_index(struct bitmap_storage *store, in file_page_index() argument
749 if (store->sb_page) in file_page_index()
755 static inline unsigned long file_page_offset(struct bitmap_storage *store, in file_page_offset() argument
758 if (store->sb_page) in file_page_offset()
767 static inline struct page *filemap_get_page(struct bitmap_storage *store, in filemap_get_page() argument
770 if (file_page_index(store, chunk) >= store->file_pages) in filemap_get_page()
772 return store->filemap[file_page_index(store, chunk)]; in filemap_get_page()
[all …]
Ddm-snap.c107 struct dm_exception_store *store; member
183 static sector_t chunk_to_sector(struct dm_exception_store *store, in chunk_to_sector() argument
186 return chunk << store->chunk_shift; in chunk_to_sector()
519 if (!snap_src->store->type->prepare_merge || in __validate_exception_handover()
520 !snap_src->store->type->commit_merge) { in __validate_exception_handover()
535 if (l->store->chunk_size < s->store->chunk_size) in __insert_snapshot()
857 snap->store->chunk_size); in __minimum_chunk_size()
888 hash_size = cow_dev_size >> s->store->chunk_shift; in init_hash_tables()
1057 linear_chunks = s->store->type->prepare_merge(s->store, &old_chunk, in snapshot_merge_next_chunks()
1078 io_size = linear_chunks * s->store->chunk_size; in snapshot_merge_next_chunks()
[all …]
/Linux-v5.10/tools/perf/ui/gtk/
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 …]
Dannotate.c103 GtkListStore *store; in perf_gtk__annotate_symbol() local
113 store = gtk_list_store_newv(MAX_ANN_COLS, col_types); in perf_gtk__annotate_symbol()
124 gtk_tree_view_set_model(GTK_TREE_VIEW(view), GTK_TREE_MODEL(store)); in perf_gtk__annotate_symbol()
125 g_object_unref(GTK_TREE_MODEL(store)); in perf_gtk__annotate_symbol()
131 gtk_list_store_append(store, &iter); in perf_gtk__annotate_symbol()
147 gtk_list_store_set(store, &iter, ANN_COL__PERCENT, s, -1); in perf_gtk__annotate_symbol()
149 gtk_list_store_set(store, &iter, ANN_COL__OFFSET, s, -1); in perf_gtk__annotate_symbol()
151 gtk_list_store_set(store, &iter, ANN_COL__LINE, s, -1); in perf_gtk__annotate_symbol()
/Linux-v5.10/sound/usb/
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 …]
/Linux-v5.10/tools/testing/selftests/powerpc/ptrace/
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()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/gpio/
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()
/Linux-v5.10/include/linux/
Dstacktrace.h16 unsigned int stack_trace_save(unsigned long *store, unsigned int size,
19 unsigned long *store, unsigned int size,
21 unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store,
23 unsigned int stack_trace_save_user(unsigned long *store, unsigned int size);
79 int stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store,
83 unsigned long *store, in stack_trace_save_tsk_reliable() argument
/Linux-v5.10/tools/perf/scripts/python/
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);
/Linux-v5.10/drivers/media/pci/cx23885/
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 …]
/Linux-v5.10/net/netfilter/ipset/
DKconfig33 can store IPv4 addresses (or network addresse) from a range.
42 can store IPv4 address and (source) MAC address pairs from a range.
51 can store TCP/UDP port numbers from a range.
60 can store arbitrary IPv4 or IPv6 addresses (or network addresses)
70 can store IPv4/IPv6 address and mark pairs.
79 can store IPv4/IPv6 address and protocol/port pairs.
88 one can store IPv4/IPv6 address, protocol/port, and IPv4/IPv6
98 one can store IPv4/IPv6 address, protocol/port, and IPv4/IPv6
108 one can store IPv4/IPv6 address and MAC (ethernet address) pairs in a set.
117 one can store MAC (ethernet address) elements in a set.
[all …]
/Linux-v5.10/Documentation/filesystems/ext4/
Deainode.rst6 To enable ext4 to store extended attribute values that do not fit in the
8 the EA\_INODE feature allows us to store the value in the data blocks of
11 inode's i\_atime field is used to store a checksum of the xattr value;
12 and i\_ctime/i\_version store a 64-bit reference count, which enables
15 i\_mtime/i\_generation *may* store a back-reference to the inode number
/Linux-v5.10/Documentation/translations/zh_CN/filesystems/
Dsysfs.txt107 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
130 .store = store_foo,
143 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
180 在声明属性时,必须指定 show() 或 store() 方法,以实现属性的
184 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
202 之后 Sysfs 传递整个缓冲区给 store() 方法。
222 - store() 应返回缓冲区的已用字节数。如果整个缓存都已填满,只需返回
225 - show() 或 store() 可以返回错误值。当得到一个非法值,必须返回一个
312 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
333 ssize_t (*store)(struct bus_type *, const char * buf, size_t count);
[all …]
/Linux-v5.10/fs/nilfs2/
Dbmap.c565 struct nilfs_bmap_store *store) in nilfs_bmap_save() argument
567 memcpy(store->data, bmap->b_u.u_data, sizeof(store->data)); in nilfs_bmap_save()
568 store->last_allocated_key = bmap->b_last_allocated_key; in nilfs_bmap_save()
569 store->last_allocated_ptr = bmap->b_last_allocated_ptr; in nilfs_bmap_save()
570 store->state = bmap->b_state; in nilfs_bmap_save()
574 const struct nilfs_bmap_store *store) in nilfs_bmap_restore() argument
576 memcpy(bmap->b_u.u_data, store->data, sizeof(store->data)); in nilfs_bmap_restore()
577 bmap->b_last_allocated_key = store->last_allocated_key; in nilfs_bmap_restore()
578 bmap->b_last_allocated_ptr = store->last_allocated_ptr; in nilfs_bmap_restore()
579 bmap->b_state = store->state; in nilfs_bmap_restore()
Dsysfs.h58 ssize_t (*store)(struct kobject *, struct attribute *, \
69 ssize_t (*store)(struct nilfs_##name##_attr *, struct the_nilfs *, \
85 ssize_t (*store)(struct nilfs_##name##_attr *, struct nilfs_root *, \
91 #define NILFS_ATTR(type, name, mode, show, store) \ argument
93 __ATTR(name, mode, show, store)
/Linux-v5.10/drivers/edac/
Dedac_device_sysfs.c110 ssize_t(*store) (struct edac_device_ctl_info *, const char *, size_t); member
136 if (ctl_info_attr->store) in edac_dev_ctl_info_store()
137 return ctl_info_attr->store(edac_dev, buffer, count); in edac_dev_ctl_info_store()
144 .store = edac_dev_ctl_info_store
151 .store = _store, \
342 ssize_t(*store) (struct edac_device_instance *, const char *, size_t); member
365 if (instance_attr->store) in edac_dev_instance_store()
366 return instance_attr->store(instance, buffer, count); in edac_dev_instance_store()
373 .store = edac_dev_instance_store
380 .store = _store, \
[all …]
Dedac_pci_sysfs.c93 ssize_t(*store) (struct edac_pci_ctl_info *, const char *, size_t); member
116 if (instance_attr->store) in edac_pci_instance_store()
117 return instance_attr->store(pci, buffer, count); in edac_pci_instance_store()
124 .store = edac_pci_instance_store
131 .store = _store, \
234 ssize_t(*store) (void *, const char *, size_t); member
256 if (edac_pci_dev->store) in edac_pci_dev_store()
257 return edac_pci_dev->store(edac_pci_dev->value, buffer, count); in edac_pci_dev_store()
263 .store = edac_pci_dev_store
271 .store = _store, \
[all …]
/Linux-v5.10/drivers/cpuidle/
Dsysfs.c141 ssize_t (*store)(struct cpuidle_device *, const char *, size_t count); member
182 if (cattr->store) { in cpuidle_store()
184 ret = cattr->store(dev, buf, count); in cpuidle_store()
192 .store = cpuidle_store,
212 ssize_t (*store)(struct cpuidle_state *, \ member
219 #define define_one_state_rw(_name, show, store) \ argument
220 static struct cpuidle_state_attr attr_##_name = __ATTR(_name, 0644, show, store)
428 if (cattr->store) in cpuidle_state_store()
429 ret = cattr->store(state, state_usage, buf, size); in cpuidle_state_store()
439 .store = cpuidle_state_store,
[all …]
/Linux-v5.10/block/
Dblk-mq-sysfs.c51 ssize_t (*store)(struct blk_mq_ctx *, const char *, size_t); member
57 ssize_t (*store)(struct blk_mq_hw_ctx *, const char *, size_t); member
93 if (!entry->store) in blk_mq_sysfs_store()
97 res = entry->store(ctx, page, length); in blk_mq_sysfs_store()
136 if (!entry->store) in blk_mq_hw_sysfs_store()
140 res = entry->store(hctx, page, length); in blk_mq_hw_sysfs_store()
203 .store = blk_mq_sysfs_store,
208 .store = blk_mq_hw_sysfs_store,
/Linux-v5.10/tools/memory-model/Documentation/
Dexplanation.txt85 store instruction accessing the same location (we ignore complicating
168 store to buf but before the store to flag. In this case, r1 and r2
190 store to the same memory location, from any CPU.
196 Since r1 = 1, P0 must store 1 to flag before P1 loads 1 from
204 store to the same address.
209 Since an instruction (in this case, P0's store to flag) cannot
318 is concerned only with the store itself -- its value and its address
385 both branches of an "if" statement store the same value to the same
411 from x could be executed after the store to y. Thus, the memory
479 a control dependency from the load to the store.
[all …]

12345678910>>...25