/openbmc/linux/security/apparmor/include/ |
H A D | perms.h | 104 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 …]
|
/openbmc/linux/arch/x86/math-emu/ |
H A D | poly_tan.c | 55 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 …]
|
/openbmc/linux/rust/kernel/init/ |
H A D | macros.rs | 575 @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 …]
|
/openbmc/linux/tools/perf/util/bpf_skel/ |
H A D | bpf_prog_profiler.bpf.c | 61 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()
|
/openbmc/qemu/target/i386/tcg/ |
H A D | fpu_helper.c | 1159 floatx80 tmp, y, accum; in helper_f2xm1() local 1188 accum = floatx80_mul(f2xm1_coeff_7, y, &env->fp_status); in helper_f2xm1() 1189 accum = floatx80_add(f2xm1_coeff_6, accum, &env->fp_status); in helper_f2xm1() 1190 accum = floatx80_mul(accum, y, &env->fp_status); in helper_f2xm1() 1191 accum = floatx80_add(f2xm1_coeff_5, accum, &env->fp_status); in helper_f2xm1() 1192 accum = floatx80_mul(accum, y, &env->fp_status); in helper_f2xm1() 1193 accum = floatx80_add(f2xm1_coeff_4, accum, &env->fp_status); in helper_f2xm1() 1194 accum = floatx80_mul(accum, y, &env->fp_status); in helper_f2xm1() 1195 accum = floatx80_add(f2xm1_coeff_3, accum, &env->fp_status); in helper_f2xm1() 1196 accum = floatx80_mul(accum, y, &env->fp_status); in helper_f2xm1() [all …]
|
/openbmc/linux/tools/bpf/bpftool/skeleton/ |
H A D | profiler.bpf.c | 84 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()
|
/openbmc/linux/mm/kmsan/ |
H A D | kmsan_test.c | 538 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()
|
/openbmc/linux/drivers/hwmon/ |
H A D | ltc2947-core.c | 964 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()
|
/openbmc/linux/fs/udf/ |
H A D | super.c | 2401 unsigned int accum = 0; in udf_count_free_bitmap() local 2430 accum += bitmap_weight((const unsigned long *)(ptr + index), in udf_count_free_bitmap() 2447 return accum; in udf_count_free_bitmap() 2453 unsigned int accum = 0; in udf_count_free_table() local 2465 accum += (elen >> table->i_sb->s_blocksize_bits); in udf_count_free_table() 2470 return accum; in udf_count_free_table() 2475 unsigned int accum = 0; in udf_count_free() local 2497 accum = le32_to_cpu( in udf_count_free() 2499 if (accum == 0xFFFFFFFF) in udf_count_free() 2500 accum = 0; in udf_count_free() [all …]
|
/openbmc/linux/drivers/net/ethernet/xscale/ |
H A D | ixp46x_ts.h | 29 u32 accum; /* 0x0C Time Sync Accumulator Register */ member
|
/openbmc/linux/net/ipv4/ |
H A D | inet_diag.c | 1090 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()
|
/openbmc/qemu/target/hexagon/imported/mmvec/ |
H A D | ext.idef | 557 fHIDE(size8s_t accum;) 558 accum = fMPY16SS(fGETHALF(0,VuV.w[i]),fGETHALF(0, VvV.w[i])); 559 accum += fMPY16SS(fGETHALF(1,VuV.w[i]),fGETHALF(1, VvV.w[i])); 560 VdV.w[i] = fVSATW(accum)) 564 fHIDE(size8s_t accum;) 565 accum = fMPY16SS(fGETHALF(0,VuV.w[i]),fGETHALF(0, VvV.w[i])); 566 accum += fMPY16SS(fGETHALF(1,VuV.w[i]),fGETHALF(1, VvV.w[i])); 567 VxV.w[i] = fVSATW(VxV.w[i]+accum)) 574 fHIDE(size8s_t accum;) 575 accum = fMPY16SS(fGETHALF(0, VuV.w[i]),fGETHALF(0, RtV)); [all …]
|
/openbmc/entity-manager/src/ |
H A D | fru_utils.cpp | 178 unsigned int accum = 0; in decodeFRUData() local 183 accum |= *iter << accumBitLen; in decodeFRUData() 187 value.push_back(sixBitToChar(accum & 0x3f)); in decodeFRUData() 188 accum >>= 6; in decodeFRUData()
|
/openbmc/linux/drivers/net/xen-netback/ |
H A D | interface.c | 435 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()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | rx.c | 283 __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()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 1733 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()
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_pch.c | 49 u32 accum; member
|
/openbmc/linux/drivers/hwmon/occ/ |
H A D | common.c | 462 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()
|
/openbmc/qemu/target/hexagon/imported/ |
H A D | mpy.idef | 782 /* complex mac with full 64-bit accum - no sat, no shift */ 783 /* either do real or accum, never both */ 871 /* Complex mpy/mac with 2x32 bit accum, sat, shift */ 911 /* Vector mpy/mac with 2x32 bit accum, sat, shift */
|
/openbmc/linux/drivers/phy/ |
H A D | phy-xgene.c | 1419 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()
|
/openbmc/u-boot/common/ |
H A D | Kconfig | 79 mark time in microseconds, or 'accum' containing the 90 accum = <33482>;
|
/openbmc/linux/drivers/net/wireless/cisco/ |
H A D | airo.c | 960 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()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-a64.c | 10729 bool accum = (opcode == 0x6); in handle_2misc_pairwise() local 10747 if (accum) { in handle_2misc_pairwise() 10768 if (accum) { in handle_2misc_pairwise()
|