Home
last modified time | relevance | path

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

12345678910>>...19

/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()
165 unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, in stack_trace_save_regs() argument
170 .store = store, in stack_trace_save_regs()
192 int stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, in stack_trace_save_tsk_reliable() argument
197 .store = store, in stack_trace_save_tsk_reliable()
[all …]
H A Dsmpboot.c168 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in __smpboot_create_thread()
193 *per_cpu_ptr(ht->store, cpu) = tsk; in __smpboot_create_thread()
226 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_unpark_thread()
245 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_park_thread()
268 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_destroy_threads()
272 *per_cpu_ptr(ht->store, cpu) = NULL; in smpboot_destroy_threads()
/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-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.c433 struct bitmap_storage *store = &bitmap->storage; in __write_sb_page() local
444 if ((pg_index - store->sb_index) == num_pages - 1) { in __write_sb_page()
445 unsigned int last_page_size = store->bytes & (PAGE_SIZE - 1); in __write_sb_page()
644 struct bitmap_storage *store = &bitmap->storage; in filemap_write_page() local
645 struct page *page = store->filemap[pg_index]; in filemap_write_page()
649 pg_index += store->sb_index; in filemap_write_page()
652 if (store->file) in filemap_write_page()
986 static inline unsigned long file_page_index(struct bitmap_storage *store, in file_page_index() argument
989 if (store->sb_page) in file_page_index()
995 static inline unsigned long file_page_offset(struct bitmap_storage *store, in file_page_offset() argument
[all …]
H A Ddm-sysfs.c16 ssize_t (*store)(struct mapped_device *md, const char *p, size_t count); member
56 if (!dm_attr->store) in dm_attr_store()
63 ret = dm_attr->store(md, page, count); in dm_attr_store()
116 .store = dm_attr_store,
/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 …]
/linux/sound/usb/
H A Dmixer_us16x08.c357 /* gets a current mixer value from common store */
420 struct snd_us16x08_comp_store *store = elem->private_data; in snd_us16x08_comp_get() local
424 ucontrol->value.integer.value[0] = store->val[val_idx][index]; in snd_us16x08_comp_get()
434 struct snd_us16x08_comp_store *store = elem->private_data; in snd_us16x08_comp_put() local
451 threshold = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_THRESHOLD)] in snd_us16x08_comp_put()
453 ratio = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_RATIO)][index]; in snd_us16x08_comp_put()
454 attack = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_ATTACK)][index]; in snd_us16x08_comp_put()
455 release = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_RELEASE)] in snd_us16x08_comp_put()
457 gain = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_GAIN)][index]; in snd_us16x08_comp_put()
458 switch_on = store in snd_us16x08_comp_put()
488 struct snd_us16x08_eq_store *store = elem->private_data; snd_us16x08_eqswitch_get() local
504 struct snd_us16x08_eq_store *store = elem->private_data; snd_us16x08_eqswitch_put() local
547 struct snd_us16x08_eq_store *store = elem->private_data; snd_us16x08_eq_get() local
564 struct snd_us16x08_eq_store *store = elem->private_data; snd_us16x08_eq_put() local
618 snd_get_meter_comp_index(struct snd_us16x08_meter_store * store) snd_get_meter_comp_index() argument
654 get_meter_levels_from_urb(int s,struct snd_us16x08_meter_store * store,u8 * meter_urb) get_meter_levels_from_urb() argument
696 struct snd_us16x08_meter_store *store = elem->private_data; snd_us16x08_meter_get() local
755 struct snd_us16x08_meter_store *store = elem->private_data; snd_us16x08_meter_put() local
[all...]
/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()
/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 …]
/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);
/linux/certs/
H A Dextract-cert.c69 OSSL_STORE_CTX *store; in load_cert_pkcs11() local
76 store = OSSL_STORE_open(cert_src, NULL, NULL, NULL, NULL); in load_cert_pkcs11()
77 ERR(!store, "OSSL_STORE_open"); in load_cert_pkcs11()
79 while (!OSSL_STORE_eof(store)) { in load_cert_pkcs11()
80 OSSL_STORE_INFO *info = OSSL_STORE_load(store); in load_cert_pkcs11()
94 OSSL_STORE_close(store); in load_cert_pkcs11()
/linux/arch/arm/lib/
H A Dbitops.h31 .macro __testop, name, instr, store, barrier
61 .macro testop, name, instr, store
62 __testop \name, \instr, \store, smp_dmb
65 .macro sync_testop, name, instr, store
66 __testop \name, \instr, \store, __smp_dmb
96 .macro testop, name, instr, store
108 \store r2, [r1]
/linux/Documentation/translations/zh_TW/filesystems/
H A Dsysfs.txt110 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
133 .store = store_foo,
146 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
183 在聲明屬性時,必須指定 show() 或 store() 方法,以實現屬性的
187 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
205 之後 Sysfs 傳遞整個緩衝區給 store() 方法。
225 - store() 應返回緩衝區的已用字節數。如果整個緩存都已填滿,只需返回
228 - show() 或 store() 可以返回錯誤值。當得到一個非法值,必須返回一個
315 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
336 ssize_t (*store)(const struct bus_type *, const char * buf, size_t count);
[all …]
/linux/Documentation/translations/zh_CN/filesystems/
H A 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)(const struct bus_type *, const char * buf, size_t count);
[all …]
/linux/Documentation/filesystems/ext4/
H A 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/tools/memory-model/Documentation/
H A Dglossary.txt35 When an acquire load returns the value stored by a release store
37 from" the release store), then all operations preceding that
38 store "happen before" any operations following that load acquire.
42 Coherence (co): When one CPU's store to a given variable overwrites
43 either the value from another CPU's store or some later value,
54 Control Dependency: When a later store's execution depends on a test
56 a "control dependency" extends from that load to that store.
88 Data Dependency: When the data written by a later store is computed based
90 extends from that load to that later store. For example:
105 From-Reads (fr): When one CPU's store t
[all...]
H A Dexplanation.txt86 store instruction accessing the same location (we ignore complicating
169 store to buf but before the store to flag. In this case, r1 and r2
191 store to the same memory location, from any CPU.
197 Since r1 = 1, P0 must store 1 to flag before P1 loads 1 from
205 store to the same address.
210 Since an instruction (in this case, P0's store to flag) cannot
319 is concerned only with the store itself -- its value and its address
386 both branches of an "if" statement store the same value to the same
412 from x could be executed after the store to y. Thus, the memory
481 a control dependency from the load to the store.
[all …]
/linux/fs/afs/
H A Dwrite.c73 afs_pages_written_back(vnode, op->store.pos, op->store.size); in afs_store_data_success()
75 atomic_long_add(op->store.size, &afs_v2net(vnode)->n_store_bytes); in afs_store_data_success()
137 op->store.pos = pos; in afs_issue_write_worker()
138 op->store.size = len; in afs_issue_write_worker()
144 op->store.write_iter = &subreq->io_iter; in afs_issue_write_worker()
145 op->store.i_size = umax(pos + len, netfs_read_remote_i_size(&vnode->netfs.inode)); in afs_issue_write_worker()
/linux/drivers/cpuidle/
H A Dsysfs.c148 ssize_t (*store)(struct cpuidle_device *, const char *, size_t count); member
189 if (cattr->store) { in cpuidle_store()
191 ret = cattr->store(dev, buf, count); in cpuidle_store()
199 .store = cpuidle_store,
219 ssize_t (*store)(struct cpuidle_state *, \ member
226 #define define_one_state_rw(_name, show, store) \ argument
227 static struct cpuidle_state_attr attr_##_name = __ATTR(_name, 0644, show, store)
436 if (cattr->store) in cpuidle_state_store()
437 ret = cattr->store(state, state_usage, buf, size); in cpuidle_state_store()
447 .store = cpuidle_state_store,
[all …]
/linux/fs/nilfs2/
H A Dsysfs.h58 ssize_t (*store)(struct kobject *, struct kobj_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/fs/pstore/
H A DKconfig3 tristate "Persistent store support"
11 (or "M") to a platform specific persistent store driver
13 If you don't have a platform persistent store driver,
32 the backing store. This is implemented using the zlib 'deflate'
135 int "Size in Kbytes of kmsg dump log to store"
146 int "Maximum kmsg dump reason to store"
150 The maximum reason for kmsg dumps to store. The default is
158 int "Size in Kbytes of pmsg to store"
170 int "Size in Kbytes of console log to store"
175 This just sets size of console log (console_size) to store via
[all …]
/linux/rust/proc-macro2/
H A Ddetection.rs21 WORKS.store(1, Ordering::Relaxed); in force_fallback()
31 WORKS.store(available as usize + 1, Ordering::Relaxed); in initialize()
70 WORKS.store(works as usize + 1, Ordering::Relaxed); in initialize()
/linux/arch/alpha/lib/
H A Dev6-memcpy.S73 stq $1, 0($16) # L : store
151 stq $1, 0($16) # L : store 8
170 stb $1, 0($16) # L : store a byte
193 stb $1, 0($4) # L : store it
209 bis $3, $1, $1 # E : merged bytes to store
213 stq $1, 0($4) # L : store 8 (aligned)
233 stb $1, 0($4) # L : store

12345678910>>...19