Searched refs:result (Results 1 - 25 of 2617) sorted by relevance

1234567891011>>

/linux-master/include/linux/
H A Dadfs_fs.h14 unsigned int result = 0; local
18 result = (result & 0xff) + (result >> 8);
19 result = result + *--p;
22 return (result & 0xff) != ptr[511];
/linux-master/tools/perf/tests/shell/
H A Dstat_all_metrics.sh8 result=$(perf stat -M "$m" true 2>&1)
9 if [[ "$result" =~ ${m:0:50} ]] || [[ "$result" =~ "<not supported>" ]]
14 result=$(perf stat -M "$m" -a sleep 0.01 2>&1)
15 if [[ "$result" =~ ${m:0:50} ]]
21 result=$(perf stat -M "$m" perf bench internals synthesize 2>&1)
22 if [[ "$result" =~ ${m:0:50} ]]
27 echo "$result"
31 if [[ "$result" =~ "FP_ARITH" || "$result"
[all...]
H A Dstat_all_pmu.sh10 result=$(perf stat -e "$p" true 2>&1)
11 if ! echo "$result" | grep -q "$p" && ! echo "$result" | grep -q "<not supported>" ; then
14 result=$(perf stat -e "$p" perf bench internals synthesize 2>&1)
15 if ! echo "$result" | grep -q "$p" ; then
17 echo "$result"
H A Dlock_contention.sh9 result=$(mktemp /tmp/__perf_test.result.XXXXX)
13 rm -f ${result}
49 perf lock contention -i ${perfdata} -E 1 -q 2> ${result}
50 if [ "$(cat "${result}" | wc -l)" != "1" ]; then
51 echo "[Fail] Recorded result count is not 1:" "$(cat "${result}" | wc -l)"
67 perf lock con -a -b -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
68 if [ "$(cat "${result}" | wc -l)" != "1" ]; then
69 echo "[Fail] BPF result coun
[all...]
/linux-master/arch/x86/include/asm/
H A Dacrn.h52 long result; local
56 : "=a" (result)
60 return result;
66 long result; local
70 : "=a" (result)
74 return result;
81 long result; local
85 : "=a" (result)
89 return result;
/linux-master/arch/alpha/lib/
H A Dchecksum.c57 unsigned long result; local
59 result = (__force u64)saddr + (__force u64)daddr +
65 result = (result & 0xffffffff) + (result >> 32);
67 result = (result & 0xffffffff) + (result >> 32);
68 return (__force __wsum)result;
82 unsigned long result local
165 unsigned long result = do_csum(buff, len); local
[all...]
/linux-master/drivers/md/
H A Ddm-audit.h18 struct bio *bio, sector_t sector, int result);
25 struct dm_target *ti, int result);
28 struct dm_target *ti, int result)
30 dm_audit_log_ti(AUDIT_DM_CTRL, dm_msg_prefix, "ctr", ti, result);
34 struct dm_target *ti, int result)
36 dm_audit_log_ti(AUDIT_DM_CTRL, dm_msg_prefix, "dtr", ti, result);
40 struct dm_target *ti, int result)
42 dm_audit_log_ti(AUDIT_DM_EVENT, dm_msg_prefix, op, ti, result);
47 int result)
52 int result)
27 dm_audit_log_ctr(const char *dm_msg_prefix, struct dm_target *ti, int result) argument
33 dm_audit_log_dtr(const char *dm_msg_prefix, struct dm_target *ti, int result) argument
39 dm_audit_log_target(const char *dm_msg_prefix, const char *op, struct dm_target *ti, int result) argument
45 dm_audit_log_bio(const char *dm_msg_prefix, const char *op, struct bio *bio, sector_t sector, int result) argument
50 dm_audit_log_target(const char *dm_msg_prefix, const char *op, struct dm_target *ti, int result) argument
55 dm_audit_log_ctr(const char *dm_msg_prefix, struct dm_target *ti, int result) argument
60 dm_audit_log_dtr(const char *dm_msg_prefix, struct dm_target *ti, int result) argument
[all...]
/linux-master/tools/testing/selftests/bpf/verifier/
H A Dbasic.c6 .result = REJECT,
14 .result = REJECT,
22 .result = REJECT,
H A Dbasic_stx_ldx.c8 .result = REJECT,
17 .result = REJECT,
26 .result = REJECT,
35 .result = REJECT,
44 .result = REJECT,
H A Djunk_insn.c8 .result = REJECT,
17 .result = REJECT,
26 .result = REJECT,
35 .result = REJECT,
44 .result = REJECT,
/linux-master/drivers/gpu/drm/i915/gt/
H A Dst_shmem_utils.c10 u32 datum = 0xdeadbeef, result; local
19 result = 0;
20 err = shmem_read(file, 0, &result, sizeof(result));
24 if (result != datum) {
26 result, datum);
31 result = 0xc0ffee;
32 err = shmem_write(file, 0, &result, sizeof(result));
42 if (*map != result) {
[all...]
/linux-master/arch/parisc/math-emu/
H A Dsfsub.c42 register unsigned int left, right, result, extent; local
73 Sgl_makequietnan(result);
74 *dstptr = result;
186 /* Left is not a zero and must be the result. Trapped
210 /* Both operands are denormalized. The result must be exact
215 Sgl_subtract(left,/*minus*/right,/*into*/result);
216 if(Sgl_iszero_mantissa(result))
220 Sgl_setone_sign(result);
224 Sgl_setzero_sign(result);
226 *dstptr = result;
[all...]
H A Dsfadd.c42 register unsigned int left, right, result, extent; local
75 Sgl_makequietnan(result);
76 *dstptr = result;
185 /* Left is not a zero and must be the result. Trapped
208 /* Both operands are denormalized. The result must be exact
213 Sgl_subtract(left,/*minus*/right,/*into*/result);
214 if(Sgl_iszero_mantissa(result))
218 Sgl_setone_sign(result);
222 Sgl_setzero_sign(result);
224 *dstptr = result;
[all...]
H A Dsfsqrt.c44 register unsigned int src, result; local
96 * Generate result
120 Sgl_setzero(result);
123 Sgl_addition(result,newbit,sum);
125 /* update result */
126 Sgl_addition(result,(newbit<<1),result);
134 Sgl_rightshiftby1(result);
139 if (!even_exponent && Sgl_islessthan(result,src))
140 Sgl_increment(result);
[all...]
/linux-master/arch/parisc/lib/
H A Dchecksum.c40 unsigned int result = 0; local
46 result = be16_to_cpu(*buff);
53 result += *(unsigned short *) buff;
66 addc(result, r1);
67 addc(result, r2);
68 addc(result, r3);
69 addc(result, r4);
77 addc(result, w);
79 result = (result
103 unsigned int result = do_csum(buff, len); local
[all...]
/linux-master/arch/arm/mach-bcm/
H A Dkona_l2_cache.c14 unsigned int result; local
24 result = bcm_kona_smc(SSAPI_ENABLE_L2_CACHE, 0, 0, 0, 0);
25 if (result != SEC_ROM_RET_OK) {
27 result);
/linux-master/tools/perf/util/
H A Dsharded_mutex.c8 struct sharded_mutex *result; local
15 size = sizeof(*result) + sizeof(struct mutex) * (1 << bits);
16 result = malloc(size);
17 if (!result)
20 result->cap_bits = bits;
22 mutex_init(&result->mutexes[i]);
24 return result;
H A Ddemangle-ocaml.c31 char *result; local
43 result = malloc(len + 1);
44 if (!result)
53 result[j++] = '.';
58 result[j++] = (hex(sym[i + 1]) << 4) | hex(sym[i + 2]);
62 result[j++] = sym[i++];
65 result[j] = '\0';
67 return result;
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_qmath.c10 * To fit the output into 16 bits the 32 bit multiplication result is right
19 * Description: This function make 16 bit multiplication and return the result
20 * in 16 bits. To fit the multiplication result into 16 bits the multiplication
21 * result is right shifted by 15 bits. Right shifting 15 bits instead of 16 bits
28 s32 result; local
30 result = 0x7fffffff;
32 result = ((s32) (op1) * (s32) (op2));
34 return (s16) (result >> 15);
39 * result. If the result overflo
44 s32 result; local
61 s16 result; local
80 s16 result; local
101 s32 result; local
126 s16 result; local
[all...]
/linux-master/lib/
H A Dchecksum.c49 unsigned int result = 0; local
56 result += (*buff << 8);
58 result = *buff;
65 result += *(unsigned short *) buff;
75 result += carry;
76 result += w;
77 carry = (w > result);
79 result += carry;
80 result = (result
128 unsigned int result = do_csum(buff, len); local
[all...]
/linux-master/tools/lib/perf/include/internal/
H A Drc_check.h43 #define ADD_RC_CHK(result, object) (result = object, object)
52 #define RC_CHK_GET(result, object) ADD_RC_CHK(result, object)
77 #define ADD_RC_CHK(result, object) \
79 object ? (result = malloc(sizeof(*result)), \
80 result ? (result->orig = object, result) \
[all...]
/linux-master/include/linux/soc/marvell/octeontx2/
H A Dasm.h19 u64 result = 0; \
22 : [rf]"=r" (result) \
24 (result); \
41 u64 result; local
45 : [r] "=r" (result), "+m" (*ptr)
48 return result;
/linux-master/tools/testing/selftests/kselftest/
H A Dktap_helpers.sh41 result="$1"
48 echo $result $KTAP_TESTNO $description $directive_str
56 result="ok"
57 __ktap_test "$result" "$description"
65 result="ok"
67 __ktap_test "$result" "$description" "$directive"
75 result="not ok"
76 __ktap_test "$result" "$description"
/linux-master/arch/powerpc/platforms/ps3/
H A Drepository.c112 int result; local
122 result = lv1_read_repository_node(lpar_id, n1, n2, n3, n4, &v1,
125 if (result) {
127 __func__, __LINE__, ps3_result(result));
168 int result; local
171 result = read_node(PS3_LPAR_ID_PME,
177 return result;
183 int result; local
186 result = read_node(PS3_LPAR_ID_PME,
192 return result;
217 int result; local
234 int result; local
253 int result; local
281 int result = ps3_repository_read_dev_reg_type(bus_index, dev_index, local
292 int result; local
342 int result = -ENODEV; local
419 int result = 0; local
485 int result = 0; local
523 int result = 0; local
593 int result; local
609 int result; local
648 int result; local
673 int result; local
747 int result; local
766 int result; local
815 int result; local
830 int result; local
849 int result; local
871 int result; local
898 int result; local
913 int result; local
928 int result; local
949 int result; local
963 int result; local
1020 int result; local
1032 int result; local
1051 int result; local
1068 int result; local
1085 int result; local
1105 int result; local
1142 int result; local
1169 int result; local
1183 int result = 0; local
1236 int result = 0; local
1285 int result = 0; local
1328 int result = 0; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/inc/
H A Dcustom_float.h37 uint32_t *result);

Completed in 251 milliseconds

1234567891011>>