| /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 | 168 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 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-snap-persistent.c | 106 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 D | dm-exception-store.h | 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, 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 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 | dm-snap.c | 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() 528 if (!snap_src->store->type->prepare_merge || in __validate_exception_handover() 529 !snap_src->store->type->commit_merge) { in __validate_exception_handover() 543 if (l->store->chunk_size < s->store->chunk_size) in __insert_snapshot() 858 snap->store->chunk_size); in __minimum_chunk_size() 890 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() 1077 io_size = linear_chunks * s->store->chunk_size; in snapshot_merge_next_chunks() [all …]
|
| /linux/tools/perf/ui/gtk/ |
| H A D | hists.c | 97 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/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/gpu/drm/amd/display/dc/gpio/ |
| H A D | hw_gpio.c | 45 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/include/linux/ |
| H A D | stacktrace.h | 70 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
|
| /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 | 23 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/net/netfilter/ipset/ |
| H A D | Kconfig | 33 can store IPv4 addresses (or network addresses) 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/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/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/edac/ |
| H A D | edac_pci_sysfs.c | 93 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, \ 235 ssize_t(*store) (void *, const char *, size_t); member 257 if (edac_pci_dev->store) in edac_pci_dev_store() 258 return edac_pci_dev->store(edac_pci_dev->value, buffer, count); in edac_pci_dev_store() 264 .store = edac_pci_dev_store 272 .store = _store, \ [all …]
|
| /linux/fs/afs/ |
| H A D | write.c | 74 afs_pages_written_back(vnode, op->store.pos, op->store.size); in afs_store_data_success() 76 atomic_long_add(op->store.size, &afs_v2net(vnode)->n_store_bytes); in afs_store_data_success() 138 op->store.pos = pos; in afs_issue_write_worker() 139 op->store.size = len; in afs_issue_write_worker() 145 op->store.write_iter = &subreq->io_iter; in afs_issue_write_worker() 146 op->store.i_size = umax(pos + len, vnode->netfs.remote_i_size); 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)
|