Home
last modified time | relevance | path

Searched refs:accum (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/security/apparmor/include/
Dperms.h104 static inline void aa_perms_accum_raw(struct aa_perms *accum, in aa_perms_accum_raw() argument
107 accum->deny |= addend->deny; in aa_perms_accum_raw()
108 accum->allow &= addend->allow & ~addend->deny; in aa_perms_accum_raw()
109 accum->audit |= addend->audit & addend->allow; in aa_perms_accum_raw()
110 accum->quiet &= addend->quiet & ~addend->allow; in aa_perms_accum_raw()
111 accum->kill |= addend->kill & ~addend->allow; in aa_perms_accum_raw()
112 accum->complain |= addend->complain & ~addend->allow & ~addend->deny; in aa_perms_accum_raw()
113 accum->cond |= addend->cond & ~addend->allow & ~addend->deny; in aa_perms_accum_raw()
114 accum->hide &= addend->hide & ~addend->allow; in aa_perms_accum_raw()
115 accum->prompt |= addend->prompt & ~addend->allow & ~addend->deny; in aa_perms_accum_raw()
[all …]
/linux-6.6.21/arch/x86/math-emu/
Dpoly_tan.c55 Xsig argSq, argSqSq, accumulatoro, accumulatore, accum, in poly_tan() local
73 accum.lsw = 0; in poly_tan()
74 XSIG_LL(accum) = significand(st0_ptr); in poly_tan()
79 XSIG_LL(accum) <<= 1; in poly_tan()
82 XSIG_LL(accum) = 0x921fb54442d18469LL - XSIG_LL(accum); in poly_tan()
84 if (XSIG_LL(accum) == 0xffffffffffffffffLL) { in poly_tan()
92 argSignif.lsw = accum.lsw; in poly_tan()
93 XSIG_LL(argSignif) = XSIG_LL(accum); in poly_tan()
98 XSIG_LL(accum) = XSIG_LL(argSignif) = significand(st0_ptr); in poly_tan()
102 if (FPU_shrx(&XSIG_LL(accum), -1 - exponent) >= in poly_tan()
[all …]
/linux-6.6.21/rust/kernel/init/
Dmacros.rs575 @accum(),
594 @accum($($accum:tt)*),
612 @pinned($($pinned)* $($accum)* $field: ::core::marker::PhantomPinned,),
614 @fields($($fields)* $($accum)* $field: ::core::marker::PhantomPinned,),
615 @accum(),
632 @accum($($accum:tt)*),
645 @pinned($($pinned)* $($accum)* $field: $type,),
647 @fields($($fields)* $($accum)* $field: $type,),
648 @accum(),
665 @accum($($accum:tt)*),
[all …]
/linux-6.6.21/tools/perf/util/bpf_skel/
Dbpf_prog_profiler.bpf.c61 struct bpf_perf_event_value *accum; in fexit_update_maps() local
67 accum = bpf_map_lookup_elem(&accum_readings, &zero); in fexit_update_maps()
68 if (accum) { in fexit_update_maps()
69 accum->counter += diff.counter; in fexit_update_maps()
70 accum->enabled += diff.enabled; in fexit_update_maps()
71 accum->running += diff.running; in fexit_update_maps()
/linux-6.6.21/tools/bpf/bpftool/skeleton/
Dprofiler.bpf.c84 struct bpf_perf_event_value___local *accum; in fexit_update_maps() local
90 accum = bpf_map_lookup_elem(&accum_readings, &id); in fexit_update_maps()
91 if (accum) { in fexit_update_maps()
92 accum->counter += diff.counter; in fexit_update_maps()
93 accum->enabled += diff.enabled; in fexit_update_maps()
94 accum->running += diff.running; in fexit_update_maps()
/linux-6.6.21/mm/kmsan/
Dkmsan_test.c538 volatile int accum[KMSAN_MAX_ORIGIN_DEPTH * 2 + 2]; in test_long_origin_chain() local
539 int last = ARRAY_SIZE(accum) - 1; in test_long_origin_chain()
548 accum[0] = 1; in test_long_origin_chain()
549 fibonacci((int *)accum, ARRAY_SIZE(accum), 2); in test_long_origin_chain()
550 kmsan_check_memory((void *)&accum[last], sizeof(int)); in test_long_origin_chain()
/linux-6.6.21/drivers/hwmon/
Dltc2947-core.c964 u32 accum[2]; in ltc2947_setup() local
1038 "adi,accumulator-ctl-pol", accum, in ltc2947_setup()
1039 ARRAY_SIZE(accum)); in ltc2947_setup()
1041 u32 accum_reg = LTC2947_ACCUM_POL_1(accum[0]) | in ltc2947_setup()
1042 LTC2947_ACCUM_POL_2(accum[1]); in ltc2947_setup()
1071 accum, ARRAY_SIZE(accum)); in ltc2947_setup()
1077 u32 accum_val = LTC2947_ACCUM_POL_1(accum[0]) | in ltc2947_setup()
1078 LTC2947_ACCUM_POL_2(accum[1]); in ltc2947_setup()
/linux-6.6.21/fs/udf/
Dsuper.c2385 unsigned int accum = 0; in udf_count_free_bitmap() local
2414 accum += bitmap_weight((const unsigned long *)(ptr + index), in udf_count_free_bitmap()
2431 return accum; in udf_count_free_bitmap()
2437 unsigned int accum = 0; in udf_count_free_table() local
2448 accum += (elen >> table->i_sb->s_blocksize_bits); in udf_count_free_table()
2453 return accum; in udf_count_free_table()
2458 unsigned int accum = 0; in udf_count_free() local
2480 accum = le32_to_cpu( in udf_count_free()
2482 if (accum == 0xFFFFFFFF) in udf_count_free()
2483 accum = 0; in udf_count_free()
[all …]
/linux-6.6.21/drivers/net/ethernet/xscale/
Dixp46x_ts.h29 u32 accum; /* 0x0C Time Sync Accumulator Register */ member
/linux-6.6.21/net/ipv4/
Dinet_diag.c1090 int idx, accum, res; in inet_diag_dump_icsk() local
1100 accum = 0; in inet_diag_dump_icsk()
1130 num_arr[accum] = num; in inet_diag_dump_icsk()
1131 sk_arr[accum] = sk; in inet_diag_dump_icsk()
1132 if (++accum == SKARR_SZ) in inet_diag_dump_icsk()
1139 for (idx = 0; idx < accum; idx++) { in inet_diag_dump_icsk()
1151 if (accum == SKARR_SZ) { in inet_diag_dump_icsk()
/linux-6.6.21/drivers/net/xen-netback/
Dinterface.c435 unsigned long accum = 0; in xenvif_get_ethtool_stats() local
438 accum += *(unsigned long *)(vif_stats + xenvif_stats[i].offset); in xenvif_get_ethtool_stats()
440 data[i] = accum; in xenvif_get_ethtool_stats()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/
Drx.c283 __le32 *max_delta, __le32 *accum, int size) in accum_stats() argument
289 i++, prev++, cur++, delta++, max_delta++, accum++) { in accum_stats()
293 le32_add_cpu(accum, le32_to_cpu(*delta)); in accum_stats()
/linux-6.6.21/Documentation/devicetree/bindings/hwmon/
Dadi,ltc2947.yaml65 adi,gpio-in-accum:
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c1733 static void accumulate_val(u64 *accum, u64 val, u64 mask) in accumulate_val() argument
1737 bool wrapped = val < low_bits(*accum, mask); in accumulate_val()
1739 *accum = high_bits(*accum, mask) + val; in accumulate_val()
1741 *accum += (mask + 1); in accumulate_val()
/linux-6.6.21/drivers/ptp/
Dptp_pch.c49 u32 accum; member
/linux-6.6.21/drivers/hwmon/occ/
Dcommon.c462 static u64 occ_get_powr_avg(u64 *accum, u32 *samples) in occ_get_powr_avg() argument
467 div64_u64(get_unaligned_be64(accum) * 1000000ULL, divisor); in occ_get_powr_avg()
/linux-6.6.21/drivers/phy/
Dphy-xgene.c1419 static int xgene_phy_get_avg(int accum, int samples) in xgene_phy_get_avg() argument
1421 return (accum + (samples / 2)) / samples; in xgene_phy_get_avg()
/linux-6.6.21/drivers/net/wireless/cisco/
Dairo.c960 u64 accum; // accumulated mic, reduced to u32 in final() member
1634 context->accum += (u64)(val) * be32_to_cpu(context->coeff[coeff_position++]);
1665 context->accum = 0; in emmh32_init()
1731 sum = context->accum; in emmh32_final()