Searched refs:accum (Results 1 - 16 of 16) sorted by relevance

/linux-master/security/apparmor/include/
H A Dperms.h104 * @accum - perms struct to accumulate into
105 * @addend - perms struct to add to @accum
107 static inline void aa_perms_accum_raw(struct aa_perms *accum, argument
110 accum->deny |= addend->deny;
111 accum->allow &= addend->allow & ~addend->deny;
112 accum->audit |= addend->audit & addend->allow;
113 accum->quiet &= addend->quiet & ~addend->allow;
114 accum->kill |= addend->kill & ~addend->allow;
115 accum->complain |= addend->complain & ~addend->allow & ~addend->deny;
116 accum
134 aa_perms_accum(struct aa_perms *accum, struct aa_perms *addend) argument
[all...]
/linux-master/arch/x86/math-emu/
H A Dpoly_tan.c55 Xsig argSq, argSqSq, accumulatoro, accumulatore, accum, local
73 accum.lsw = 0;
74 XSIG_LL(accum) = significand(st0_ptr);
79 XSIG_LL(accum) <<= 1;
82 XSIG_LL(accum) = 0x921fb54442d18469LL - XSIG_LL(accum);
84 if (XSIG_LL(accum) == 0xffffffffffffffffLL) {
92 argSignif.lsw = accum.lsw;
93 XSIG_LL(argSignif) = XSIG_LL(accum);
98 XSIG_LL(accum)
[all...]
/linux-master/tools/perf/util/bpf_skel/
H A Dbpf_prog_profiler.bpf.c61 struct bpf_perf_event_value *accum; local
67 accum = bpf_map_lookup_elem(&accum_readings, &zero);
68 if (accum) {
69 accum->counter += diff.counter;
70 accum->enabled += diff.enabled;
71 accum->running += diff.running;
/linux-master/tools/bpf/bpftool/skeleton/
H A Dprofiler.bpf.c84 struct bpf_perf_event_value___local *accum; local
90 accum = bpf_map_lookup_elem(&accum_readings, &id);
91 if (accum) {
92 accum->counter += diff.counter;
93 accum->enabled += diff.enabled;
94 accum->running += diff.running;
/linux-master/fs/xfs/scrub/
H A Drmap_repair.c308 struct xfs_rmap_irec accum; member in struct:xrep_rmap_ifork
324 if (rf->accum.rm_blockcount == 0)
327 return xrep_rmap_stash(rf->rr, rf->accum.rm_startblock,
328 rf->accum.rm_blockcount, rf->accum.rm_owner,
329 rf->accum.rm_offset, rf->accum.rm_flags);
341 struct xfs_rmap_irec *accum = &rf->accum; local
357 if (accum
[all...]
/linux-master/drivers/net/ethernet/xscale/
H A Dixp46x_ts.h29 u32 accum; /* 0x0C Time Sync Accumulator Register */ member in struct:ixp46x_ts_regs
/linux-master/mm/kmsan/
H A Dkmsan_test.c571 volatile int accum[KMSAN_MAX_ORIGIN_DEPTH * 2 + 2]; local
572 int last = ARRAY_SIZE(accum) - 1;
578 * We do not set accum[1] to 0, so the uninitializedness will be carried
579 * over to accum[2..last].
581 accum[0] = 1;
582 fibonacci((int *)accum, ARRAY_SIZE(accum), 2);
583 kmsan_check_memory((void *)&accum[last], sizeof(int));
/linux-master/drivers/hwmon/
H A Dltc2947-core.c964 u32 accum[2]; local
1038 "adi,accumulator-ctl-pol", accum,
1039 ARRAY_SIZE(accum));
1041 u32 accum_reg = LTC2947_ACCUM_POL_1(accum[0]) |
1042 LTC2947_ACCUM_POL_2(accum[1]);
1070 ret = of_property_read_u32_array(st->dev->of_node, "adi,gpio-in-accum",
1071 accum, ARRAY_SIZE(accum));
1074 * Setup the accum options. The gpioctl is already defined as
1077 u32 accum_val = LTC2947_ACCUM_POL_1(accum[
[all...]
/linux-master/net/ipv4/
H A Dinet_diag.c1109 int idx, accum, res; local
1113 accum = 0;
1143 num_arr[accum] = num;
1144 sk_arr[accum] = sk;
1145 if (++accum == SKARR_SZ)
1155 for (idx = 0; idx < accum; idx++) {
1171 if (accum == SKARR_SZ) {
1192 int idx, accum, res; local
1202 accum = 0;
1232 num_arr[accum]
[all...]
/linux-master/fs/udf/
H A Dsuper.c2413 unsigned int accum = 0; local
2442 accum += bitmap_weight((const unsigned long *)(ptr + index),
2459 return accum;
2465 unsigned int accum = 0; local
2476 accum += (elen >> table->i_sb->s_blocksize_bits);
2481 return accum;
2486 unsigned int accum = 0; local
2508 accum = le32_to_cpu(
2510 if (accum == 0xFFFFFFFF)
2511 accum
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drx.c283 __le32 *max_delta, __le32 *accum, int size)
289 i++, prev++, cur++, delta++, max_delta++, accum++) {
293 le32_add_cpu(accum, le32_to_cpu(*delta));
282 accum_stats(__le32 *prev, __le32 *cur, __le32 *delta, __le32 *max_delta, __le32 *accum, int size) argument
/linux-master/drivers/net/xen-netback/
H A Dinterface.c438 unsigned long accum = 0; local
441 accum += *(unsigned long *)(vif_stats + xenvif_stats[i].offset);
443 data[i] = accum;
/linux-master/drivers/ptp/
H A Dptp_pch.c49 u32 accum; member in struct:pch_ts_regs
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c1733 /* Add val to accum while handling a possible wraparound
1737 static void accumulate_val(u64 *accum, u64 val, u64 mask) argument
1741 bool wrapped = val < low_bits(*accum, mask);
1743 *accum = high_bits(*accum, mask) + val;
1745 *accum += (mask + 1);
/linux-master/drivers/hwmon/occ/
H A Dcommon.c462 static u64 occ_get_powr_avg(u64 *accum, u32 *samples) argument
467 div64_u64(get_unaligned_be64(accum) * 1000000ULL, divisor);
/linux-master/drivers/phy/
H A Dphy-xgene.c1419 static int xgene_phy_get_avg(int accum, int samples) argument
1421 return (accum + (samples / 2)) / samples;

Completed in 335 milliseconds