/kernel/linux/linux-6.6/fs/ocfs2/dlm/ |
H A D | dlmrecovery.c | 50 static inline int dlm_num_locks_in_lockres(struct dlm_lock_resource *res); 58 struct dlm_lock_resource *res, 61 struct dlm_lock_resource *res, 78 struct dlm_lock_resource *res, 231 struct dlm_lock_resource *res; in dlm_print_reco_node_status() local 269 list_for_each_entry(res, &dlm->reco.resources, recovering) { in dlm_print_reco_node_status() 271 dlm->name, res->lockname.len, res->lockname.name); in dlm_print_reco_node_status() 866 struct dlm_lock_resource *res; in dlm_request_all_locks_worker() local 912 list_for_each_entry(res, in dlm_request_all_locks_worker() 1038 struct dlm_lock_resource *res, *next; dlm_move_reco_locks_to_list() local 1080 dlm_num_locks_in_lockres(struct dlm_lock_resource *res) dlm_num_locks_in_lockres() argument 1095 dlm_send_mig_lockres_msg(struct dlm_ctxt *dlm, struct dlm_migratable_lockres *mres, u8 send_to, struct dlm_lock_resource *res, int total_locks) dlm_send_mig_lockres_msg() argument 1260 dlm_send_one_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_migratable_lockres *mres, u8 send_to, u8 flags) dlm_send_one_lockres() argument 1356 struct dlm_lock_resource *res = NULL; dlm_mig_lockres_handler() local 1538 struct dlm_lock_resource *res; dlm_mig_lockres_worker() local 1601 dlm_lockres_master_requery(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, u8 *real_master) dlm_lockres_master_requery() argument 1659 dlm_do_master_requery(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, u8 nodenum, u8 *real_master) dlm_do_master_requery() argument 1702 struct dlm_lock_resource *res = NULL; dlm_master_requery_handler() local 1751 dlm_list_num_to_pointer(struct dlm_lock_resource *res, int list_num) dlm_list_num_to_pointer() argument 1787 dlm_process_recovery_data(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_migratable_lockres *mres) dlm_process_recovery_data() argument 2044 dlm_move_lockres_to_recovery_list(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) dlm_move_lockres_to_recovery_list() argument 2133 struct dlm_lock_resource *res, *next; dlm_finish_local_lockres_recovery() local 2209 dlm_revalidate_lvb(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, u8 dead_node) dlm_revalidate_lvb() argument 2252 dlm_free_dead_locks(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, u8 dead_node) dlm_free_dead_locks() argument 2322 struct dlm_lock_resource *res; dlm_do_local_recovery_cleanup() local 2649 struct dlm_lock_resource *res; dlm_pick_recovery_master() local 2730 struct dlm_lock_resource *res; dlm_send_begin_reco_message() local [all...] |
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_resource.cpp | 58 init_valid_range(struct d3d12_resource *res) in init_valid_range() argument 60 if (can_map_directly(&res->base.b)) in init_valid_range() 61 util_range_init(&res->valid_buffer_range); in init_valid_range() 79 struct d3d12_resource *res, in resource_is_busy() 82 if (d3d12_batch_has_references(d3d12_current_batch(ctx), res->bo, want_to_write)) in resource_is_busy() 88 busy |= d3d12_batch_has_references(batch, res->bo, want_to_write); in resource_is_busy() 95 struct d3d12_resource *res, in d3d12_resource_wait_idle() 98 if (d3d12_batch_has_references(d3d12_current_batch(ctx), res->bo, want_to_write)) { in d3d12_resource_wait_idle() 102 if (d3d12_batch_has_references(batch, res->bo, want_to_write)) in d3d12_resource_wait_idle() 119 struct d3d12_resource *res, in init_buffer() 78 resource_is_busy(struct d3d12_context *ctx, struct d3d12_resource *res, bool want_to_write) resource_is_busy() argument 94 d3d12_resource_wait_idle(struct d3d12_context *ctx, struct d3d12_resource *res, bool want_to_write) d3d12_resource_wait_idle() argument 118 init_buffer(struct d3d12_screen *screen, struct d3d12_resource *res, const struct pipe_resource *templ) init_buffer() argument 168 init_texture(struct d3d12_screen *screen, struct d3d12_resource *res, const struct pipe_resource *templ, ID3D12Heap *heap, uint64_t placed_offset) init_texture() argument 302 convert_planar_resource(struct d3d12_resource *res) convert_planar_resource() argument 346 d3d12_resource_create_or_place(struct d3d12_screen *screen, struct d3d12_resource *res, const struct pipe_resource *templ, ID3D12Heap *heap, uint64_t placed_offset) d3d12_resource_create_or_place() argument 398 struct d3d12_resource *res = CALLOC_STRUCT(d3d12_resource); d3d12_resource_create() local 416 struct d3d12_resource *res = CALLOC_STRUCT(d3d12_resource); d3d12_resource_from_handle() local 649 struct d3d12_resource *res = d3d12_resource(pres); d3d12_resource_get_handle() local 725 d3d12_adjust_transfer_dimensions_for_plane(const struct d3d12_resource *res, unsigned plane_slice, unsigned plane_stride, unsigned plane_layer_stride, unsigned plane_offset, const struct pipe_box* original_box, struct pipe_transfer *ptrans ) d3d12_adjust_transfer_dimensions_for_plane() argument 766 struct d3d12_resource* res = d3d12_resource(pres); d3d12_resource_get_planes_info() local 801 struct d3d12_resource* res = d3d12_resource(pres); d3d12_resource_get_info() local 936 get_subresource_id(struct d3d12_resource *res, unsigned resid, unsigned z, unsigned base_level) get_subresource_id() argument 957 fill_texture_location(struct d3d12_resource *res, struct d3d12_transfer *trans, unsigned resid, unsigned z) fill_texture_location() argument 970 fill_buffer_location(struct d3d12_context *ctx, struct d3d12_resource *res, struct d3d12_resource *staging_res, struct d3d12_transfer *trans, unsigned depth, unsigned resid, unsigned z) fill_buffer_location() argument 1038 transfer_buf_to_image_part(struct d3d12_context *ctx, struct d3d12_resource *res, struct d3d12_resource *staging_res, struct d3d12_transfer *trans, int z, int depth, int start_z, int dest_z, int resid) transfer_buf_to_image_part() argument 1076 transfer_buf_to_image(struct d3d12_context *ctx, struct d3d12_resource *res, struct d3d12_resource *staging_res, struct d3d12_transfer *trans, int resid) transfer_buf_to_image() argument 1099 transfer_image_part_to_buf(struct d3d12_context *ctx, struct d3d12_resource *res, struct d3d12_resource *staging_res, struct d3d12_transfer *trans, unsigned resid, int z, int start_layer, int start_box_z, int depth) transfer_image_part_to_buf() argument 1140 transfer_image_to_buf(struct d3d12_context *ctx, struct d3d12_resource *res, struct d3d12_resource *staging_res, struct d3d12_transfer *trans, unsigned resid) transfer_image_to_buf() argument 1253 synchronize(struct d3d12_context *ctx, struct d3d12_resource *res, unsigned usage, D3D12_RANGE *range) synchronize() argument 1325 struct d3d12_resource *res; global() member 1335 prepare_zs_layer_strides(struct d3d12_screen *screen, struct d3d12_resource *res, const struct pipe_box *box, struct d3d12_transfer *trans) prepare_zs_layer_strides() argument 1363 read_zs_surface(struct d3d12_context *ctx, struct d3d12_resource *res, const struct pipe_box *box, struct d3d12_transfer *trans) read_zs_surface() argument 1455 prepare_write_zs_surface(struct d3d12_resource *res, const struct pipe_box *box, struct d3d12_transfer *trans) prepare_write_zs_surface() argument 1470 write_zs_surface(struct pipe_context *pctx, struct d3d12_resource *res, struct d3d12_transfer *trans) write_zs_surface() argument 1542 transfer_buf_to_image(d3d12_context(pctx), res, depth_buffer, trans, 0); write_zs_surface() local 1543 transfer_buf_to_image(d3d12_context(pctx), res, stencil_buffer, trans, 1); write_zs_surface() local 1557 struct d3d12_resource *res = d3d12_resource(pres); d3d12_transfer_map() local 1749 struct d3d12_resource *res = d3d12_resource(ptrans->resource); d3d12_transfer_unmap() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
H A D | sas_expander.c | 57 int res, retry; in smp_execute_task_sg() local 65 res = -ECOMM; in smp_execute_task_sg() 71 res = -ENOMEM; in smp_execute_task_sg() 85 res = i->dft->lldd_execute_task(task, GFP_KERNEL); in smp_execute_task_sg() 87 if (res) { in smp_execute_task_sg() 89 pr_notice("executing SMP task failed:%d\n", res); in smp_execute_task_sg() 94 res = -ECOMM; in smp_execute_task_sg() 105 res = 0; in smp_execute_task_sg() 112 res = task->task_status.residual; in smp_execute_task_sg() 117 res in smp_execute_task_sg() 373 int res; sas_ex_phy_discover_helper() local 393 int res = 0; sas_ex_phy_discover() local 430 int res; sas_expander_discover() local 470 int res; sas_ex_general() local 542 int res; sas_ex_manuf_info() local 583 int res; sas_smp_phy_control() local 661 int res; sas_smp_get_phy_events() local 706 int res; sas_get_report_phy_sata() local 785 int res; sas_ex_discover_end_dev() local 946 int res; sas_ex_discover_expander() local 1021 int res = 0; sas_ex_discover_dev() local 1178 int res = 0; sas_ex_discover_devices() local 1274 int res = 0; sas_check_eeds() local 1319 int res = 0; sas_check_parent_topology() local 1389 int i, res = 0; sas_configure_present() local 1462 int res; sas_configure_set() local 1503 int res; sas_configure_phy() local 1526 int res = 0; sas_configure_parent() local 1584 int res; sas_discover_expander() local 1616 int res = 0; sas_ex_level_discovery() local 1637 int res; sas_ex_bfs_disc() local 1651 int res; sas_discover_root_expander() local 1678 int res; sas_get_phy_discover() local 1704 int res; sas_get_phy_change_count() local 1722 int res; sas_get_phy_attached_dev() local 1747 int res = 0; sas_find_bcast_phy() local 1777 int res; sas_get_ex_change_count() local 1829 int res; sas_find_bcast_dev() local 1915 int res = 0; sas_discover_bfs_by_root_level() local 1934 int res; sas_discover_bfs_by_root() local 1954 int res; sas_discover_new() local 2002 int res; sas_rediscover_dev() local 2079 int res = 0; sas_rediscover() local 2115 int res; sas_ex_revalidate_domain() local [all...] |
/third_party/rust/crates/clap/tests/builder/ |
H A D | version.rs | 27 let res = common().try_get_matches_from("foo -V".split(' ')); in version_short_flag_no_version() 29 assert!(res.is_err()); in version_short_flag_no_version() 30 let err = res.unwrap_err(); in version_short_flag_no_version() 36 let res = common().try_get_matches_from("foo --version".split(' ')); in version_long_flag_no_version() 38 assert!(res.is_err()); in version_long_flag_no_version() 39 let err = res.unwrap_err(); in version_long_flag_no_version() 45 let res = with_version().try_get_matches_from("foo -V".split(' ')); in version_short_flag_with_version() 47 assert!(res.is_err()); in version_short_flag_with_version() 48 let err = res.unwrap_err(); in version_short_flag_with_version() 55 let res in version_long_flag_with_version() [all...] |
/third_party/mesa3d/src/gallium/winsys/virgl/drm/ |
H A D | virgl_drm_winsys.c | 75 struct virgl_hw_res *res) in virgl_hw_res_destroy() 85 if (pipe_is_referenced(&res->reference)) { in virgl_hw_res_destroy() 91 (void *)(uintptr_t)res->bo_handle); in virgl_hw_res_destroy() 92 if (res->flink_name) in virgl_hw_res_destroy() 94 (void *)(uintptr_t)res->flink_name); in virgl_hw_res_destroy() 96 if (res->ptr) in virgl_hw_res_destroy() 97 os_munmap(res->ptr, res->size); in virgl_hw_res_destroy() 100 args.handle = res->bo_handle; in virgl_hw_res_destroy() 102 FREE(res); in virgl_hw_res_destroy() 74 virgl_hw_res_destroy(struct virgl_drm_winsys *qdws, struct virgl_hw_res *res) virgl_hw_res_destroy() argument 105 virgl_drm_resource_is_busy(struct virgl_winsys *vws, struct virgl_hw_res *res) virgl_drm_resource_is_busy() argument 183 struct virgl_hw_res *res; virgl_drm_winsys_resource_create_blob() local 264 struct virgl_hw_res *res; virgl_drm_winsys_resource_create() local 335 use_explicit_stride(struct virgl_hw_res *res, uint32_t level, uint32_t depth) use_explicit_stride() argument 345 virgl_bo_transfer_put(struct virgl_winsys *vws, struct virgl_hw_res *res, const struct pipe_box *box, uint32_t stride, uint32_t layer_stride, uint32_t buf_offset, uint32_t level) virgl_bo_transfer_put() argument 374 virgl_bo_transfer_get(struct virgl_winsys *vws, struct virgl_hw_res *res, const struct pipe_box *box, uint32_t stride, uint32_t layer_stride, uint32_t buf_offset, uint32_t level) virgl_bo_transfer_get() argument 418 struct virgl_hw_res *res; virgl_drm_winsys_resource_cache_create() local 474 struct virgl_hw_res *res = NULL; virgl_drm_winsys_resource_create_handle() local 572 virgl_drm_winsys_resource_set_type(struct virgl_winsys *qws, struct virgl_hw_res *res, uint32_t format, uint32_t bind, uint32_t width, uint32_t height, uint32_t usage, uint64_t modifier, uint32_t plane_count, const uint32_t *plane_strides, const uint32_t *plane_offsets) virgl_drm_winsys_resource_set_type() argument 623 virgl_drm_winsys_resource_get_handle(struct virgl_winsys *qws, struct virgl_hw_res *res, uint32_t stride, struct winsys_handle *whandle) virgl_drm_winsys_resource_get_handle() argument 665 virgl_drm_resource_map(struct virgl_winsys *qws, struct virgl_hw_res *res) virgl_drm_resource_map() argument 690 virgl_drm_resource_wait(struct virgl_winsys *qws, struct virgl_hw_res *res) virgl_drm_resource_wait() argument 741 virgl_drm_lookup_res(struct virgl_drm_cmd_buf *cbuf, struct virgl_hw_res *res) virgl_drm_lookup_res() argument 762 virgl_drm_add_res(struct virgl_drm_winsys *qdws, struct virgl_drm_cmd_buf *cbuf, struct virgl_hw_res *res) virgl_drm_add_res() argument 818 virgl_drm_emit_res(struct virgl_winsys *qws, struct virgl_cmd_buf *_cbuf, struct virgl_hw_res *res, boolean write_buf) virgl_drm_emit_res() argument 833 virgl_drm_res_is_ref(struct virgl_winsys *qws, struct virgl_cmd_buf *_cbuf, struct virgl_hw_res *res) virgl_drm_res_is_ref() argument 1143 struct virgl_hw_res *res = cache_entry_container_res(entry); virgl_drm_resource_cache_entry_is_busy() local 1153 struct virgl_hw_res *res = cache_entry_container_res(entry); virgl_drm_resource_cache_entry_release() local [all...] |
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | extents.c | 91 int res; in __hfsplus_ext_write_extent() local 99 res = hfs_brec_find(fd, hfs_find_rec_by_key); in __hfsplus_ext_write_extent() 101 if (res != -ENOENT) in __hfsplus_ext_write_extent() 102 return res; in __hfsplus_ext_write_extent() 104 res = hfs_bmap_reserve(fd->tree, fd->tree->depth + 1); in __hfsplus_ext_write_extent() 105 if (res) in __hfsplus_ext_write_extent() 106 return res; in __hfsplus_ext_write_extent() 111 if (res) in __hfsplus_ext_write_extent() 112 return res; in __hfsplus_ext_write_extent() 131 int res in hfsplus_ext_write_extent_locked() local 147 int res; hfsplus_ext_write_extent() local 160 int res; __hfsplus_ext_read_extent() local 181 int res; __hfsplus_ext_cache_extent() local 210 int res; hfsplus_ext_read_extent() local 231 int res = -EIO; hfsplus_get_block() local 402 int res, i; hfsplus_free_fork() local 446 int res; hfsplus_file_extend() local 549 int res; hfsplus_file_truncate() local [all...] |
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | extents.c | 91 int res; in __hfsplus_ext_write_extent() local 99 res = hfs_brec_find(fd, hfs_find_rec_by_key); in __hfsplus_ext_write_extent() 101 if (res != -ENOENT) in __hfsplus_ext_write_extent() 102 return res; in __hfsplus_ext_write_extent() 104 res = hfs_bmap_reserve(fd->tree, fd->tree->depth + 1); in __hfsplus_ext_write_extent() 105 if (res) in __hfsplus_ext_write_extent() 106 return res; in __hfsplus_ext_write_extent() 111 if (res) in __hfsplus_ext_write_extent() 112 return res; in __hfsplus_ext_write_extent() 131 int res in hfsplus_ext_write_extent_locked() local 147 int res; hfsplus_ext_write_extent() local 160 int res; __hfsplus_ext_read_extent() local 181 int res; __hfsplus_ext_cache_extent() local 210 int res; hfsplus_ext_read_extent() local 231 int res = -EIO; hfsplus_get_block() local 402 int res, i; hfsplus_free_fork() local 446 int res; hfsplus_file_extend() local 549 int res; hfsplus_file_truncate() local [all...] |
/third_party/mesa3d/src/gallium/drivers/virgl/ |
H A D | virgl_resource.c | 67 struct virgl_resource *res) in virgl_can_readback_from_rendertarget() 69 return res->b.nr_samples < 2 && in virgl_can_readback_from_rendertarget() 70 vs->base.is_format_supported(&vs->base, res->b.format, res->b.target, in virgl_can_readback_from_rendertarget() 71 res->b.nr_samples, res->b.nr_samples, in virgl_can_readback_from_rendertarget() 76 struct virgl_resource *res, in virgl_can_readback_from_scanout() 81 virgl_has_scanout_format(vs, res->b.format, true); in virgl_can_readback_from_scanout() 85 struct virgl_resource *res) in virgl_can_use_staging() 88 (res in virgl_can_use_staging() 66 virgl_can_readback_from_rendertarget(struct virgl_screen *vs, struct virgl_resource *res) virgl_can_readback_from_rendertarget() argument 75 virgl_can_readback_from_scanout(struct virgl_screen *vs, struct virgl_resource *res, int bind) virgl_can_readback_from_scanout() argument 84 virgl_can_use_staging(struct virgl_screen *vs, struct virgl_resource *res) virgl_can_use_staging() argument 91 is_stencil_array(struct virgl_resource *res) is_stencil_array() argument 97 virgl_can_copy_transfer_from_host(struct virgl_screen *vs, struct virgl_resource *res, int bind) virgl_can_copy_transfer_from_host() argument 119 struct virgl_resource *res = virgl_resource(trans->base.resource); virgl_res_needs_flush() local 140 virgl_res_needs_readback(struct virgl_context *vctx, struct virgl_resource *res, unsigned usage, unsigned level) virgl_res_needs_readback() argument 160 struct virgl_resource *res = virgl_resource(xfer->base.resource); virgl_resource_transfer_prepare() local 436 virgl_resource_realloc(struct virgl_context *vctx, struct virgl_resource *res) virgl_resource_realloc() argument 640 struct virgl_resource *res = CALLOC_STRUCT(virgl_resource); virgl_resource_create_front() local 715 struct virgl_resource *res = CALLOC_STRUCT(virgl_resource); virgl_resource_from_handle() local 912 struct virgl_resource *res = virgl_resource(resource); virgl_resource_destroy() local 928 struct virgl_resource *res = virgl_resource(resource); virgl_resource_get_handle() local 938 virgl_resource_dirty(struct virgl_resource *res, uint32_t level) virgl_resource_dirty() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_so.c | 47 * @res: The struct vmw_resource we derive from 64 struct vmw_resource res; member 77 static int vmw_view_create(struct vmw_resource *res); 78 static int vmw_view_destroy(struct vmw_resource *res); 79 static void vmw_hw_view_destroy(struct vmw_resource *res); 80 static void vmw_view_commit_notify(struct vmw_resource *res, 111 * @res: Pointer to the resource to convert. 115 static struct vmw_view *vmw_view(struct vmw_resource *res) in vmw_view() argument 117 return container_of(res, struct vmw_view, res); in vmw_view() 128 vmw_view_commit_notify(struct vmw_resource *res, enum vmw_cmdbuf_res_state state) vmw_view_commit_notify() argument 160 vmw_view_create(struct vmw_resource *res) vmw_view_create() argument 204 vmw_view_destroy(struct vmw_resource *res) vmw_view_destroy() argument 241 vmw_hw_view_destroy(struct vmw_resource *res) vmw_hw_view_destroy() argument 286 vmw_view_res_free(struct vmw_resource *res) vmw_view_res_free() argument 327 struct vmw_resource *res; vmw_view_add() local 462 vmw_view_srf(struct vmw_resource *res) vmw_view_srf() argument 496 vmw_view_dirtying(struct vmw_resource *res) vmw_view_dirtying() argument [all...] |
/third_party/libfuse/lib/ |
H A D | mount_util.c | 45 int res; in mtab_needs_update() local 60 res = lstat(_PATH_MOUNTED, &stbuf); in mtab_needs_update() 61 if (res == -1) { in mtab_needs_update() 75 res = access(_PATH_MOUNTED, W_OK); in mtab_needs_update() 76 err = (res == -1) ? errno : 0; in mtab_needs_update() 91 int res; in add_mount() local 98 res = sigprocmask(SIG_BLOCK, &blockmask, &oldmask); in add_mount() 99 if (res == -1) { in add_mount() 104 res = fork(); in add_mount() 105 if (res in add_mount() 150 int res; exec_umount() local 207 int res; fuse_mnt_umount() local 222 int res; remove_mount() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/libsas/ |
H A D | sas_expander.c | 37 int res, retry; in smp_execute_task_sg() local 47 res = -ECOMM; in smp_execute_task_sg() 53 res = -ENOMEM; in smp_execute_task_sg() 67 res = i->dft->lldd_execute_task(task, GFP_KERNEL); in smp_execute_task_sg() 69 if (res) { in smp_execute_task_sg() 71 pr_notice("executing SMP task failed:%d\n", res); in smp_execute_task_sg() 76 res = -ECOMM; in smp_execute_task_sg() 87 res = 0; in smp_execute_task_sg() 94 res = task->task_status.residual; in smp_execute_task_sg() 99 res in smp_execute_task_sg() 357 int res; sas_ex_phy_discover_helper() local 376 int res = 0; sas_ex_phy_discover() local 413 int res; sas_expander_discover() local 440 int res; sas_ex_general() local 520 int res; sas_ex_manuf_info() local 561 int res; sas_smp_phy_control() local 639 int res; sas_smp_get_phy_events() local 684 int res; sas_get_report_phy_sata() local 758 int res; sas_ex_add_dev() local 794 int res; sas_ex_discover_end_dev() local 879 int res; sas_ex_discover_expander() local 954 int res = 0; sas_ex_discover_dev() local 1109 int res = 0; sas_ex_discover_devices() local 1216 int res = 0; sas_check_eeds() local 1295 int res = 0; sas_check_parent_topology() local 1338 int i, res = 0; sas_configure_present() local 1411 int res; sas_configure_set() local 1452 int res; sas_configure_phy() local 1476 int res = 0; sas_configure_parent() local 1533 int res; sas_discover_expander() local 1565 int res = 0; sas_ex_level_discovery() local 1586 int res; sas_ex_bfs_disc() local 1600 int res; sas_discover_root_expander() local 1627 int res; sas_get_phy_discover() local 1651 int res; sas_get_phy_change_count() local 1669 int res; sas_get_phy_attached_dev() local 1692 int res = 0; sas_find_bcast_phy() local 1722 int res; sas_get_ex_change_count() local 1774 int res; sas_find_bcast_dev() local 1859 int res = 0; sas_discover_bfs_by_root_level() local 1878 int res; sas_discover_bfs_by_root() local 1898 int res; sas_discover_new() local 1945 int res; sas_rediscover_dev() local 2022 int res = 0; sas_rediscover() local 2057 int res; sas_ex_revalidate_domain() local [all...] |
/kernel/linux/linux-5.10/arch/microblaze/pci/ |
H A D | pci-common.c | 422 struct resource *res; in pci_process_bridge_OF_ranges() local 446 res = NULL; in pci_process_bridge_OF_ranges() 477 res = &hose->io_resource; in pci_process_bridge_OF_ranges() 520 res = &hose->mem_resources[memno++]; in pci_process_bridge_OF_ranges() 523 if (res != NULL) { in pci_process_bridge_OF_ranges() 524 res->name = dev->full_name; in pci_process_bridge_OF_ranges() 525 res->flags = range.flags; in pci_process_bridge_OF_ranges() 526 res->start = range.cpu_addr; in pci_process_bridge_OF_ranges() 527 res->end = range.cpu_addr + range.size - 1; in pci_process_bridge_OF_ranges() 528 res in pci_process_bridge_OF_ranges() 567 struct resource *res = dev->resource + i; pcibios_fixup_resources() local 604 reparent_resources(struct resource *parent, struct resource *res) reparent_resources() argument 674 struct resource *res, *pr; pcibios_allocate_bus_resources() local 820 struct resource *res, *pres; pcibios_reserve_legacy_regions() local 901 struct resource *res; pcibios_setup_phb_resources() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | libtommath.c | 223 int olduse, res, min, max; in s_mp_add() local 240 if ((res = mp_grow (c, max + 1)) != MP_OKAY) { in s_mp_add() 241 return res; in s_mp_add() 310 int olduse, res, min, max; in s_mp_sub() local 318 if ((res = mp_grow (c, max)) != MP_OKAY) { in s_mp_sub() 319 return res; in s_mp_sub() 426 int sa, sb, res; in mp_add() local 437 res = s_mp_add (a, b, c); in mp_add() 445 res = s_mp_sub (b, a, c); in mp_add() 448 res in mp_add() 458 int sa, sb, res; mp_sub() local 495 int res, neg; mp_mul() local 542 int res; mp_mulmod() local 563 int res; mp_mod() local 774 int res; mp_invmod_slow() local 964 int res; mp_read_unsigned_bin() local 999 int x, res; mp_to_unsigned_bin() local 1028 int x, res; mp_div_2d() local 1103 int res; mp_init_copy() local 1131 int res, n; mp_copy() local 1307 int res; mp_abs() local 1337 int x, res, oldused; mp_div_2() local 1387 int res; mp_mul_2d() local 1451 mp_err res = MP_OKAY; /* Assume ok until proven otherwise */ mp_init_multi() local 1504 int x, res; mp_lshd() local 1575 int x, res; mp_mod_2d() local 1612 int res, n, n2; mp_div() local 1694 int res, n, t, i, norm, neg; mp_div() local 1885 mp_int M[TAB_SIZE], res, mu; s_mp_exptmod() local 2113 int res; mp_sqr() local 2155 int p, res; mp_reduce_2k_l() local 2192 int res; mp_reduce_2k_setup_l() local 2220 int res; mp_2expt() local 2245 int res; mp_reduce_setup() local 2261 int res, um = m->used; mp_reduce() local 2344 int res, pa, pb, ix, iy; s_mp_mul_digs() local 2428 int olduse, res, pa, ix, iz; fast_s_mp_mul_digs() local 2531 int res, ix, iy, pa; s_mp_sqr() local 2597 int res, pa, pb, ix, iy; s_mp_mul_high_digs() local 2703 int ix, res, olduse; fast_mp_montgomery_reduce() local 2850 int x, res, oldused; mp_mul_2() local 2919 int x, bits, res; mp_montgomery_calc_normalization() local 2962 mp_int M[TAB_SIZE], res; mp_exptmod_fast() local 3260 int olduse, res, pa, ix, iz; fast_s_mp_sqr() local 3350 int ix, res, olduse; mp_mul_d() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | libtommath.c | 223 int olduse, res, min, max; in s_mp_add() local 240 if ((res = mp_grow (c, max + 1)) != MP_OKAY) { in s_mp_add() 241 return res; in s_mp_add() 310 int olduse, res, min, max; in s_mp_sub() local 318 if ((res = mp_grow (c, max)) != MP_OKAY) { in s_mp_sub() 319 return res; in s_mp_sub() 426 int sa, sb, res; in mp_add() local 437 res = s_mp_add (a, b, c); in mp_add() 445 res = s_mp_sub (b, a, c); in mp_add() 448 res in mp_add() 458 int sa, sb, res; mp_sub() local 495 int res, neg; mp_mul() local 542 int res; mp_mulmod() local 563 int res; mp_mod() local 774 int res; mp_invmod_slow() local 964 int res; mp_read_unsigned_bin() local 999 int x, res; mp_to_unsigned_bin() local 1028 int x, res; mp_div_2d() local 1103 int res; mp_init_copy() local 1131 int res, n; mp_copy() local 1307 int res; mp_abs() local 1337 int x, res, oldused; mp_div_2() local 1387 int res; mp_mul_2d() local 1451 mp_err res = MP_OKAY; /* Assume ok until proven otherwise */ mp_init_multi() local 1504 int x, res; mp_lshd() local 1575 int x, res; mp_mod_2d() local 1612 int res, n, n2; mp_div() local 1694 int res, n, t, i, norm, neg; mp_div() local 1885 mp_int M[TAB_SIZE], res, mu; s_mp_exptmod() local 2113 int res; mp_sqr() local 2155 int p, res; mp_reduce_2k_l() local 2192 int res; mp_reduce_2k_setup_l() local 2220 int res; mp_2expt() local 2245 int res; mp_reduce_setup() local 2261 int res, um = m->used; mp_reduce() local 2344 int res, pa, pb, ix, iy; s_mp_mul_digs() local 2428 int olduse, res, pa, ix, iz; fast_s_mp_mul_digs() local 2531 int res, ix, iy, pa; s_mp_sqr() local 2597 int res, pa, pb, ix, iy; s_mp_mul_high_digs() local 2703 int ix, res, olduse; fast_mp_montgomery_reduce() local 2850 int x, res, oldused; mp_mul_2() local 2919 int x, bits, res; mp_montgomery_calc_normalization() local 2962 mp_int M[TAB_SIZE], res; mp_exptmod_fast() local 3260 int olduse, res, pa, ix, iz; fast_s_mp_sqr() local 3350 int ix, res, olduse; mp_mul_d() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_platform.py | 79 res = platform.architecture() 91 res = platform.platform(aliased, terse) 94 res = platform.system() 97 res = platform.node() 100 res = platform.release() 103 res = platform.version() 106 res = platform.machine() 109 res = platform.processor() 209 res = platform.system_alias( 216 res [all...] |
/third_party/jerryscript/tests/unit-core/ |
H A D | test-api.cpp | 158 jerry_value_t res = jerry_set_property (this_val, field_name, args_p[0]); in handler_construct() local 159 TEST_ASSERT (!jerry_value_is_error (res)); in handler_construct() 160 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res)); in handler_construct() 161 jerry_release_value (res); in handler_construct() 380 jerry_value_t res, args[2]; in HWTEST_F() local 395 res = jerry_run (parsed_code_val); in HWTEST_F() 396 TEST_ASSERT (!jerry_value_is_error (res)); in HWTEST_F() 397 jerry_release_value (res); in HWTEST_F() 422 res in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
H A D | aic94xx_tmf.c | 22 int res; in asd_enqueue_internal() local 32 res = asd_post_ascb_list(ascb->ha, ascb, 1); in asd_enqueue_internal() 33 if (unlikely(res)) in asd_enqueue_internal() 35 return res; in asd_enqueue_internal() 84 int res; \ 89 res = 1; \ 90 ascb = asd_ascb_alloc_list(asd_ha, &res, GFP_KERNEL); \ 101 res = asd_enqueue_internal(ascb, asd_clear_nexus_tasklet_complete, \ 103 if (res) \ 107 res 164 int res, tmp_res, i; asd_I_T_nexus_reset() local 271 int res = TMF_RESP_FUNC_FAILED; asd_get_tmf_resp_tasklet() local 326 int res = TMF_RESP_FUNC_FAILED; asd_clear_nexus() local 390 int res = 1; asd_abort_task() local 561 int res = 1; asd_initiate_ssp_tmf() local 640 int res = asd_initiate_ssp_tmf(dev, lun, TMF_ABORT_TASK_SET, 0); asd_abort_task_set() local 649 int res = asd_initiate_ssp_tmf(dev, lun, TMF_CLEAR_ACA, 0); asd_clear_aca() local 658 int res = asd_initiate_ssp_tmf(dev, lun, TMF_CLEAR_TASK_SET, 0); asd_clear_task_set() local 667 int res = asd_initiate_ssp_tmf(dev, lun, TMF_LU_RESET, 0); asd_lu_reset() local [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | xattrs.c | 487 int res; in ntfs_xattr_system_getxattr() local 497 res = ntfs_get_ntfs_acl(scx, ni, value, size); in ntfs_xattr_system_getxattr() 504 res = ntfs_get_posix_acl(scx, ni, in ntfs_xattr_system_getxattr() 506 if (res > 0) { in ntfs_xattr_system_getxattr() 507 if (cpu_to_le_acl(acl,res, in ntfs_xattr_system_getxattr() 509 res = -errno; in ntfs_xattr_system_getxattr() 513 res = -errno; in ntfs_xattr_system_getxattr() 518 res = ntfs_get_posix_acl(scx, ni, in ntfs_xattr_system_getxattr() 520 if (res > 0) { in ntfs_xattr_system_getxattr() 521 if (cpu_to_le_acl(acl,res, in ntfs_xattr_system_getxattr() 614 int res; ntfs_xattr_system_setxattr() local 743 int res; ntfs_xattr_system_removexattr() local [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | ioport.c | 66 static void __iomem *_sparc_ioremap(struct resource *res, u32 bus, u32 pa, int sz); 69 static void _sparc_free_io(struct resource *res); 139 struct resource *res; in iounmap() local 145 if ((res = lookup_resource(&sparc_iomap, vaddr)) == NULL) { in iounmap() 149 _sparc_free_io(res); in iounmap() 151 if ((char *)res >= (char*)xresv && (char *)res < (char *)&xresv[XNRES]) { in iounmap() 152 xres_free((struct xresource *)res); in iounmap() 154 kfree(res); in iounmap() 159 void __iomem *of_ioremap(struct resource *res, unsigne argument 168 of_iounmap(struct resource *res, void __iomem *base, unsigned long size) of_iounmap() argument 182 struct resource *res; _sparc_alloc_io() local 216 _sparc_ioremap(struct resource *res, u32 bus, u32 pa, int sz) _sparc_ioremap() argument 238 _sparc_free_io(struct resource *res) _sparc_free_io() argument 250 struct resource *res; sparc_dma_alloc_resource() local 270 struct resource *res; sparc_dma_free_resource() local [all...] |
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | ioport.c | 55 static void __iomem *_sparc_ioremap(struct resource *res, u32 bus, u32 pa, int sz); 58 static void _sparc_free_io(struct resource *res); 128 struct resource *res; in iounmap() local 134 if ((res = lookup_resource(&sparc_iomap, vaddr)) == NULL) { in iounmap() 138 _sparc_free_io(res); in iounmap() 140 if ((char *)res >= (char*)xresv && (char *)res < (char *)&xresv[XNRES]) { in iounmap() 141 xres_free((struct xresource *)res); in iounmap() 143 kfree(res); in iounmap() 148 void __iomem *of_ioremap(struct resource *res, unsigne argument 157 of_iounmap(struct resource *res, void __iomem *base, unsigned long size) of_iounmap() argument 171 struct resource *res; _sparc_alloc_io() local 205 _sparc_ioremap(struct resource *res, u32 bus, u32 pa, int sz) _sparc_ioremap() argument 227 _sparc_free_io(struct resource *res) _sparc_free_io() argument 239 struct resource *res; sparc_dma_alloc_resource() local 259 struct resource *res; sparc_dma_free_resource() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | bus.c | 3 * From setup-res.c, by: 20 void pci_add_resource_offset(struct list_head *resources, struct resource *res, in pci_add_resource_offset() argument 25 entry = resource_list_create_entry(res, 0); in pci_add_resource_offset() 27 pr_err("PCI: can't add host bridge window %pR\n", res); in pci_add_resource_offset() 36 void pci_add_resource(struct list_head *resources, struct resource *res) in pci_add_resource() argument 38 pci_add_resource_offset(resources, res, 0); in pci_add_resource() 48 void pci_bus_add_resource(struct pci_bus *bus, struct resource *res, in pci_bus_add_resource() argument 55 dev_err(&bus->dev, "can't add %pR resource\n", res); in pci_bus_add_resource() 59 bus_res->res = res; in pci_bus_add_resource() 80 pci_bus_remove_resource(struct pci_bus *bus, struct resource *res) pci_bus_remove_resource() argument 119 struct resource *parent, *res; devm_request_pci_bus_resources() local 158 pci_clip_resource_to_region(struct pci_bus *bus, struct resource *res, struct pci_bus_region *region) pci_clip_resource_to_region() argument 176 pci_bus_alloc_from_region(struct pci_bus *bus, struct resource *res, resource_size_t size, resource_size_t align, resource_size_t min, unsigned long type_mask, resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t), void *alignf_data, struct pci_bus_region *region) pci_bus_alloc_from_region() argument 250 pci_bus_alloc_resource(struct pci_bus *bus, struct resource *res, resource_size_t size, resource_size_t align, resource_size_t min, unsigned long type_mask, resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t), void *alignf_data) pci_bus_alloc_resource() argument 290 struct resource *res = &dev->resource[idx]; pci_bus_clip_resource() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/futex/functional/ |
H A D | futex_requeue.c | 44 int res, ret = RET_PASS; in main() local 82 res = futex_cmp_requeue(f1, 0, &f2, 0, 1, 0); in main() 83 if (res != 1) { in main() 85 res ? errno : res, in main() 86 res ? strerror(errno) : ""); in main() 92 res = futex_wake(&f2, 1, 0); in main() 93 if (res != 1) { in main() 95 res ? errno : res, in main() [all...] |
/kernel/linux/linux-6.6/lib/kunit/ |
H A D | static_stub.c | 20 static void __kunit_static_stub_resource_free(struct kunit_resource *res) in __kunit_static_stub_resource_free() argument 22 kfree(res->data); in __kunit_static_stub_resource_free() 27 struct kunit_resource *res, in __kunit_static_stub_resource_match() 30 /* This pointer is only valid if res is a static stub resource. */ in __kunit_static_stub_resource_match() 31 struct kunit_static_stub_ctx *ctx = res->data; in __kunit_static_stub_resource_match() 34 if (res->free != &__kunit_static_stub_resource_free) in __kunit_static_stub_resource_match() 43 struct kunit_resource *res; in __kunit_get_static_stub_address_impl() local 47 res = kunit_find_resource(test, in __kunit_get_static_stub_address_impl() 51 if (!res) in __kunit_get_static_stub_address_impl() 54 ctx = res in __kunit_get_static_stub_address_impl() 26 __kunit_static_stub_resource_match(struct kunit *test, struct kunit_resource *res, void *match_real_fn_addr) __kunit_static_stub_resource_match() argument 62 struct kunit_resource *res; kunit_deactivate_static_stub() local 92 struct kunit_resource *res; __kunit_activate_static_stub() local [all...] |
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | fixed_bfin.h | 44 spx_word32_t res, bb; in PDIV32_16() local 60 : "=m" (res) in PDIV32_16() 63 return res; in PDIV32_16() 69 spx_word32_t res, bb; in DIV32_16() local 87 : "=m" (res) in DIV32_16() 90 return res; in DIV32_16() 96 spx_word32_t res; in MAX16() local 101 : "=d" (res) in MAX16() 105 return res; in MAX16() 111 spx_word32_t res; in MULT16_32_Q15() local 127 spx_word32_t res; MAC16_32_Q15() local 144 spx_word32_t res; MULT16_32_Q14() local 161 spx_word32_t res; MAC16_32_Q14() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | amfenc.c | 115 AMF_RESULT res; in amf_load_library() local 140 res = version_fun(&ctx->version); in amf_load_library() 141 AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "%s failed with error %d\n", AMF_QUERY_VERSION_FUNCTION_NAME, res); in amf_load_library() 142 res = init_fun(AMF_FULL_VERSION, &ctx->factory); in amf_load_library() 143 AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "%s failed with error %d\n", AMF_INIT_FUNCTION_NAME, res); in amf_load_library() 144 res = ctx->factory->pVtbl->GetTrace(ctx->factory, &ctx->trace); in amf_load_library() 145 AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "GetTrace() failed with error %d\n", res); in amf_load_library() 155 AMF_RESULT res; amf_init_from_d3d11_device() local 177 AMF_RESULT res; amf_init_from_dxva2_device() local 220 AMF_RESULT res; amf_init_context() local 342 AMF_RESULT res; amf_init_encoder() local 510 AMF_RESULT res; amf_set_property_buffer() local 532 AMF_RESULT res; amf_get_property_buffer() local 555 AMF_RESULT res; amf_create_buffer_with_frame_ref() local 582 AMF_RESULT res; ff_amf_receive_packet() local [all...] |