| /linux-6.15/drivers/md/bcache/ |
| H A D | stats.c | 110 acc->total.cache_hits = 0; in bch_cache_accounting_clear() 111 acc->total.cache_misses = 0; in bch_cache_accounting_clear() 123 kobject_put(&acc->day.kobj); in bch_cache_accounting_destroy() 127 closure_return(&acc->cl); in bch_cache_accounting_destroy() 152 struct cache_accounting *acc = from_timer(acc, t, timer); in scale_accounting() local 158 acc->hour.name += t; \ in scale_accounting() 159 acc->day.name += t; \ in scale_accounting() 160 acc->total.name += t; \ in scale_accounting() 178 add_timer(&acc->timer); in scale_accounting() 180 closure_return(&acc->cl); in scale_accounting() [all …]
|
| H A D | stats.h | 44 void bch_cache_accounting_init(struct cache_accounting *acc, 47 int bch_cache_accounting_add_kobjs(struct cache_accounting *acc, 50 void bch_cache_accounting_clear(struct cache_accounting *acc); 52 void bch_cache_accounting_destroy(struct cache_accounting *acc);
|
| /linux-6.15/drivers/staging/media/ipu3/ |
| H A D | ipu3-css-params.c | 1738 memset(acc, 0, sizeof(*acc)); in imgu_css_cfg_acc_stripe() 2119 memset(&acc->shd.shd_lut, 0, sizeof(acc->shd.shd_lut)); in imgu_css_cfg_acc() 2250 memset(&acc->tcc, 0, sizeof(acc->tcc)); in imgu_css_cfg_acc() 2279 memset(&acc->dpc, 0, sizeof(acc->dpc)); in imgu_css_cfg_acc() 2347 acc->anr.search.frame_width = acc->anr.tile2strm.frame_width; in imgu_css_cfg_acc() 2348 acc->anr.stitch.frame_width = acc->anr.tile2strm.frame_width; in imgu_css_cfg_acc() 2389 acc->awb_fr.stripes[i] = acc->awb_fr.config; in imgu_css_cfg_acc() 2476 acc->ae.stripes[i].grid = acc->ae.grid_cfg; in imgu_css_cfg_acc() 2496 acc->ae.grid_cfg.width - acc->ae.stripes[0].grid.width; in imgu_css_cfg_acc() 2547 acc->af.stripes[i].grid_cfg = acc->af.config.grid_cfg; in imgu_css_cfg_acc() [all …]
|
| /linux-6.15/drivers/soc/ti/ |
| H A D | knav_qmss_acc.c | 94 acc = range->acc; in knav_acc_int_handler() 205 acc = range->acc; in knav_range_setup_acc_irq() 209 acc = range->acc + queue; in knav_range_setup_acc_irq() 231 acc->name, acc->name); in knav_range_setup_acc_irq() 246 acc->name, acc->name); in knav_range_setup_acc_irq() 311 acc = range->acc; in knav_acc_setup_cmd() 315 acc = range->acc + queue; in knav_acc_setup_cmd() 342 acc = range->acc + queue; in knav_acc_stop() 360 acc = range->acc + queue; in knav_acc_start() 380 acc = range->acc + queue; in knav_acc_init_range() [all …]
|
| /linux-6.15/fs/bcachefs/ |
| H A D | disk_accounting.c | 118 memset(&acc, 0, sizeof(acc)); in bch2_mod_dev_cached_sectors() 319 if (eytzinger0_find(acc->k.data, acc->k.nr, sizeof(acc->k.data[0]), in __bch2_accounting_mem_insert() 334 if (acc->gc_running) { in __bch2_accounting_mem_insert() 344 eytzinger0_sort(acc->k.data, acc->k.nr, sizeof(acc->k.data[0]), in __bch2_accounting_mem_insert() 418 acc->k.nr = dst - acc->k.data; in bch2_accounting_mem_gc() 419 eytzinger0_sort(acc->k.data, acc->k.nr, sizeof(acc->k.data[0]), in bch2_accounting_mem_gc() 492 bch2_accounting_mem_read_counters(acc, i - acc->k.data, in bch2_fs_accounting_read() 546 unsigned idx = eytzinger0_find_ge(acc->k.data, acc->k.nr, sizeof(acc->k.data[0]), in bch2_gc_accounting_done() 641 switch (acc.type) { in bch2_disk_accounting_validate_late() 777 unsigned idx = eytzinger0_find(acc->k.data, acc->k.nr, in bch2_accounting_read() [all …]
|
| H A D | disk_accounting.h | 68 BUILD_BUG_ON(sizeof(*acc) != sizeof(p)); in bpos_to_disk_accounting_pos() 71 acc->_pad = p; in bpos_to_disk_accounting_pos() 73 memcpy_swab(acc, &p, sizeof(p)); in bpos_to_disk_accounting_pos() 81 p = acc->_pad; in disk_accounting_pos_to_bpos() 83 memcpy_swab(&p, acc, sizeof(p)); in disk_accounting_pos_to_bpos() 144 return acc.type < BCH_DISK_ACCOUNTING_TYPE_NR && in bch2_accounting_is_mem() 145 acc.type != BCH_DISK_ACCOUNTING_inum; in bch2_accounting_is_mem() 163 if (gc && !acc->gc_running) in bch2_accounting_mem_mod_locked() 192 while ((idx = eytzinger0_find(acc->k.data, acc->k.nr, sizeof(acc->k.data[0]), in bch2_accounting_mem_mod_locked() 225 if (unlikely(idx >= acc->k.nr)) in bch2_accounting_mem_read_counters() [all …]
|
| H A D | progress.c | 19 struct disk_accounting_pos acc; in bch2_progress_init() local 20 disk_accounting_key_init(acc, btree, .id = i); in bch2_progress_init() 23 bch2_accounting_mem_read(c, disk_accounting_pos_to_bpos(&acc), &v, 1); in bch2_progress_init()
|
| /linux-6.15/fs/cachefiles/ |
| H A D | key.c | 41 unsigned int acc, i, n, nle, nbe, keylen = object->cookie->key_len; in cachefiles_cook_key() local 116 acc = *key++; in cachefiles_cook_key() 118 acc |= *key++ << 8; in cachefiles_cook_key() 120 acc |= *key++ << 16; in cachefiles_cook_key() 123 name[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key() 124 acc >>= 6; in cachefiles_cook_key() 125 name[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key() 126 acc >>= 6; in cachefiles_cook_key() 127 name[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key() 128 acc >>= 6; in cachefiles_cook_key() [all …]
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_gt_pagefault.c | 53 struct acc { struct 540 static void print_acc(struct xe_device *xe, struct acc *acc) in print_acc() argument 551 acc->asid, acc->vfid, acc->engine_class, acc->engine_instance, in print_acc() 554 acc->sub_granularity, acc->va_range_base); in print_acc() 557 static struct xe_vma *get_acc_vma(struct xe_vm *vm, struct acc *acc) in get_acc_vma() argument 559 u64 page_va = acc->va_range_base + (ffs(acc->sub_granularity) - 1) * in get_acc_vma() 565 static int handle_acc(struct xe_gt *gt, struct acc *acc) in handle_acc() argument 585 vma = get_acc_vma(vm, acc); in handle_acc() 618 static bool get_acc(struct acc_queue *acc_queue, struct acc *acc) in get_acc() argument 653 struct acc acc = {}; in acc_queue_work_func() local [all …]
|
| /linux-6.15/drivers/fsi/ |
| H A D | fsi-scom.c | 392 acc->intf_errors = 0; in raw_convert_status() 397 acc->intf_errors |= SCOM_INTF_ERR_PARITY; in raw_convert_status() 399 acc->intf_errors |= SCOM_INTF_ERR_ABORT; in raw_convert_status() 401 acc->intf_errors |= SCOM_INTF_ERR_UNKNOWN; in raw_convert_status() 406 struct scom_access acc; in scom_raw_read() local 413 rc = raw_get_scom(scom, &acc.data, acc.addr, &status); in scom_raw_read() 416 raw_convert_status(&acc, status); in scom_raw_read() 425 struct scom_access acc; in scom_raw_write() local 432 if (acc.mask) { in scom_raw_write() 438 mask = acc.mask; in scom_raw_write() [all …]
|
| /linux-6.15/drivers/iio/common/inv_sensors/ |
| H A D | inv_sensors_timestamp.c | 22 static void inv_update_acc(struct inv_sensors_timestamp_acc *acc, uint32_t val) in inv_update_acc() argument 27 acc->values[acc->idx++] = val; in inv_update_acc() 28 if (acc->idx >= ARRAY_SIZE(acc->values)) in inv_update_acc() 29 acc->idx = 0; in inv_update_acc() 32 for (i = 0; i < ARRAY_SIZE(acc->values); ++i) { in inv_update_acc() 33 if (acc->values[i] == 0) in inv_update_acc() 35 sum += acc->values[i]; in inv_update_acc() 38 acc->val = div_u64(sum, i); in inv_update_acc()
|
| /linux-6.15/tools/testing/selftests/kvm/arm64/ |
| H A D | vpmu_counter_access.c | 174 #define PMC_ACC_TO_IDX(acc) (acc - &pmc_accessors[0]) argument 270 acc->write_typer(pmc_idx, write_data); in test_access_pmc_regs() 271 read_data = acc->read_typer(pmc_idx); in test_access_pmc_regs() 274 pmc_idx, PMC_ACC_TO_IDX(acc), read_data, write_data); in test_access_pmc_regs() 280 read_data = acc->read_cntr(pmc_idx); in test_access_pmc_regs() 285 pmc_idx, PMC_ACC_TO_IDX(acc), read_data); in test_access_pmc_regs() 288 acc->write_cntr(pmc_idx, write_data); in test_access_pmc_regs() 289 read_data = acc->read_cntr(pmc_idx); in test_access_pmc_regs() 292 pmc_idx, PMC_ACC_TO_IDX(acc), read_data, write_data); in test_access_pmc_regs() 341 TEST_EXCEPTION(ESR_ELx_EC_UNKNOWN, acc->read_cntr(pmc_idx)); in test_access_invalid_pmc_regs() [all …]
|
| /linux-6.15/arch/powerpc/kernel/ptrace/ |
| H A D | ptrace-spe.c | 32 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_get() 35 return membuf_write(&to, &target->thread.acc, in evr_get() 51 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_set() 56 &target->thread.acc, in evr_set()
|
| /linux-6.15/drivers/nvme/host/ |
| H A D | fc.h | 38 struct fcnvme_ls_acc_hdr *acc = buf; in nvme_fc_format_rsp_hdr() local 40 acc->w0.ls_cmd = ls_cmd; in nvme_fc_format_rsp_hdr() 41 acc->desc_list_len = desc_len; in nvme_fc_format_rsp_hdr() 42 acc->rqst.desc_tag = cpu_to_be32(FCNVME_LSDESC_RQST); in nvme_fc_format_rsp_hdr() 43 acc->rqst.desc_len = in nvme_fc_format_rsp_hdr() 45 acc->rqst.w0.ls_cmd = rqst_ls_cmd; in nvme_fc_format_rsp_hdr()
|
| /linux-6.15/Documentation/devicetree/bindings/power/ |
| H A D | qcom,kpss-acc-v2.yaml | 4 $id: http://devicetree.org/schemas/power/qcom,kpss-acc-v2.yaml# 22 - qcom,kpss-acc-v2 23 - qcom,msm8916-acc 40 compatible = "qcom,kpss-acc-v2";
|
| /linux-6.15/arch/arm64/kvm/vgic/ |
| H A D | vgic-mmio.h | 67 #define REGISTER_DESC_WITH_BITS_PER_IRQ(off, rd, wr, ur, uw, bpi, acc) \ argument 72 .access_flags = acc, \ 79 #define REGISTER_DESC_WITH_LENGTH(off, rd, wr, length, acc) \ argument 84 .access_flags = acc, \ 89 #define REGISTER_DESC_WITH_LENGTH_UACCESS(off, rd, wr, urd, uwr, length, acc) \ argument 94 .access_flags = acc, \
|
| /linux-6.15/arch/x86/lib/ |
| H A D | crc-pclmul-template.S | 138 .macro _fold_vec acc, data, consts, tmp 139 _pclmulqdq \consts, HI64_TERMS, \acc, HI64_TERMS, \tmp 140 _pclmulqdq \consts, LO64_TERMS, \acc, LO64_TERMS, \acc 143 _cond_vex pxor, \tmp, \acc, \acc 145 vpternlogq $0x96, \data, \tmp, \acc 154 .macro _fold_vec_mem vl, acc, data, consts, bswap_mask, tmp1, tmp2 157 _fold_vec \acc, \tmp1, \consts, \tmp2 159 _fold_vec \acc, \data, \consts, \tmp1
|
| /linux-6.15/drivers/clk/ |
| H A D | clk-fixed-factor.c | 66 return fix->acc; in clk_factor_recalc_accuracy() 96 unsigned long acc, unsigned int fixflags, bool devm) in __clk_hw_register_fixed_factor() argument 119 fix->acc = acc; in __clk_hw_register_fixed_factor() 234 unsigned long acc) in clk_hw_register_fixed_factor_with_accuracy_fwname() argument 239 &pdata, flags, mult, div, acc, in clk_hw_register_fixed_factor_with_accuracy_fwname() 318 unsigned long acc) in devm_clk_hw_register_fixed_factor_with_accuracy_fwname() argument 323 &pdata, flags, mult, div, acc, in devm_clk_hw_register_fixed_factor_with_accuracy_fwname()
|
| /linux-6.15/lib/ |
| H A D | xxhash.c | 156 static uint64_t xxh64_round(uint64_t acc, const uint64_t input) in xxh64_round() argument 158 acc += input * PRIME64_2; in xxh64_round() 159 acc = xxh_rotl64(acc, 31); in xxh64_round() 160 acc *= PRIME64_1; in xxh64_round() 161 return acc; in xxh64_round() 164 static uint64_t xxh64_merge_round(uint64_t acc, uint64_t val) in xxh64_merge_round() argument 167 acc ^= val; in xxh64_merge_round() 168 acc = acc * PRIME64_1 + PRIME64_4; in xxh64_merge_round() 169 return acc; in xxh64_merge_round()
|
| /linux-6.15/lib/zstd/compress/ |
| H A D | zstd_preSplit.c | 125 static void mergeEvents(Fingerprint* acc, const Fingerprint* newfp) in mergeEvents() argument 129 acc->events[n] += newfp->events[n]; in mergeEvents() 131 acc->nbEvents += newfp->nbEvents; in mergeEvents() 144 static void removeEvents(Fingerprint* acc, const Fingerprint* slice) in removeEvents() argument 148 assert(acc->events[n] >= slice->events[n]); in removeEvents() 149 acc->events[n] -= slice->events[n]; in removeEvents() 151 acc->nbEvents -= slice->nbEvents; in removeEvents()
|
| /linux-6.15/drivers/staging/fbtft/ |
| H A D | fb_ssd1351.c | 123 int i, acc = 0; in set_gamma() local 132 acc += curves[i]; in set_gamma() 133 tmp[i] = acc; in set_gamma() 134 if (acc > 180) { in set_gamma() 137 i, acc); in set_gamma()
|
| /linux-6.15/rust/pin-init/src/ |
| H A D | macros.rs | 1181 @acc(), 1304 @acc($($acc:tt)*), 1325 $($acc)* 1335 @acc($($acc:tt)*), 1349 $($acc)* 1358 @acc($($acc:tt)*), 1364 @acc($($acc)* $field: ::core::panic!(),), 1371 @acc($($acc:tt)*), 1377 @acc($($acc)* $field: ::core::panic!(),),
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | relo_core.c | 78 if (!acc->name || arr->nelems > 0) in is_flex_arr() 268 struct bpf_core_accessor *acc; in bpf_core_parse_spec() local 310 acc = &spec->spec[0]; in bpf_core_parse_spec() 311 acc->type_id = id; in bpf_core_parse_spec() 312 acc->idx = access_idx; in bpf_core_parse_spec() 340 acc = &spec->spec[spec->len]; in bpf_core_parse_spec() 358 acc->type_id = id; in bpf_core_parse_spec() 359 acc->idx = access_idx; in bpf_core_parse_spec() 360 acc->name = name; in bpf_core_parse_spec() 706 if (!acc->name) { in bpf_core_calc_field_relo() [all …]
|
| /linux-6.15/arch/arm/boot/dts/alphascale/ |
| H A D | alphascale-asm9260.dtsi | 26 clocks = <&acc CLKID_SYS_CPU>; 43 acc: clock-controller@80040000 { label 60 clocks = <&acc CLKID_AHB_TIMER0>;
|
| /linux-6.15/security/ |
| H A D | device_cgroup.c | 250 static void set_access(char *acc, short access) in set_access() argument 253 memset(acc, 0, ACCLEN); in set_access() 255 acc[idx++] = 'r'; in set_access() 257 acc[idx++] = 'w'; in set_access() 259 acc[idx++] = 'm'; in set_access() 285 char maj[MAJMINLEN], min[MAJMINLEN], acc[ACCLEN]; in devcgroup_seq_show() local 295 set_access(acc, DEVCG_ACC_MASK); in devcgroup_seq_show() 299 maj, min, acc); in devcgroup_seq_show() 302 set_access(acc, ex->access); in devcgroup_seq_show() 306 maj, min, acc); in devcgroup_seq_show()
|