Searched refs:result (Results 176 - 200 of 2617) sorted by relevance

1234567891011>>

/linux-master/drivers/acpi/
H A Dsbs.c329 int result = 0; local
332 result = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER,
334 if (!result)
336 return result;
341 int i, result = 0; local
344 result = acpi_smbus_read(battery->sbs->hc,
350 if (result)
353 return result;
358 int i, result = 0; local
365 result
417 int result; local
476 int result, saved_present = battery->present; local
522 int result; local
575 int result; local
633 int result = 0; local
[all...]
/linux-master/fs/
H A Dfs_parser.c90 * @result: Where to place the result of the parse
94 * parameter ID is placed into @result->key, the desired type is indicated in
95 * @result->t and any converted value is placed into an appropriate member of
96 * the union in @result.
106 struct fs_parse_result *result)
110 result->uint_64 = 0;
112 p = fs_lookup_key(desc, param, &result->negated);
126 result->boolean = !result
103 __fs_parse(struct p_log *log, const struct fs_parameter_spec *desc, struct fs_parameter *param, struct fs_parse_result *result) argument
197 fs_param_is_bool(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument
213 fs_param_is_u32(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument
227 fs_param_is_s32(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument
240 fs_param_is_u64(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument
253 fs_param_is_enum(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument
269 fs_param_is_string(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument
279 fs_param_is_blob(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument
288 fs_param_is_fd(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument
311 fs_param_is_blockdev(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument
318 fs_param_is_path(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument
[all...]
/linux-master/drivers/md/dm-vdo/
H A Dio-submitter.c226 int result; local
230 result = vdo_int_map_put(bio_map, bio_sector, vio, true, NULL);
231 if (result != VDO_SUCCESS)
232 return result;
269 int result; local
290 result = vdo_int_map_put(bio_queue_data->map,
295 result = merge_to_prev_tail(bio_queue_data->map, vio, prev_vio);
298 result = merge_to_next_head(bio_queue_data->map, vio, next_vio);
303 VDO_ASSERT_LOG_ONLY(result == VDO_SUCCESS, "bio map insertion succeeds");
343 int result; local
381 int result; local
[all...]
H A Dvio.c53 int result; local
55 result = vdo_allocate_extended(struct bio, size + 1, struct bio_vec,
57 if (result != VDO_SUCCESS)
58 return result;
83 int result; local
85 result = VDO_ASSERT(block_count <= MAX_BLOCKS_PER_VIO,
88 if (result != VDO_SUCCESS)
89 return result;
91 result = VDO_ASSERT(((vio_type != VIO_TYPE_UNINITIALIZED) && (vio_type != VIO_TYPE_DATA)),
93 if (result !
124 int result; local
317 int result; local
[all...]
/linux-master/tools/testing/selftests/amd-pstate/
H A Dgitsource.sh64 rm -rf $OUTFILE_GIT*.result
106 printf "Gitsource-$1-#$2 avg des perf: $avg_des_perf\n" | tee -a $OUTFILE_GIT.result
110 printf "Gitsource-$1-#$2 avg freq: $avg_freq\n" | tee -a $OUTFILE_GIT.result
114 printf "Gitsource-$1-#$2 avg load: $avg_load\n" | tee -a $OUTFILE_GIT.result
118 printf "Gitsource-$1-#$2 user time(s): $time_sum\n" | tee -a $OUTFILE_GIT.result
122 printf "Gitsource-$1-#$2 power consumption(J): $en_sum\n" | tee -a $OUTFILE_GIT.result
132 printf "Gitsource-$1-#$2 performance per watt(1/J): $ppw\n" | tee -a $OUTFILE_GIT.result
133 printf "\n" | tee -a $OUTFILE_GIT.result
153 printf "Gitsource test result for $1 (loops:$LOOP_TIMES)" | tee -a $OUTFILE_GIT.result
[all...]
H A Dtbench.sh59 rm -rf $OUTFILE_TBENCH*.result
88 printf "Tbench-$1-#$2 avg des perf: $avg_des_perf\n" | tee -a $OUTFILE_TBENCH.result
92 printf "Tbench-$1-#$2 avg freq: $avg_freq\n" | tee -a $OUTFILE_TBENCH.result
96 printf "Tbench-$1-#$2 avg load: $avg_load\n" | tee -a $OUTFILE_TBENCH.result
100 printf "Tbench-$1-#$2 throughput(MB/s): $tp_sum\n" | tee -a $OUTFILE_TBENCH.result
104 printf "Tbench-$1-#$2 power consumption(J): $en_sum\n" | tee -a $OUTFILE_TBENCH.result
114 printf "Tbench-$1-#$2 performance per watt(MB/J): $ppw\n" | tee -a $OUTFILE_TBENCH.result
115 printf "\n" | tee -a $OUTFILE_TBENCH.result
135 printf "Tbench test result for $1 (loops:$LOOP_TIMES)" | tee -a $OUTFILE_TBENCH.result
[all...]
/linux-master/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Diceland_smumgr.c237 int result; local
240 result = iceland_smu_upload_firmware_image(hwmgr);
241 if (result)
242 return result;
255 result = smu7_request_smu_load_fw(hwmgr);
257 return result;
600 int result; local
602 result = iceland_get_std_voltage_value_sidd(hwmgr, tab,
605 if (0 != result) {
621 int result; local
648 int result; local
673 int result; local
697 int result; local
718 int result; local
808 int result; local
895 int result; local
976 int result = 0; local
1065 int result; local
1234 int result = 0; local
1351 int result; local
1425 int result = 0; local
1592 int result; local
1615 int result = 0; local
1650 int result = 0; local
1756 int result = 0; local
1780 int32_t result; local
1804 int result; local
1931 int result; local
2179 int result = 0; local
2284 int result; local
2377 bool result = true; local
2605 int result; local
[all...]
/linux-master/include/scsi/
H A Dscsi_dbg.h68 scsi_mlreturn_string(int result) argument
74 scsi_hostbyte_string(int result) argument
80 scsi_driverbyte_string(int result) argument
/linux-master/scripts/gdb/linux/
H A Drbtree.py110 result = rb_first(root)
111 if result is None:
114 return result
130 result = rb_last(root)
131 if result is None:
134 return result
150 result = rb_next(node)
151 if result is None:
154 return result
170 result
[all...]
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega20_powertune.c61 int adjust_percent, result = 0; local
68 result = vega20_set_overdrive_target_percentage(hwmgr,
71 return result;
/linux-master/tools/testing/selftests/bpf/verifier/
H A Datomic_fetch_add.c21 .result = ACCEPT,
43 .result = ACCEPT,
53 .result = REJECT,
65 .result = REJECT,
78 .result = REJECT,
104 .result = REJECT,
/linux-master/drivers/infiniband/ulp/ipoib/
H A Dipoib_vlan.c98 int result; local
116 result = -EINVAL;
127 result = -ENOTUNIQ;
131 result = register_netdevice(ndev);
132 if (result) {
133 ipoib_warn(priv, "failed to initialize; error %i", result);
164 return result;
172 int result; local
192 result = PTR_ERR(ndev);
199 result
[all...]
/linux-master/tools/testing/selftests/powerpc/security/
H A Dspectre_v2.c43 FAIL_IF(events[0].result.running != events[0].result.enabled);
44 FAIL_IF(events[1].result.running != events[1].result.enabled);
46 pred = events[0].result.value;
47 mpred = events[1].result.value;
52 FAIL_IF(events[2].result.running != events[2].result.enabled);
53 FAIL_IF(events[3].result.running != events[3].result
[all...]
/linux-master/arch/xtensa/include/asm/
H A Dcmpxchg.h27 unsigned long tmp, result; local
30 "1: l32ex %[result], %[addr]\n"
31 " bne %[result], %[cmp], 2f\n"
37 : [result] "=&a" (result), [tmp] "=&a" (tmp)
42 return result;
129 unsigned long tmp, result; local
132 "1: l32ex %[result], %[addr]\n"
137 : [result] "=&a" (result), [tm
[all...]
/linux-master/tools/perf/arch/powerpc/util/
H A Dskip-callchain-idx.c52 int result; local
54 result = dwarf_frame_register(frame, ra_regno, ops_mem, &ops, &nops);
55 if (result < 0) {
74 result = dwarf_frame_cfa(frame, &ops, &nops);
75 if (result < 0) {
76 pr_debug("dwarf_frame_cfa() returns %d, %s\n", result,
99 int result; local
110 result = dwarf_cfi_addrframe(cfi, pc-bias, &frame);
111 if (result) {
127 int result; local
[all...]
/linux-master/samples/bpf/
H A Dtest_map_in_map.bpf.c78 int *result; local
80 result = bpf_map_lookup_elem(inner_map, &port);
81 return result ? *result : -ENOENT;
86 int *result; local
91 result = bpf_map_lookup_elem(&port_a, &port);
92 return result ? *result : -ENOENT;
97 int *result; local
102 result
[all...]
/linux-master/drivers/macintosh/ams/
H A Dams-core.c121 int result; local
132 result = pmf_register_irq_client(ams_info.of_node,
135 if (result < 0)
142 result = pmf_register_irq_client(ams_info.of_node,
145 if (result < 0)
151 result = -ENODEV;
156 result = device_create_file(&ams_info.of_dev->dev, &dev_attr_current);
157 if (result)
163 result = ams_input_init();
164 if (result)
[all...]
/linux-master/arch/mips/include/asm/
H A Dlocal.h28 * Same as above, but return the result value
32 unsigned long result; local
47 : "=&r" (result), "=&r" (temp), "=m" (l->a.counter)
54 result = l->a.counter;
55 result += i;
56 l->a.counter = result;
60 return result;
65 unsigned long result; local
81 : "=&r" (result), "=&r" (temp), "=m" (l->a.counter)
88 result
[all...]
/linux-master/tools/testing/selftests/powerpc/
H A Dutils.c212 static int parse_bounded_int(const char *buffer, size_t count, intmax_t *result, argument
219 *result = strtoimax(buffer, &end, base);
228 if (*result < min || *result > max)
236 static int parse_bounded_uint(const char *buffer, size_t count, uintmax_t *result, argument
243 *result = strtoumax(buffer, &end, base);
252 if (*result > max)
260 int parse_intmax(const char *buffer, size_t count, intmax_t *result, int base) argument
262 return parse_bounded_int(buffer, count, result, base, INTMAX_MIN, INTMAX_MAX);
265 int parse_uintmax(const char *buffer, size_t count, uintmax_t *result, in argument
270 parse_int(const char *buffer, size_t count, int *result, int base) argument
279 parse_uint(const char *buffer, size_t count, unsigned int *result, int base) argument
288 parse_long(const char *buffer, size_t count, long *result, int base) argument
297 parse_ulong(const char *buffer, size_t count, unsigned long *result, int base) argument
306 read_long(const char *path, long *result, int base) argument
318 read_ulong(const char *path, unsigned long *result, int base) argument
330 write_long(const char *path, long result, int base) argument
355 write_ulong(const char *path, unsigned long result, int base) argument
493 read_sysfs_file(char *fpath, char *result, size_t result_size) argument
502 read_debugfs_int(const char *debugfs_file, int *result) argument
514 write_debugfs_int(const char *debugfs_file, int result) argument
[all...]
/linux-master/drivers/scsi/
H A Dscsi_lib_test.c23 .result = SAM_STAT_CHECK_CONDITION,
30 .result = SAM_STAT_CHECK_CONDITION,
37 .result = SAM_STAT_CHECK_CONDITION,
44 .result = SAM_STAT_CHECK_CONDITION,
50 .result = SAM_STAT_CHECK_CONDITION,
57 .result = SAM_STAT_CHECK_CONDITION,
89 sc.result = SAM_STAT_RESERVATION_CONFLICT;
112 .result = SCMD_FAILURE_SENSE_ANY,
135 .result = DID_TRANSPORT_DISRUPTED << 16,
139 .result
[all...]
/linux-master/drivers/staging/wlan-ng/
H A Dcfg80211.c110 int result; local
132 result = prism2_domibset_uint32(wlandev,
136 if (result)
211 int result = 0; local
222 result = prism2_domibset_pstr32(wlandev, did, 13, "0000000000000");
224 if (result)
246 int result; local
262 result = wlandev->mlmerequest(wlandev, (struct p80211msg *)&quality);
264 if (result == 0) {
271 return result;
285 int result; local
400 int result; local
448 int result; local
549 int result; local
583 int result; local
611 int result; local
[all...]
/linux-master/drivers/usb/gadget/
H A Du_os_desc.h83 int result; local
86 result = utf8s_to_utf16s(name, strlen(name), UTF16_LITTLE_ENDIAN,
88 if (result < 0)
89 return result;
106 int result; local
108 result = utf8s_to_utf16s(string, data_len >> 1, UTF16_LITTLE_ENDIAN,
111 if (result < 0)
112 return result;
/linux-master/drivers/misc/altera-stapl/
H A Daltera-comp.c24 u32 result = SHORT_BITS; local
27 result = 1;
32 --result;
36 return result;
42 u32 result = 0; local
48 result |= (((databyte >> (CHAR_BITS - *bits_avail))
52 result &= (0xffff >> (SHORT_BITS - (bits + shift)));
63 return result;
/linux-master/drivers/net/wireless/quantenna/qtnfmac/
H A Dqlink_util.c10 u16 result = 0; local
14 result |= BIT(NL80211_IFTYPE_AP);
17 result |= BIT(NL80211_IFTYPE_STATION);
20 result |= BIT(NL80211_IFTYPE_ADHOC);
23 result |= BIT(NL80211_IFTYPE_MONITOR);
26 result |= BIT(NL80211_IFTYPE_WDS);
29 result |= BIT(NL80211_IFTYPE_AP_VLAN);
33 return result;
38 u8 result = 0; local
41 result |
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_ring.c35 int result; local
37 result = intel_ring_direction(ring, next, prev);
38 if (result < 0)
39 result = -1;
40 else if (result > 0)
41 result = 1;
43 if (result != expected) {
45 next, prev, result, expected);

Completed in 1125 milliseconds

1234567891011>>