Home
last modified time | relevance | path

Searched refs:res (Results 126 – 150 of 4251) sorted by relevance

12345678910>>...171

/openbmc/linux/drivers/acpi/apei/
H A Dapei-base.c302 if (res->start > end || res->end < start) in apei_res_add()
310 res->end = end = max(res->end, end); in apei_res_add()
348 res = kmalloc(sizeof(*res), GFP_KERNEL); in apei_res_sub()
395 res->end - res->start); in apei_resources_merge()
401 res->end - res->start); in apei_resources_merge()
498 r = request_mem_region(res->start, res->end - res->start, in apei_resources_request()
511 r = request_region(res->start, res->end - res->start, desc); in apei_resources_request()
534 release_region(res->start, res->end - res->start); in apei_resources_request()
541 release_mem_region(res->start, res->end - res->start); in apei_resources_request()
558 release_mem_region(res->start, res->end - res->start); in apei_resources_release()
[all …]
/openbmc/linux/drivers/thunderbolt/
H A Dctl.c238 if (res.err) in decode_error()
239 return res; in decode_error()
244 return res; in decode_error()
260 return res; in parse_header()
278 res->response_route, res->response_port); in tb_cfg_print_error()
287 res->response_route, res->response_port); in tb_cfg_print_error()
291 res->response_route, res->response_port); in tb_cfg_print_error()
295 res->response_route, res->response_port); in tb_cfg_print_error()
300 res->response_route, res->response_port); in tb_cfg_print_error()
354 int res; in tb_ctl_tx() local
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Dsystems.hpp904 asyncResp->res in getBootOverrideType()
955 asyncResp->res in getBootOverrideMode()
1200 asyncResp->res in getAutomaticRebootAttempts()
1260 asyncResp->res in getAutomaticRetryPolicy()
2769 asyncResp->res.addHeader( in handleComputerSystemCollectionHead()
2783 asyncResp->res.addHeader( in handleComputerSystemCollectionGet()
2958 asyncResp->res.addHeader( in handleComputerSystemHead()
3032 asyncResp->res.addHeader( in handleComputerSystemGet()
3061 asyncResp->res in handleComputerSystemGet()
3157 asyncResp->res.addHeader( in handleComputerSystemPatch()
[all …]
H A Dlog_services.hpp758 messages::internalError(res); in checkSizeLimit()
768 messages::internalError(res); in checkSizeLimit()
775 messages::internalError(res); in checkSizeLimit()
828 asyncResp->res.addHeader( in downloadEntryCallback()
832 if (!asyncResp->res.openFd(fd)) in downloadEntryCallback()
1669 asyncResp->res in requestRoutesJournalEventLogEntryCollection()
2158 asyncResp->res.result( in requestRoutesDBusEventLogEntry()
2746 asyncResp->res in requestRoutesBMCJournalLogEntryCollection()
2911 asyncResp->res in getDumpServiceInfo()
3719 asyncResp->res.addHeader( in requestRoutesCrashdumpFile()
[all …]
H A Dstorage.hpp59 asyncResp->res.jsonValue["@odata.type"] = in handleSystemsStorageCollectionGet()
82 asyncResp->res.jsonValue["@odata.type"] = in handleStorageCollectionGet()
113 messages::internalError(asyncResp->res); in afterChassisDriveCollectionSubtree()
176 asyncResp->res.jsonValue["@odata.id"] = in afterSystemsStorageGetSubtree()
180 asyncResp->res.jsonValue["Id"] = storageId; in afterSystemsStorageGetSubtree()
241 asyncResp->res.jsonValue["@odata.id"] = in afterSubtree()
244 asyncResp->res.jsonValue["Id"] = storageId; in afterSubtree()
661 asyncResp->res.jsonValue["@odata.id"] = in afterGetSubtreeSystemsStorageDrive()
665 asyncResp->res.jsonValue["Id"] = driveId; in afterGetSubtreeSystemsStorageDrive()
1029 asyncResp->res.jsonValue["@odata.id"] = in populateStorageController()
[all …]
/openbmc/linux/Documentation/usb/
H A Dusbdevfs-drop-permissions.c21 int res; in drop_privileges() local
23 res = ioctl(fd, USBDEVFS_DROP_PRIVILEGES, &mask); in drop_privileges()
24 if (res) in drop_privileges()
32 int res; in reset_device() local
34 res = ioctl(fd, USBDEVFS_RESET); in reset_device()
35 if (!res) in reset_device()
39 -res, strerror(-res)); in reset_device()
44 int i, res; in claim_some_intf() local
47 res = ioctl(fd, USBDEVFS_CLAIMINTERFACE, &i); in claim_some_intf()
48 if (!res) in claim_some_intf()
[all …]
/openbmc/linux/drivers/hwmon/
H A Daht10.c106 int res; in aht10_init() local
111 if (res < 0) in aht10_init()
112 return res; in aht10_init()
118 if (res != 1) in aht10_init()
167 int res; in aht10_read_values() local
180 return res; in aht10_read_values()
190 return res; in aht10_read_values()
245 int res; in aht10_temperature1_read() local
248 if (res < 0) in aht10_temperature1_read()
260 int res; in aht10_humidity1_read() local
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dbuildoptions.py66 res = bitbake("delay -c delay", ignore_status = True)
68 …self.assertEqual(res.status, 1, msg = "bitbake reported exit code %s. It should have been 1. Bitba…
70 res = bitbake("delay -c delay", ignore_status = True)
72 …self.assertEqual(res.status, 1, msg = "bitbake reported exit code %s. It should have been 1. Bitba…
74 res = bitbake("delay -c delay")
78 def getline(self, res, line): argument
79 for l in res.output.split('\n'):
95 …self.assertEqual(res.status, 1, msg = "bitbake reported exit code %s. It should have been 1. Bitba…
191 …self.assertEqual(res.status, 0, "\nCouldn't build xcursortransparenttheme.\nbitbake output %s" % r…
237 res = bitbake("poison", ignore_status=True)
[all …]
/openbmc/linux/drivers/platform/mellanox/
H A Dmlxbf-bootctl.c144 return res.a0; in mlxbf_bootctl_smc()
463 if (res.a0) in large_icm_show()
524 if (res.a0) in oob_mac_show()
576 if (res.a0) { in opn_show()
605 if (res.a0) { in opn_store()
627 if (res.a0) { in sku_show()
656 if (res.a0) { in sku_store()
982 guid_t id = GUID_INIT(res->a0, res->a1, res->a1 >> 16, in mlxbf_bootctl_guid_match()
983 res->a2, res->a2 >> 8, res->a2 >> 16, in mlxbf_bootctl_guid_match()
984 res->a2 >> 24, res->a3, res->a3 >> 8, in mlxbf_bootctl_guid_match()
[all …]
/openbmc/linux/arch/mips/ar7/
H A Dplatform.c554 int res; in ar7_register_uarts() local
574 if (res) in ar7_register_uarts()
585 if (res) in ar7_register_uarts()
642 int res; in ar7_register_devices() local
645 if (res) in ar7_register_devices()
649 if (res) in ar7_register_devices()
653 if (res) in ar7_register_devices()
661 if (res) in ar7_register_devices()
667 if (res) in ar7_register_devices()
697 if (res) in ar7_register_devices()
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_surface.c369 if (res->id != -1) { in vmw_hw_surface_destroy()
615 struct vmw_resource *res = &srf->res; in vmw_surface_init() local
623 res_free(res); in vmw_surface_init()
687 struct vmw_resource *res = &user_srf->srf.res; in vmw_user_surface_base_release() local
766 res = &srf->res; in vmw_surface_define_ioctl()
1205 if (res->guest_memory_bo->dirty && res->guest_memory_dirty) { in vmw_gb_surface_bind()
1502 res = &user_srf->srf.res; in vmw_gb_surface_define_internal()
1508 if (res->guest_memory_bo->tbo.base.size < res->guest_memory_size) { in vmw_gb_surface_define_internal()
1541 ret = res->func->dirty_alloc(res); in vmw_gb_surface_define_internal()
1816 start >= res->guest_memory_offset + res->guest_memory_size)) in vmw_surface_dirty_range_add()
[all …]
/openbmc/linux/arch/x86/platform/olpc/
H A Dolpc_dt.c25 void *res[] = { &node }; in olpc_dt_getsibling() local
39 void *res[] = { &node }; in olpc_dt_getchild() local
56 void *res[] = { &len }; in olpc_dt_getproplen() local
79 void *res[] = { &plen }; in olpc_dt_getproperty() local
111 void *res[] = { len }; in olpc_dt_pkg2path() local
128 void *res; in prom_early_alloc() local
140 if (!res) in prom_early_alloc()
143 BUG_ON(!res); in prom_early_alloc()
147 mem = res; in prom_early_alloc()
152 res = mem; in prom_early_alloc()
[all …]
/openbmc/u-boot/drivers/core/
H A Ddevres.c80 if (res) { in devres_free()
118 void *res; in devres_get() local
121 if (!res) { in devres_get()
123 res = new_res; in devres_get()
128 return res; in devres_get()
134 void *res; in devres_remove() local
137 if (res) { in devres_remove()
144 return res; in devres_remove()
150 void *res; in devres_destroy() local
156 devres_free(res); in devres_destroy()
[all …]
/openbmc/linux/tools/perf/util/
H A Dfncache.c11 bool res; member
27 static bool lookup_fncache(const char *name, bool *res) in lookup_fncache() argument
34 *res = n->res; in lookup_fncache()
41 static void update_fncache(const char *name, bool res) in update_fncache() argument
49 n->res = res; in update_fncache()
56 bool res; in file_available() local
58 if (lookup_fncache(name, &res)) in file_available()
59 return res; in file_available()
60 res = access(name, R_OK) == 0; in file_available()
61 update_fncache(name, res); in file_available()
[all …]
/openbmc/u-boot/scripts/
H A Dsetlocalversion120 local file res
129 res="$res$(cat "$file")"
132 echo "$res"
137 res=$(scm_version)
138 echo "$res" >.scmversion
155 res="$(collect_files localversion*)"
157 res="$res$(collect_files "$srctree"/localversion*)"
161 res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}"
166 res="$res$(scm_version)"
174 res="$res${scm:++}"
[all …]
/openbmc/linux/tools/bpf/bpftool/
H A Dstruct_ops.c24 struct res { struct
190 struct res res = {}; in do_search() local
197 return res; in do_search()
215 if (!wtr && name && !res.nr_errs && !res.nr_maps) in do_search()
232 return res; in do_search()
239 struct res res = {}; in do_one_id() local
249 return res; in do_one_id()
295 return res; in do_one_id()
334 struct res res; in do_show() local
405 struct res res; in do_dump() local
[all …]
/openbmc/linux/drivers/mfd/
H A Dintel_pmc_bxt.c281 struct resource *res; in intel_pmc_get_tco_resources() local
288 if (!res) { in intel_pmc_get_tco_resources()
309 struct resource *res; in intel_pmc_get_resources() local
316 if (!res) { in intel_pmc_get_resources()
343 if (!res) { in intel_pmc_get_resources()
352 if (!res) { in intel_pmc_get_resources()
361 if (res) in intel_pmc_get_resources()
367 if (res) in intel_pmc_get_resources()
373 if (res) in intel_pmc_get_resources()
379 if (res) in intel_pmc_get_resources()
[all …]
H A Dntxec.c39 int res; in ntxec_poweroff() local
53 if (res < 0) in ntxec_poweroff()
68 int res; in ntxec_restart() local
87 if (res < 0) in ntxec_restart()
152 int res; in ntxec_probe() local
172 return res; in ntxec_probe()
209 if (res < 0) in ntxec_probe()
210 return res; in ntxec_probe()
228 if (res) in ntxec_probe()
237 if (res) in ntxec_probe()
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dmrelease_test.c57 int res; in run_negative_tests() local
63 exit(res); in run_negative_tests()
72 exit(res); in run_negative_tests()
78 int res; in child_main() local
84 return res; in child_main()
94 int res; in main() local
100 exit(res); in main()
125 exit(res); in main()
136 if (res < 0) { in main()
157 exit(res); in main()
[all …]
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvhost-user-gpu.c371 if (res) { in vg_resource_create_2d()
420 if (res) { in vg_disable_scanout()
469 if (!res) { in vg_resource_unref()
535 if (!res) { in vg_resource_attach_backing()
567 vg_cleanup_mapping_iov(g, res->iov, res->iov_cnt); in vg_cleanup_mapping()
583 if (!res || !res->iov) { in vg_resource_detach_backing()
608 if (!res || !res->iov) { in vg_transfer_to_host_2d()
640 iov_to_buf(res->iov, res->iov_cnt, src_offset, in vg_transfer_to_host_2d()
645 iov_to_buf(res->iov, res->iov_cnt, 0, in vg_transfer_to_host_2d()
678 if (!res) { in vg_set_scanout()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Dbw_fixed.c50 struct bw_fixed res; in bw_int_to_fixed_nonconst() local
54 return res; in bw_int_to_fixed_nonconst()
59 struct bw_fixed res; in bw_frc_to_fixed() local
105 res.value = -res.value; in bw_frc_to_fixed()
106 return res; in bw_frc_to_fixed()
142 struct bw_fixed res; in bw_mul() local
168 res.value += tmp; in bw_mul()
174 res.value += tmp; in bw_mul()
183 res.value += tmp; in bw_mul()
186 res.value = -res.value; in bw_mul()
[all …]
/openbmc/linux/include/linux/
H A Dpnp.h39 if (res) in pnp_resource_valid()
46 if (res && !(res->flags & IORESOURCE_DISABLED)) in pnp_resource_enabled()
53 if (res->start == 0 && res->end == 0) in pnp_resource_len()
65 return res->start; in pnp_port_start()
75 return res->end; in pnp_port_end()
85 return res->flags; in pnp_port_flags()
111 return res->start; in pnp_mem_start()
121 return res->end; in pnp_mem_end()
130 return res->flags; in pnp_mem_flags()
155 return res->start; in pnp_irq()
[all …]
/openbmc/qemu/replay/
H A Dreplay.c43 bool res = false; in replay_next_event_is() local
66 return res; in replay_next_event_is()
76 int res = 0; in replay_get_instructions() local
88 return res; in replay_get_instructions()
112 if (res) { in replay_exception()
115 return res; in replay_exception()
130 return res; in replay_has_exception()
143 if (res) { in replay_interrupt()
160 return res; in replay_has_interrupt()
223 res = res || (EVENT_ASYNC <= replay_state.data_kind in replay_has_event()
[all …]
/openbmc/linux/drivers/pcmcia/
H A Drsrc_nonstatic.c81 if (res) { in claim_region()
91 return res; in claim_region()
96 if (res) { in free_region()
98 kfree(res); in free_region()
202 if (!res) in do_io_probe()
273 s->cis_mem.res = res; in readable()
306 map.res = res; in checksum()
693 if (!res) in __nonstatic_find_io_region()
738 struct resource *res = s->io[i].res; in nonstatic_find_io() local
741 if (res && (res->flags & IORESOURCE_BITS) != in nonstatic_find_io()
[all …]
/openbmc/linux/drivers/watchdog/
H A Darm_smc_wdt.c39 if (!res) in smcwd_call()
40 res = &local_res; in smcwd_call()
43 0, 0, 0, 0, res); in smcwd_call()
61 struct arm_smccc_res res; in smcwd_get_timeleft() local
64 if (res.a0) in smcwd_get_timeleft()
66 return res.a1; in smcwd_get_timeleft()
71 int res; in smcwd_set_timeout() local
74 if (!res) in smcwd_set_timeout()
76 return res; in smcwd_set_timeout()
115 struct arm_smccc_res res; in smcwd_probe() local
[all …]

12345678910>>...171