| /linux/kernel/ |
| H A D | stacktrace.c | 76 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 D | smpboot.c | 170 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in __smpboot_create_thread() 195 *per_cpu_ptr(ht->store, cpu) = tsk; in __smpboot_create_thread() 228 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_unpark_thread() 247 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_park_thread() 270 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_destroy_threads() 274 *per_cpu_ptr(ht->store, cpu) = NULL; in smpboot_destroy_threads()
|
| /linux/drivers/md/ |
| H A D | dm-snap-transient.c | 29 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 D | dm-exception-store.h | 6 * Device-mapper snapshot exception store. 47 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, 65 * Find somewhere to store the next exception. 67 int (*prepare_exception)(struct dm_exception_store *store, 73 void (*commit_exception)(struct dm_exception_store *store, 79 * Returns 0 if the exception store is empty. 86 int (*prepare_merge)(struct dm_exception_store *store, 93 int (*commit_merge)(struct dm_exception_store *store, in 175 sector_to_chunk(struct dm_exception_store * store,sector_t sector) sector_to_chunk() argument [all...] |
| H A D | dm-exception-store.c | 143 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 D | md-bitmap.c | 433 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() 642 struct bitmap_storage *store = &bitmap->storage; in filemap_write_page() 643 struct page *page = store->filemap[pg_index]; in filemap_write_page() 647 pg_index += store->sb_index; in filemap_write_page() 650 if (store->file) in filemap_write_page() 984 static inline unsigned long file_page_index(struct bitmap_storage *store, 987 if (store->sb_page) in file_page_index() 993 static inline unsigned long file_page_offset(struct bitmap_storage *store, 644 struct bitmap_storage *store = &bitmap->storage; filemap_write_page() local 986 file_page_index(struct bitmap_storage * store,unsigned long chunk) file_page_index() argument 995 file_page_offset(struct bitmap_storage * store,unsigned long chunk) file_page_offset() argument 1007 filemap_get_page(struct bitmap_storage * store,unsigned long chunk) filemap_get_page() argument 1015 md_bitmap_storage_alloc(struct bitmap_storage * store,unsigned long chunks,int with_super,int slot_number) md_bitmap_storage_alloc() argument 1069 md_bitmap_file_unmap(struct bitmap_storage * store) md_bitmap_file_unmap() argument 1156 struct bitmap_storage *store = &bitmap->storage; md_bitmap_file_set_bit() local 1187 struct bitmap_storage *store = &bitmap->storage; md_bitmap_file_clear_bit() local 1328 struct bitmap_storage *store = &bitmap->storage; md_bitmap_init_from_disk() local 2387 struct bitmap_storage store; __bitmap_resize() local [all...] |
| H A D | dm-snap.c | 25 #include "dm-exception-store.h" 113 struct dm_exception_store *store; member 189 static sector_t chunk_to_sector(struct dm_exception_store *store, in chunk_to_sector() argument 192 return chunk << store->chunk_shift; in chunk_to_sector() 525 if (!snap_src->store->type->prepare_merge || in __validate_exception_handover() 526 !snap_src->store->type->commit_merge) { in __validate_exception_handover() 527 snap->ti->error = "Snapshot exception store does not support snapshot-merge."; in __validate_exception_handover() 540 if (l->store->chunk_size < s->store->chunk_size) in __insert_snapshot() 549 * Also validate snapshot exception store handover [all...] |
| /linux/tools/perf/ui/gtk/ |
| H A D | hists.c | 99 static void perf_gtk__add_callchain_flat(struct rb_root *root, GtkTreeStore *store, in perf_gtk__add_callchain_flat() 121 gtk_tree_store_append(store, &iter, &new_parent); in perf_gtk__add_callchain_flat() 124 gtk_tree_store_set(store, &iter, 0, buf, -1); in perf_gtk__add_callchain_flat() 127 gtk_tree_store_set(store, &iter, col, buf, -1); in perf_gtk__add_callchain_flat() 142 gtk_tree_store_append(store, &iter, &new_parent); in perf_gtk__add_callchain_flat() 145 gtk_tree_store_set(store, &iter, 0, buf, -1); in perf_gtk__add_callchain_flat() 148 gtk_tree_store_set(store, &iter, col, buf, -1); in perf_gtk__add_callchain_flat() 162 static void perf_gtk__add_callchain_folded(struct rb_root *root, GtkTreeStore *store, in perf_gtk__add_callchain_folded() 211 gtk_tree_store_append(store, &iter, parent); in perf_gtk__add_callchain_folded() 214 gtk_tree_store_set(store, in perf_gtk__add_callchain_folded() 97 perf_gtk__add_callchain_flat(struct rb_root * root,GtkTreeStore * store,GtkTreeIter * parent,int col,u64 total) perf_gtk__add_callchain_flat() argument 160 perf_gtk__add_callchain_folded(struct rb_root * root,GtkTreeStore * store,GtkTreeIter * parent,int col,u64 total) perf_gtk__add_callchain_folded() argument 220 perf_gtk__add_callchain_graph(struct rb_root * root,GtkTreeStore * store,GtkTreeIter * parent,int col,u64 total) perf_gtk__add_callchain_graph() argument 270 perf_gtk__add_callchain(struct rb_root * root,GtkTreeStore * store,GtkTreeIter * parent,int col,u64 total) perf_gtk__add_callchain() argument 299 GtkTreeStore *store; perf_gtk__show_hists() local 407 perf_gtk__add_hierarchy_entries(struct hists * hists,struct rb_root_cached * root,GtkTreeStore * store,GtkTreeIter * parent,struct perf_hpp * hpp,float min_pcnt) perf_gtk__add_hierarchy_entries() argument 504 GtkTreeStore *store; perf_gtk__show_hierarchy() local [all...] |
| /linux/sound/usb/ |
| H A D | mixer_us16x08.c | 370 /* gets a current mixer value from common store */ in snd_us16x08_channel_get() 435 struct snd_us16x08_comp_store *store = elem->private_data; 440 ucontrol->value.integer.value[0] = store->val[val_idx][index]; in snd_us16x08_comp_put() 450 struct snd_us16x08_comp_store *store = elem->private_data; in snd_us16x08_comp_put() 468 threshold = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_THRESHOLD)] in snd_us16x08_comp_put() 470 ratio = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_RATIO)][index]; in snd_us16x08_comp_put() 471 attack = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_ATTACK)][index]; in snd_us16x08_comp_put() 472 release = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_RELEASE)] in snd_us16x08_comp_put() 474 gain = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_GAIN)][index]; in snd_us16x08_comp_put() 475 switch_on = store in snd_us16x08_comp_put() 427 struct snd_us16x08_comp_store *store = elem->private_data; snd_us16x08_comp_get() local 441 struct snd_us16x08_comp_store *store = elem->private_data; snd_us16x08_comp_put() local 521 struct snd_us16x08_eq_store *store = elem->private_data; snd_us16x08_eqswitch_get() local 537 struct snd_us16x08_eq_store *store = elem->private_data; snd_us16x08_eqswitch_put() local 580 struct snd_us16x08_eq_store *store = elem->private_data; snd_us16x08_eq_get() local 597 struct snd_us16x08_eq_store *store = elem->private_data; snd_us16x08_eq_put() local 651 snd_get_meter_comp_index(struct snd_us16x08_meter_store * store) snd_get_meter_comp_index() argument 687 get_meter_levels_from_urb(int s,struct snd_us16x08_meter_store * store,u8 * meter_urb) get_meter_levels_from_urb() argument 729 struct snd_us16x08_meter_store *store = elem->private_data; snd_us16x08_meter_get() local 788 struct snd_us16x08_meter_store *store = elem->private_data; snd_us16x08_meter_put() local [all...] |
| /linux/tools/testing/selftests/powerpc/ptrace/ |
| H A D | ptrace-vsx.h | 70 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 D | altera-ci.c | 264 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 D | stat-cpi.py | |
| /linux/certs/ |
| H A D | extract-cert.c | 69 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/drivers/gpu/drm/amd/display/dc/gpio/ |
| H A D | hw_ddc.c | 257 REG_GET(dc_i3cpad_control0, DC_I3CPAD_DDCDATA_MASK, &ddc->base.store.mask); in store_registers_ddc_i3cpad() 258 REG_GET(dc_i3cpad_control0, DC_I3CPAD_DATA_A, &ddc->base.store.a); in store_registers_ddc_i3cpad() 259 REG_GET(dc_i3cpad_control0, DC_I3CPAD_DATA_EN, &ddc->base.store.en); in store_registers_ddc_i3cpad() 262 REG_GET(dc_i3cpad_control0, DC_I3CPAD_DDCCLK_MASK, &ddc->base.store.mask); in store_registers_ddc_i3cpad() 263 REG_GET(dc_i3cpad_control0, DC_I3CPAD_CLK_A, &ddc->base.store.a); in store_registers_ddc_i3cpad() 264 REG_GET(dc_i3cpad_control0, DC_I3CPAD_CLK_EN, &ddc->base.store.en); in store_registers_ddc_i3cpad() 276 REG_UPDATE(dc_i3cpad_control0, DC_I3CPAD_DDCDATA_MASK, ddc->base.store.mask); in restore_registers_ddc_i3cpad() 277 REG_UPDATE(dc_i3cpad_control0, DC_I3CPAD_DATA_A, ddc->base.store.a); in restore_registers_ddc_i3cpad() 278 REG_UPDATE(dc_i3cpad_control0, DC_I3CPAD_DATA_EN, ddc->base.store.en); in restore_registers_ddc_i3cpad() 281 REG_UPDATE(dc_i3cpad_control0, DC_I3CPAD_DDCCLK_MASK, ddc->base.store in restore_registers_ddc_i3cpad() [all...] |
| /linux/arch/arm/lib/ |
| H A D | bitops.h | 31 .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 D | sysfs.txt | 110 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 D | sysfs.txt | 107 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 D | eainode.rst | 6 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 D | glossary.txt | 35 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 D | explanation.txt | 86 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/drivers/cpuidle/ |
| H A D | sysfs.c | 148 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/afs/ |
| H A D | write.c | 73 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/fs/pstore/ |
| H A D | Kconfig | 3 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/fs/nilfs2/ |
| H A D | sysfs.h | 58 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/arch/alpha/lib/ |
| H A D | ev6-memcpy.S | 73 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
|