/Linux-v4.19/drivers/md/bcache/ |
D | stats.c | 96 int bch_cache_accounting_add_kobjs(struct cache_accounting *acc, in bch_cache_accounting_add_kobjs() argument 99 int ret = kobject_add(&acc->total.kobj, parent, in bch_cache_accounting_add_kobjs() 101 ret = ret ?: kobject_add(&acc->five_minute.kobj, parent, in bch_cache_accounting_add_kobjs() 103 ret = ret ?: kobject_add(&acc->hour.kobj, parent, in bch_cache_accounting_add_kobjs() 105 ret = ret ?: kobject_add(&acc->day.kobj, parent, in bch_cache_accounting_add_kobjs() 110 void bch_cache_accounting_clear(struct cache_accounting *acc) in bch_cache_accounting_clear() argument 112 memset(&acc->total.cache_hits, in bch_cache_accounting_clear() 117 void bch_cache_accounting_destroy(struct cache_accounting *acc) in bch_cache_accounting_destroy() argument 119 kobject_put(&acc->total.kobj); in bch_cache_accounting_destroy() 120 kobject_put(&acc->five_minute.kobj); in bch_cache_accounting_destroy() [all …]
|
D | stats.h | 46 void bch_cache_accounting_init(struct cache_accounting *acc, 49 int bch_cache_accounting_add_kobjs(struct cache_accounting *acc, 52 void bch_cache_accounting_clear(struct cache_accounting *acc); 54 void bch_cache_accounting_destroy(struct cache_accounting *acc);
|
/Linux-v4.19/drivers/soc/ti/ |
D | knav_qmss_acc.c | 32 struct knav_acc_channel *acc) in __knav_acc_notify() argument 52 queue = acc->channel - range->acc_info.start_channel; in __knav_acc_notify() 76 atomic_inc(&kq->acc->retrigger_count); in knav_acc_set_notify() 77 mask = BIT(kq->acc->channel % 32); in knav_acc_set_notify() 78 offset = ACC_INTD_OFFSET_STATUS(kq->acc->channel); in knav_acc_set_notify() 80 kq->acc->name); in knav_acc_set_notify() 87 struct knav_acc_channel *acc; in knav_acc_int_handler() local 102 acc = range->acc; in knav_acc_int_handler() 110 acc += queue; in knav_acc_int_handler() 113 channel = acc->channel; in knav_acc_int_handler() [all …]
|
/Linux-v4.19/fs/cachefiles/ |
D | key.c | 40 unsigned int acc; in cachefiles_cook_key() local 93 acc = *(uint16_t *) raw; in cachefiles_cook_key() 96 key[len + 1] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key() 97 acc >>= 6; in cachefiles_cook_key() 98 key[len] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key() 129 acc = *raw++; in cachefiles_cook_key() 130 acc |= *raw++ << 8; in cachefiles_cook_key() 131 acc |= *raw++ << 16; in cachefiles_cook_key() 133 _debug("acc: %06x", acc); in cachefiles_cook_key() 135 key[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key() [all …]
|
/Linux-v4.19/drivers/fsi/ |
D | fsi-scom.c | 442 static void raw_convert_status(struct scom_access *acc, uint32_t status) in raw_convert_status() argument 444 acc->pib_status = (status & SCOM_STATUS_PIB_RESP_MASK) >> in raw_convert_status() 446 acc->intf_errors = 0; in raw_convert_status() 449 acc->intf_errors |= SCOM_INTF_ERR_PROTECTION; in raw_convert_status() 451 acc->intf_errors |= SCOM_INTF_ERR_PARITY; in raw_convert_status() 453 acc->intf_errors |= SCOM_INTF_ERR_ABORT; in raw_convert_status() 455 acc->intf_errors |= SCOM_INTF_ERR_UNKNOWN; in raw_convert_status() 460 struct scom_access acc; in scom_raw_read() local 464 if (copy_from_user(&acc, argp, sizeof(struct scom_access))) in scom_raw_read() 467 rc = raw_get_scom(scom, &acc.data, acc.addr, &status); in scom_raw_read() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.h | 294 static inline u32 iwch_ib_to_tpt_access(int acc) in iwch_ib_to_tpt_access() argument 296 return (acc & IB_ACCESS_REMOTE_WRITE ? TPT_REMOTE_WRITE : 0) | in iwch_ib_to_tpt_access() 297 (acc & IB_ACCESS_REMOTE_READ ? TPT_REMOTE_READ : 0) | in iwch_ib_to_tpt_access() 298 (acc & IB_ACCESS_LOCAL_WRITE ? TPT_LOCAL_WRITE : 0) | in iwch_ib_to_tpt_access() 299 (acc & IB_ACCESS_MW_BIND ? TPT_MW_BIND : 0) | in iwch_ib_to_tpt_access() 303 static inline u32 iwch_ib_to_tpt_bind_access(int acc) in iwch_ib_to_tpt_bind_access() argument 305 return (acc & IB_ACCESS_REMOTE_WRITE ? TPT_REMOTE_WRITE : 0) | in iwch_ib_to_tpt_bind_access() 306 (acc & IB_ACCESS_REMOTE_READ ? TPT_REMOTE_READ : 0); in iwch_ib_to_tpt_bind_access()
|
/Linux-v4.19/kernel/bpf/ |
D | tnum.c | 111 static struct tnum hma(struct tnum acc, u64 value, u64 mask) in hma() argument 115 acc = tnum_add(acc, TNUM(0, value)); in hma() 119 return acc; in hma() 124 struct tnum acc; in tnum_mul() local 128 acc = hma(TNUM(pi, 0), a.mask, b.mask | b.value); in tnum_mul() 129 return hma(acc, b.mask, a.value); in tnum_mul()
|
/Linux-v4.19/virt/kvm/arm/vgic/ |
D | vgic-mmio.h | 78 #define REGISTER_DESC_WITH_BITS_PER_IRQ(off, rd, wr, ur, uw, bpi, acc) \ argument 83 .access_flags = acc, \ 90 #define REGISTER_DESC_WITH_LENGTH(off, rd, wr, length, acc) \ argument 95 .access_flags = acc, \ 100 #define REGISTER_DESC_WITH_LENGTH_UACCESS(off, rd, wr, urd, uwr, length, acc) \ argument 105 .access_flags = acc, \
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | qcom-apq8084.dtsi | 33 enable-method = "qcom,kpss-acc-v2"; 35 qcom,acc = <&acc0>; 44 enable-method = "qcom,kpss-acc-v2"; 46 qcom,acc = <&acc1>; 55 enable-method = "qcom,kpss-acc-v2"; 57 qcom,acc = <&acc2>; 66 enable-method = "qcom,kpss-acc-v2"; 68 qcom,acc = <&acc3>; 343 compatible = "qcom,kpss-acc-v2"; 349 compatible = "qcom,kpss-acc-v2"; [all …]
|
D | alphascale-asm9260.dtsi | 25 clocks = <&acc CLKID_SYS_CPU>; 42 acc: clock-controller@80040000 { label 59 clocks = <&acc CLKID_AHB_TIMER0>;
|
D | qcom-ipq4019.dtsi | 55 enable-method = "qcom,kpss-acc-v1"; 56 qcom,acc = <&acc0>; 74 enable-method = "qcom,kpss-acc-v1"; 75 qcom,acc = <&acc1>; 93 enable-method = "qcom,kpss-acc-v1"; 94 qcom,acc = <&acc2>; 112 enable-method = "qcom,kpss-acc-v1"; 113 qcom,acc = <&acc3>; 295 compatible = "qcom,kpss-acc-v1"; 300 compatible = "qcom,kpss-acc-v1"; [all …]
|
D | orion5x-rd88f5182-nas.dts | 54 devbus,acc-first-ps = <186000>; 55 devbus,acc-next-ps = <186000>; 76 devbus,acc-first-ps = <186000>; 77 devbus,acc-next-ps = <186000>;
|
D | qcom-msm8960.dtsi | 23 enable-method = "qcom,kpss-acc-v1"; 27 qcom,acc = <&acc0>; 33 enable-method = "qcom,kpss-acc-v1"; 37 qcom,acc = <&acc1>; 152 compatible = "qcom,kpss-acc-v1"; 157 compatible = "qcom,kpss-acc-v1";
|
/Linux-v4.19/lib/ |
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-v4.19/security/ |
D | device_cgroup.c | 236 static void set_access(char *acc, short access) in set_access() argument 239 memset(acc, 0, ACCLEN); in set_access() 241 acc[idx++] = 'r'; in set_access() 243 acc[idx++] = 'w'; in set_access() 245 acc[idx++] = 'm'; in set_access() 271 char maj[MAJMINLEN], min[MAJMINLEN], acc[ACCLEN]; in devcgroup_seq_show() local 281 set_access(acc, DEVCG_ACC_MASK); in devcgroup_seq_show() 285 maj, min, acc); in devcgroup_seq_show() 288 set_access(acc, ex->access); in devcgroup_seq_show() 292 maj, min, acc); in devcgroup_seq_show()
|
/Linux-v4.19/Documentation/devicetree/bindings/arm/msm/ |
D | qcom,kpss-acc.txt | 14 "qcom,kpss-acc-v1" 15 "qcom,kpss-acc-v2" 27 compatible = "qcom,kpss-acc-v2";
|
/Linux-v4.19/drivers/staging/fbtft/ |
D | fb_ssd1351.c | 124 int i, acc = 0; in set_gamma() local 133 acc += curves[i]; in set_gamma() 134 tmp[i] = acc; in set_gamma() 135 if (acc > 180) { in set_gamma() 138 i, acc); in set_gamma()
|
D | fb_ssd1331.c | 135 int i, acc = 0; in set_gamma() local 144 acc += curves[i]; in set_gamma() 145 tmp[i] = acc; in set_gamma() 146 if (acc > 180) { in set_gamma()
|
D | fb_hx8347d.c | 103 int acc = 0; in set_gamma() local 108 acc += CURVE(i, j); in set_gamma() 112 if (acc == 0) /* skip if all values are zero */ in set_gamma()
|
/Linux-v4.19/drivers/nvme/target/ |
D | fc.c | 1190 struct fcnvme_ls_acc_hdr *acc = buf; in nvmet_fc_format_rsp_hdr() local 1192 acc->w0.ls_cmd = ls_cmd; in nvmet_fc_format_rsp_hdr() 1193 acc->desc_list_len = desc_len; in nvmet_fc_format_rsp_hdr() 1194 acc->rqst.desc_tag = cpu_to_be32(FCNVME_LSDESC_RQST); in nvmet_fc_format_rsp_hdr() 1195 acc->rqst.desc_len = in nvmet_fc_format_rsp_hdr() 1197 acc->rqst.w0.ls_cmd = rqst_ls_cmd; in nvmet_fc_format_rsp_hdr() 1289 struct fcnvme_ls_cr_assoc_acc *acc = in nvmet_fc_ls_create_association() local 1294 memset(acc, 0, sizeof(*acc)); in nvmet_fc_ls_create_association() 1337 iod->lsreq->rsplen = nvmet_fc_format_rjt(acc, in nvmet_fc_ls_create_association() 1350 iod->lsreq->rsplen = sizeof(*acc); in nvmet_fc_ls_create_association() [all …]
|
/Linux-v4.19/drivers/power/supply/ |
D | cpcap-battery.c | 219 s64 acc; in cpcap_battery_cc_raw_div() local 238 acc = accumulator; in cpcap_battery_cc_raw_div() 239 acc = acc - ((s64)sample * offset); in cpcap_battery_cc_raw_div() 242 if (acc >= 0) in cpcap_battery_cc_raw_div() 243 tmp = acc; in cpcap_battery_cc_raw_div() 245 tmp = acc * -1; in cpcap_battery_cc_raw_div() 251 if (acc >= 0) in cpcap_battery_cc_raw_div() 336 int value, acc, error; in cpcap_battery_cc_get_avg_current() local 351 acc = (s16)value; in cpcap_battery_cc_get_avg_current() 363 return cpcap_battery_cc_to_ua(ddata, sample, acc, offset); in cpcap_battery_cc_get_avg_current()
|
/Linux-v4.19/drivers/infiniband/hw/mlx4/ |
D | mr.c | 39 static u32 convert_access(int acc) in convert_access() argument 41 return (acc & IB_ACCESS_REMOTE_ATOMIC ? MLX4_PERM_ATOMIC : 0) | in convert_access() 42 (acc & IB_ACCESS_REMOTE_WRITE ? MLX4_PERM_REMOTE_WRITE : 0) | in convert_access() 43 (acc & IB_ACCESS_REMOTE_READ ? MLX4_PERM_REMOTE_READ : 0) | in convert_access() 44 (acc & IB_ACCESS_LOCAL_WRITE ? MLX4_PERM_LOCAL_WRITE : 0) | in convert_access() 45 (acc & IB_ACCESS_MW_BIND ? MLX4_PERM_BIND_MW : 0) | in convert_access() 58 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx4_ib_get_dma_mr() argument 68 ~0ull, convert_access(acc), 0, 0, &mr->mmr); in mlx4_ib_get_dma_mr() 704 struct ib_fmr *mlx4_ib_fmr_alloc(struct ib_pd *pd, int acc, in mlx4_ib_fmr_alloc() argument 715 err = mlx4_fmr_alloc(dev->dev, to_mpd(pd)->pdn, convert_access(acc), in mlx4_ib_fmr_alloc()
|
/Linux-v4.19/arch/arm/mach-ixp4xx/include/mach/ |
D | qmgr.h | 48 u32 acc[QUEUES][MAX_QUEUE_LENGTH]; /* 0x000 - 0x3FF */ member 96 __raw_writel(val, &qmgr_regs->acc[queue][0]); in qmgr_put_entry() 103 val = __raw_readl(&qmgr_regs->acc[queue][0]); in qmgr_get_entry()
|
/Linux-v4.19/Documentation/devicetree/bindings/clock/ |
D | alphascale,acc.txt | 103 clocks = <&acc CLKID_SYS_UART4>, <&acc CLKID_AHB_UART4>; 111 clocks = <&acc CLKID_AHB_TIMER0>;
|
/Linux-v4.19/mm/ |
D | memcontrol.c | 2967 struct accumulated_stats *acc) in accumulate_memcg_tree() argument 2973 for (i = 0; i < acc->stats_size; i++) in accumulate_memcg_tree() 2974 acc->stat[i] += memcg_page_state(mi, in accumulate_memcg_tree() 2975 acc->stats_array ? acc->stats_array[i] : i); in accumulate_memcg_tree() 2977 for (i = 0; i < acc->events_size; i++) in accumulate_memcg_tree() 2978 acc->events[i] += memcg_sum_events(mi, in accumulate_memcg_tree() 2979 acc->events_array ? acc->events_array[i] : i); in accumulate_memcg_tree() 2982 acc->lru_pages[i] += in accumulate_memcg_tree() 3394 struct accumulated_stats acc; in memcg_stat_show() local 3427 memset(&acc, 0, sizeof(acc)); in memcg_stat_show() [all …]
|