/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_resource.c | 40 * @res: The resource 42 void vmw_resource_mob_attach(struct vmw_resource *res) in vmw_resource_mob_attach() argument 44 struct vmw_bo *gbo = res->guest_memory_bo; in vmw_resource_mob_attach() 48 res->used_prio = (res->res_dirty) ? res->func->dirty_prio : in vmw_resource_mob_attach() 49 res->func->prio; in vmw_resource_mob_attach() 56 new = (res->guest_memory_offset < this->guest_memory_offset) ? in vmw_resource_mob_attach() 60 rb_link_node(&res->mob_node, parent, new); in vmw_resource_mob_attach() 61 rb_insert_color(&res in vmw_resource_mob_attach() 71 vmw_resource_mob_detach(struct vmw_resource * res) vmw_resource_mob_detach() argument 83 vmw_resource_reference(struct vmw_resource * res) vmw_resource_reference() argument 90 vmw_resource_reference_unless_doomed(struct vmw_resource * res) vmw_resource_reference_unless_doomed() argument 102 vmw_resource_release_id(struct vmw_resource * res) vmw_resource_release_id() argument 116 struct vmw_resource *res = vmw_resource_release() local 170 struct vmw_resource *res = *p_res; vmw_resource_unreference() local 185 vmw_resource_alloc_id(struct vmw_resource * res) vmw_resource_alloc_id() argument 215 vmw_resource_init(struct vmw_private * dev_priv,struct vmw_resource * res,bool delay_id,void (* res_free)(struct vmw_resource * res),const struct vmw_res_func * func) vmw_resource_init() argument 265 struct vmw_resource *res; vmw_user_resource_lookup_handle() local 298 struct vmw_resource *res; vmw_user_object_lookup() local 331 vmw_resource_buf_alloc(struct vmw_resource * res,bool interruptible) vmw_resource_buf_alloc() argument 372 vmw_resource_do_validate(struct vmw_resource * res,struct ttm_validate_buffer * val_buf,bool dirtying) vmw_resource_do_validate() argument 452 vmw_resource_unreserve(struct vmw_resource * res,bool dirty_set,bool dirty,bool switch_guest_memory,struct vmw_bo * new_guest_memory_bo,unsigned long new_guest_memory_offset) vmw_resource_unreserve() argument 518 vmw_resource_check_buffer(struct ww_acquire_ctx * ticket,struct vmw_resource * res,bool interruptible,struct ttm_validate_buffer * val_buf) vmw_resource_check_buffer() argument 579 vmw_resource_reserve(struct vmw_resource * res,bool interruptible,bool no_guest_memory) vmw_resource_reserve() argument 635 vmw_resource_do_evict(struct ww_acquire_ctx * ticket,struct vmw_resource * res,bool interruptible) vmw_resource_do_evict() argument 681 vmw_resource_validate(struct vmw_resource * res,bool intr,bool dirtying) vmw_resource_validate() argument 770 struct vmw_resource *res = vmw_resource_unbind_list() local 880 vmw_resource_needs_backup(const struct vmw_resource * res) vmw_resource_needs_backup() argument 966 vmw_resource_pin(struct vmw_resource * res,bool interruptible) vmw_resource_pin() argument 1027 vmw_resource_unpin(struct vmw_resource * res) vmw_resource_unpin() argument 1056 vmw_res_type(const struct vmw_resource * res) vmw_res_type() argument 1068 vmw_resource_dirty_update(struct vmw_resource * res,pgoff_t start,pgoff_t end) vmw_resource_dirty_update() argument 1076 vmw_resource_clean(struct vmw_resource * res) vmw_resource_clean() argument [all...] |
H A D | vmwgfx_context.c | 37 struct vmw_resource res; member 45 static void vmw_user_context_free(struct vmw_resource *res); 49 static int vmw_gb_context_create(struct vmw_resource *res); 50 static int vmw_gb_context_bind(struct vmw_resource *res, 52 static int vmw_gb_context_unbind(struct vmw_resource *res, 55 static int vmw_gb_context_destroy(struct vmw_resource *res); 56 static int vmw_dx_context_create(struct vmw_resource *res); 57 static int vmw_dx_context_bind(struct vmw_resource *res, 59 static int vmw_dx_context_unbind(struct vmw_resource *res, 62 static int vmw_dx_context_destroy(struct vmw_resource *res); 124 struct vmw_resource *res; vmw_context_cotables_unref() local 140 vmw_hw_context_destroy(struct vmw_resource * res) vmw_hw_context_destroy() argument 182 vmw_gb_context_init(struct vmw_private * dev_priv,bool dx,struct vmw_resource * res,void (* res_free)(struct vmw_resource * res)) vmw_gb_context_init() argument 183 vmw_gb_context_init(struct vmw_private * dev_priv,bool dx,struct vmw_resource * res,void (* res_free)(struct vmw_resource * res)) vmw_gb_context_init() argument 242 vmw_context_init(struct vmw_private * dev_priv,struct vmw_resource * res,void (* res_free)(struct vmw_resource * res),bool dx) vmw_context_init() argument 243 vmw_context_init(struct vmw_private * dev_priv,struct vmw_resource * res,void (* res_free)(struct vmw_resource * res),bool dx) vmw_context_init() argument 298 vmw_gb_context_create(struct vmw_resource * res) vmw_gb_context_create() argument 341 vmw_gb_context_bind(struct vmw_resource * res,struct ttm_validate_buffer * val_buf) vmw_gb_context_bind() argument 368 vmw_gb_context_unbind(struct vmw_resource * res,bool readback,struct ttm_validate_buffer * val_buf) vmw_gb_context_unbind() argument 434 vmw_gb_context_destroy(struct vmw_resource * res) vmw_gb_context_destroy() argument 465 vmw_dx_context_create(struct vmw_resource * res) vmw_dx_context_create() argument 508 vmw_dx_context_bind(struct vmw_resource * res,struct ttm_validate_buffer * val_buf) vmw_dx_context_bind() argument 561 struct vmw_resource *res; vmw_dx_context_scrub_cotables() local 577 vmw_dx_context_unbind(struct vmw_resource * res,bool readback,struct ttm_validate_buffer * val_buf) vmw_dx_context_unbind() argument 650 vmw_dx_context_destroy(struct vmw_resource * res) vmw_dx_context_destroy() argument 687 vmw_user_context_free(struct vmw_resource * res) vmw_user_context_free() argument 710 struct vmw_resource *res = &ctx->res; vmw_user_context_base_release() local 730 struct vmw_resource *res; vmw_context_define() local [all...] |
H A D | vmwgfx_shader.c | 36 struct vmw_resource res; member 49 struct vmw_resource res; member 57 static void vmw_user_shader_free(struct vmw_resource *res); 61 static int vmw_gb_shader_create(struct vmw_resource *res); 62 static int vmw_gb_shader_bind(struct vmw_resource *res, 64 static int vmw_gb_shader_unbind(struct vmw_resource *res, 67 static int vmw_gb_shader_destroy(struct vmw_resource *res); 69 static int vmw_dx_shader_create(struct vmw_resource *res); 70 static int vmw_dx_shader_bind(struct vmw_resource *res, 72 static int vmw_dx_shader_unbind(struct vmw_resource *res, 131 vmw_res_to_shader(struct vmw_resource * res) vmw_res_to_shader() argument 143 vmw_res_to_dx_shader(struct vmw_resource * res) vmw_res_to_dx_shader() argument 148 vmw_hw_shader_destroy(struct vmw_resource * res) vmw_hw_shader_destroy() argument 157 vmw_gb_shader_init(struct vmw_private * dev_priv,struct vmw_resource * res,uint32_t size,uint64_t offset,SVGA3dShaderType type,uint8_t num_input_sig,uint8_t num_output_sig,struct vmw_bo * byte_code,void (* res_free)(struct vmw_resource * res)) vmw_gb_shader_init() argument 158 vmw_gb_shader_init(struct vmw_private * dev_priv,struct vmw_resource * res,uint32_t size,uint64_t offset,SVGA3dShaderType type,uint8_t num_input_sig,uint8_t num_output_sig,struct vmw_bo * byte_code,void (* res_free)(struct vmw_resource * res)) vmw_gb_shader_init() argument 199 vmw_gb_shader_create(struct vmw_resource * res) vmw_gb_shader_create() argument 245 vmw_gb_shader_bind(struct vmw_resource * res,struct ttm_validate_buffer * val_buf) vmw_gb_shader_bind() argument 272 vmw_gb_shader_unbind(struct vmw_resource * res,bool readback,struct ttm_validate_buffer * val_buf) vmw_gb_shader_unbind() argument 311 vmw_gb_shader_destroy(struct vmw_resource * res) vmw_gb_shader_destroy() argument 354 vmw_dx_shader_commit_notify(struct vmw_resource * res,enum vmw_cmdbuf_res_state state) vmw_dx_shader_commit_notify() argument 383 vmw_dx_shader_unscrub(struct vmw_resource * res) vmw_dx_shader_unscrub() argument 420 vmw_dx_shader_create(struct vmw_resource * res) vmw_dx_shader_create() argument 445 vmw_dx_shader_bind(struct vmw_resource * res,struct ttm_validate_buffer * val_buf) vmw_dx_shader_bind() argument 469 vmw_dx_shader_scrub(struct vmw_resource * res) vmw_dx_shader_scrub() argument 506 vmw_dx_shader_unbind(struct vmw_resource * res,bool readback,struct ttm_validate_buffer * val_buf) vmw_dx_shader_unbind() argument 566 vmw_dx_shader_res_free(struct vmw_resource * res) vmw_dx_shader_res_free() argument 591 struct vmw_resource *res; vmw_dx_shader_add() local 647 vmw_user_shader_free(struct vmw_resource * res) vmw_user_shader_free() argument 655 vmw_shader_free(struct vmw_resource * res) vmw_shader_free() argument 670 struct vmw_resource *res = vmw_user_shader_base_to_res(base); vmw_user_shader_base_release() local 696 struct vmw_resource *res, *tmp; vmw_user_shader_alloc() local 746 struct vmw_resource *res; vmw_shader_alloc() local 893 struct vmw_resource *res; vmw_compat_shader_add() local [all...] |
H A D | vmwgfx_streamoutput.c | 38 * @res: Base resource struct. 39 * @ctx: Non-refcounted context to which @res belong. 47 struct vmw_resource res; member 56 static int vmw_dx_streamoutput_create(struct vmw_resource *res); 57 static int vmw_dx_streamoutput_bind(struct vmw_resource *res, 59 static int vmw_dx_streamoutput_unbind(struct vmw_resource *res, bool readback, 61 static void vmw_dx_streamoutput_commit_notify(struct vmw_resource *res, 79 vmw_res_to_dx_streamoutput(struct vmw_resource *res) in vmw_res_to_dx_streamoutput() argument 81 return container_of(res, struct vmw_dx_streamoutput, res); in vmw_res_to_dx_streamoutput() 90 vmw_dx_streamoutput_unscrub(struct vmw_resource * res) vmw_dx_streamoutput_unscrub() argument 119 vmw_dx_streamoutput_create(struct vmw_resource * res) vmw_dx_streamoutput_create() argument 138 vmw_dx_streamoutput_bind(struct vmw_resource * res,struct ttm_validate_buffer * val_buf) vmw_dx_streamoutput_bind() argument 161 vmw_dx_streamoutput_scrub(struct vmw_resource * res) vmw_dx_streamoutput_scrub() argument 193 vmw_dx_streamoutput_unbind(struct vmw_resource * res,bool readback,struct ttm_validate_buffer * val_buf) vmw_dx_streamoutput_unbind() argument 219 vmw_dx_streamoutput_commit_notify(struct vmw_resource * res,enum vmw_cmdbuf_res_state state) vmw_dx_streamoutput_commit_notify() argument 255 vmw_dx_streamoutput_res_free(struct vmw_resource * res) vmw_dx_streamoutput_res_free() argument 263 vmw_dx_streamoutput_hw_destroy(struct vmw_resource * res) vmw_dx_streamoutput_hw_destroy() argument 283 struct vmw_resource *res; vmw_dx_streamoutput_add() local 324 vmw_dx_streamoutput_set_size(struct vmw_resource * res,u32 size) vmw_dx_streamoutput_set_size() argument [all...] |
/linux/drivers/infiniband/core/ |
H A D | restrack.c | 28 dev->res = kcalloc(RDMA_RESTRACK_MAX, sizeof(*rt), GFP_KERNEL); in rdma_restrack_init() 29 if (!dev->res) in rdma_restrack_init() 32 rt = dev->res; in rdma_restrack_init() 46 struct rdma_restrack_root *rt = dev->res; in rdma_restrack_clean() 50 struct xarray *xa = &dev->res[i].xa; in rdma_restrack_clean() 67 struct rdma_restrack_root *rt = &dev->res[type]; in rdma_restrack_count() 83 static struct ib_device *res_to_dev(struct rdma_restrack_entry *res) in res_to_dev() argument 85 switch (res->type) { in res_to_dev() 87 return container_of(res, struct ib_pd, res) in res_to_dev() 117 rdma_restrack_attach_task(struct rdma_restrack_entry * res,struct task_struct * task) rdma_restrack_attach_task() argument 135 rdma_restrack_set_name(struct rdma_restrack_entry * res,const char * caller) rdma_restrack_set_name() argument 168 rdma_restrack_new(struct rdma_restrack_entry * res,enum rdma_restrack_type type) rdma_restrack_new() argument 181 rdma_restrack_add(struct rdma_restrack_entry * res) rdma_restrack_add() argument 230 rdma_restrack_get(struct rdma_restrack_entry * res) rdma_restrack_get() argument 249 struct rdma_restrack_entry *res; rdma_restrack_get_byid() local 263 struct rdma_restrack_entry *res; restrack_release() local 273 rdma_restrack_put(struct rdma_restrack_entry * res) rdma_restrack_put() argument 283 rdma_restrack_del(struct rdma_restrack_entry * res) rdma_restrack_del() argument [all...] |
/linux/tools/lib/ |
H A D | hweight.c | 20 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32() 21 res = (res & 0x33333333) + ((res >> 2) & 0x33333333); in __sw_hweight32() 22 res = (res + (res >> 4)) & 0x0F0F0F0F; in __sw_hweight32() 23 res = res + (res >> in __sw_hweight32() 30 unsigned int res = w - ((w >> 1) & 0x5555); __sw_hweight16() local 38 unsigned int res = w - ((w >> 1) & 0x55); __sw_hweight8() local [all...] |
/linux/lib/ |
H A D | hweight.c | 21 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32() 22 res = (res & 0x33333333) + ((res >> 2) & 0x33333333); in __sw_hweight32() 23 res = (res + (res >> 4)) & 0x0F0F0F0F; in __sw_hweight32() 24 res = res + (res >> in __sw_hweight32() 32 unsigned int res = w - ((w >> 1) & 0x5555); __sw_hweight16() local 41 unsigned int res = w - ((w >> 1) & 0x55); __sw_hweight8() local [all...] |
/linux/fs/ocfs2/dlm/ |
H A D | dlmthread.c | 40 /* will exit holding res->spinlock, but may drop in function */ 41 /* waits until flags are cleared on res->state */ 42 void __dlm_wait_on_lockres_flags(struct dlm_lock_resource *res, int flags) in __dlm_wait_on_lockres_flags() argument 46 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags() 48 add_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags() 51 if (res->state & flags) { in __dlm_wait_on_lockres_flags() 52 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags() 54 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags() 57 remove_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags() 61 int __dlm_lockres_has_locks(struct dlm_lock_resource *res) in __dlm_lockres_has_locks() argument 74 __dlm_lockres_unused(struct dlm_lock_resource * res) __dlm_lockres_unused() argument 107 __dlm_lockres_calc_usage(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) __dlm_lockres_calc_usage() argument 133 dlm_lockres_calc_usage(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_lockres_calc_usage() argument 151 __dlm_do_purge_lockres(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) __dlm_do_purge_lockres() argument 191 dlm_purge_lockres(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_purge_lockres() argument 341 dlm_shuffle_lists(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_shuffle_lists() argument 497 dlm_kick_thread(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_kick_thread() argument 509 __dlm_dirty_lockres(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) __dlm_dirty_lockres() argument 573 struct dlm_lock_resource *res; dlm_flush_asts() local 682 struct dlm_lock_resource *res; dlm_thread() local [all...] |
H A D | dlmmaster.c | 49 struct dlm_lock_resource *res, 76 struct dlm_lock_resource *res, 85 static int dlm_do_master_request(struct dlm_lock_resource *res, 90 struct dlm_lock_resource *res, 94 struct dlm_lock_resource *res, 98 struct dlm_lock_resource *res, 105 struct dlm_lock_resource *res); 107 struct dlm_lock_resource *res); 109 struct dlm_lock_resource *res, 112 struct dlm_lock_resource *res); 251 dlm_init_mle(struct dlm_master_list_entry * mle,enum dlm_mle_type type,struct dlm_ctxt * dlm,struct dlm_lock_resource * res,const char * name,unsigned int namelen) dlm_init_mle() argument 466 struct dlm_lock_resource *res; dlm_lockres_release() local 518 dlm_lockres_put(struct dlm_lock_resource * res) dlm_lockres_put() argument 524 dlm_init_lockres(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,const char * name,unsigned int namelen) dlm_init_lockres() argument 582 struct dlm_lock_resource *res = NULL; dlm_new_lockres() local 602 dlm_lockres_set_refmap_bit(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,int bit) dlm_lockres_set_refmap_bit() argument 613 dlm_lockres_clear_refmap_bit(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,int bit) dlm_lockres_clear_refmap_bit() argument 624 __dlm_lockres_grab_inflight_ref(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) __dlm_lockres_grab_inflight_ref() argument 634 dlm_lockres_grab_inflight_ref(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_lockres_grab_inflight_ref() argument 641 dlm_lockres_drop_inflight_ref(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_lockres_drop_inflight_ref() argument 657 __dlm_lockres_grab_inflight_worker(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) __dlm_lockres_grab_inflight_worker() argument 667 __dlm_lockres_drop_inflight_worker(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) __dlm_lockres_drop_inflight_worker() argument 678 dlm_lockres_drop_inflight_worker(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_lockres_drop_inflight_worker() argument 706 struct dlm_lock_resource *tmpres=NULL, *res=NULL; dlm_get_lock_resource() local 1002 dlm_wait_for_lock_mastery(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,struct dlm_master_list_entry * mle,int * blocked) dlm_wait_for_lock_mastery() argument 1207 dlm_restart_lock_mastery(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,struct dlm_master_list_entry * mle,int blocked) dlm_restart_lock_mastery() argument 1306 dlm_do_master_request(struct dlm_lock_resource * res,struct dlm_master_list_entry * mle,int to) dlm_do_master_request() argument 1405 struct dlm_lock_resource *res = NULL; dlm_master_request_handler() local 1651 dlm_do_assert_master(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,void * nodemap,u32 flags) dlm_do_assert_master() argument 1765 struct dlm_lock_resource *res = NULL; dlm_assert_master_handler() local 2037 struct dlm_lock_resource *res = (struct dlm_lock_resource *)ret_data; dlm_assert_master_post_handler() local 2050 dlm_dispatch_assert_master(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,int ignore_higher,u8 request_from,u32 flags) dlm_dispatch_assert_master() argument 2083 struct dlm_lock_resource *res; dlm_assert_master_worker() local 2166 dlm_pre_master_reco_lockres(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_pre_master_reco_lockres() argument 2215 dlm_drop_lockres_ref(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_drop_lockres_ref() argument 2254 struct dlm_lock_resource *res = NULL; dlm_deref_lockres_handler() local 2349 struct dlm_lock_resource *res = NULL; dlm_deref_lockres_done_handler() local 2409 dlm_drop_lockres_ref_done(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,u8 node) dlm_drop_lockres_ref_done() argument 2442 struct dlm_lock_resource *res; dlm_deref_lockres_worker() local 2483 dlm_is_lockres_migratable(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_is_lockres_migratable() argument 2541 dlm_migrate_lockres(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,u8 target) dlm_migrate_lockres() argument 2760 dlm_empty_lockres(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_empty_lockres() argument 2802 dlm_migration_can_proceed(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,u8 mig_target) dlm_migration_can_proceed() argument 2820 dlm_lockres_is_dirty(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_lockres_is_dirty() argument 2831 dlm_mark_lockres_migrating(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,u8 target) dlm_mark_lockres_migrating() argument 2923 dlm_remove_nonlocal_locks(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_remove_nonlocal_locks() argument 2977 dlm_pick_migration_target(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_pick_migration_target() argument 3023 dlm_do_migrate_request(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,u8 master,u8 new_master,struct dlm_node_iter * iter) dlm_do_migrate_request() argument 3103 struct dlm_lock_resource *res = NULL; dlm_migrate_request_handler() local 3180 dlm_add_migration_mle(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,struct dlm_master_list_entry * mle,struct dlm_master_list_entry ** oldmle,const char * name,unsigned int namelen,u8 new_master,u8 master) dlm_add_migration_mle() argument 3258 struct dlm_lock_resource *res; dlm_reset_mleres_owner() local 3330 struct dlm_lock_resource *res; dlm_clean_master_list() local 3411 dlm_finish_migration(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,u8 old_master) dlm_finish_migration() argument 3485 __dlm_lockres_reserve_ast(struct dlm_lock_resource * res) __dlm_lockres_reserve_ast() argument 3510 dlm_lockres_release_ast(struct dlm_ctxt * dlm,struct dlm_lock_resource * res) dlm_lockres_release_ast() argument [all...] |
H A D | dlmconvert.c | 37 * needs a spinlock held on entry (res->spinlock) and it is the 38 * only one that holds a lock on exit (res->spinlock). 42 struct dlm_lock_resource *res, 47 struct dlm_lock_resource *res, 55 * taken: takes and drops res->spinlock 60 struct dlm_lock_resource *res, in dlmconvert_master() argument 66 spin_lock(&res->spinlock); in dlmconvert_master() 68 __dlm_wait_on_lockres(res); in dlmconvert_master() 69 __dlm_lockres_reserve_ast(res); in dlmconvert_master() 70 res in dlmconvert_master() 103 __dlmconvert_master(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,struct dlm_lock * lock,int flags,int type,int * call_ast,int * kick_thread) __dlmconvert_master() argument 233 dlm_revert_pending_convert(struct dlm_lock_resource * res,struct dlm_lock * lock) dlm_revert_pending_convert() argument 250 dlmconvert_remote(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,struct dlm_lock * lock,int flags,int type) dlmconvert_remote() argument 354 dlm_send_remote_convert_request(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,struct dlm_lock * lock,int flags,int type) dlm_send_remote_convert_request() argument 434 struct dlm_lock_resource *res = NULL; dlm_convert_lock_handler() local [all...] |
H A D | dlmlock.c | 44 struct dlm_lock_resource *res, 68 * caller needs: res->spinlock 73 static int dlm_can_grant_new_lock(struct dlm_lock_resource *res, in dlm_can_grant_new_lock() argument 78 list_for_each_entry(tmplock, &res->granted, list) { in dlm_can_grant_new_lock() 83 list_for_each_entry(tmplock, &res->converting, list) { in dlm_can_grant_new_lock() 97 * taken: takes and drops res->spinlock 102 struct dlm_lock_resource *res, in dlmlock_master() argument 110 spin_lock(&res->spinlock); in dlmlock_master() 113 status = __dlm_lockres_state_to_status(res); in dlmlock_master() 117 spin_unlock(&res in dlmlock_master() 181 dlm_revert_pending_lock(struct dlm_lock_resource * res,struct dlm_lock * lock) dlm_revert_pending_lock() argument 198 dlmlock_remote(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,struct dlm_lock * lock,int flags) dlmlock_remote() argument 284 dlm_send_remote_lock_request(struct dlm_ctxt * dlm,struct dlm_lock_resource * res,struct dlm_lock * lock,int flags) dlm_send_remote_lock_request() argument 357 dlm_lock_attach_lockres(struct dlm_lock * lock,struct dlm_lock_resource * res) dlm_lock_attach_lockres() argument 366 struct dlm_lock_resource *res; dlm_lock_detach_lockres() local 445 struct dlm_lock_resource *res = NULL; dlm_create_lock_handler() local 546 struct dlm_lock_resource *res = NULL; dlmlock() local [all...] |
/linux/drivers/pnp/ |
H A D | manager.c | 27 struct resource *res = pnp_get_resource(dev, type, bar); in pnp_find_resource() local 30 if (res) { in pnp_find_resource() 31 res->flags &= ~IORESOURCE_BITS; in pnp_find_resource() 32 res->flags |= rule & IORESOURCE_BITS; in pnp_find_resource() 35 return res; in pnp_find_resource() 40 struct resource *res, local_res; in pnp_assign_port() local 42 res = pnp_find_resource(dev, rule->flags, IORESOURCE_IO, idx); in pnp_assign_port() 43 if (res) { in pnp_assign_port() 45 "flags %#lx\n", idx, (unsigned long long) res->start, in pnp_assign_port() 46 (unsigned long long) res in pnp_assign_port() 83 struct resource *res, local_res; pnp_assign_mem() local 134 struct resource *res, local_res; pnp_assign_irq() local 193 struct resource *res, local_res; pnp_assign_dma() local [all...] |
/linux/drivers/media/platform/ti/omap3isp/ |
H A D | ispresizer.c | 110 * @res : pointer to resizer private structure 117 __resizer_get_format(struct isp_res_device *res, in __resizer_get_format() argument 124 return &res->formats[pad]; in __resizer_get_format() 129 * @res : pointer to resizer private structure 134 __resizer_get_crop(struct isp_res_device *res, in __resizer_get_crop() argument 141 return &res->crop.request; in __resizer_get_crop() 146 * @res: Device context. 151 static void resizer_set_filters(struct isp_res_device *res, const u16 *h_coeff, in resizer_set_filters() argument 154 struct isp_device *isp = to_isp_device(res); in resizer_set_filters() 175 * @res 182 resizer_set_bilinear(struct isp_res_device * res,enum resizer_chroma_algo type) resizer_set_bilinear() argument 200 resizer_set_ycpos(struct isp_res_device * res,u32 pixelcode) resizer_set_ycpos() argument 226 resizer_set_phase(struct isp_res_device * res,u32 h_phase,u32 v_phase) resizer_set_phase() argument 262 resizer_set_luma(struct isp_res_device * res,struct resizer_luma_yenh * luma) resizer_set_luma() argument 288 resizer_set_source(struct isp_res_device * res,enum resizer_input_entity source) resizer_set_source() argument 308 resizer_set_ratio(struct isp_res_device * res,const struct resizer_ratio * ratio) resizer_set_ratio() argument 352 resizer_set_output_size(struct isp_res_device * res,u32 width,u32 height) resizer_set_output_size() argument 374 resizer_set_output_offset(struct isp_res_device * res,u32 offset) resizer_set_output_offset() argument 396 resizer_set_start(struct isp_res_device * res,u32 left,u32 top) resizer_set_start() argument 415 resizer_set_input_size(struct isp_res_device * res,u32 width,u32 height) resizer_set_input_size() argument 438 resizer_set_input_offset(struct isp_res_device * res,u32 offset) resizer_set_input_offset() argument 450 resizer_set_intype(struct isp_res_device * res,enum resizer_colors_type type) resizer_set_intype() argument 469 __resizer_set_inaddr(struct isp_res_device * res,u32 addr) __resizer_set_inaddr() argument 499 omap3isp_resizer_max_rate(struct isp_res_device * res,unsigned int * max_rate) omap3isp_resizer_max_rate() argument 541 resizer_adjust_bandwidth(struct isp_res_device * res) resizer_adjust_bandwidth() argument 609 omap3isp_resizer_busy(struct isp_res_device * res) omap3isp_resizer_busy() argument 621 resizer_set_inaddr(struct isp_res_device * res,u32 addr) resizer_set_inaddr() argument 638 resizer_set_outaddr(struct isp_res_device * res,u32 addr) resizer_set_outaddr() argument 657 resizer_print_status(struct isp_res_device * res) resizer_print_status() argument 779 resizer_calc_ratios(struct isp_res_device * res,struct v4l2_rect * input,struct v4l2_mbus_framefmt * output,struct resizer_ratio * ratio) resizer_calc_ratios() argument 910 resizer_set_crop_params(struct isp_res_device * res,const struct v4l2_mbus_framefmt * input,const struct v4l2_mbus_framefmt * output) resizer_set_crop_params() argument 958 resizer_configure(struct isp_res_device * res) resizer_configure() argument 991 resizer_enable_oneshot(struct isp_res_device * res) resizer_enable_oneshot() argument 999 omap3isp_resizer_isr_frame_sync(struct isp_res_device * res) omap3isp_resizer_isr_frame_sync() argument 1014 resizer_isr_buffer(struct isp_res_device * res) resizer_isr_buffer() argument 1060 omap3isp_resizer_isr(struct isp_res_device * res) omap3isp_resizer_isr() argument 1091 struct isp_res_device *res = &video->isp->isp_res; resizer_video_queue() local 1134 struct isp_res_device *res = v4l2_get_subdevdata(sd); resizer_set_stream() local 1228 struct isp_res_device *res = v4l2_get_subdevdata(sd); resizer_get_selection() local 1281 struct isp_res_device *res = v4l2_get_subdevdata(sd); resizer_set_selection() local 1354 resizer_max_in_width(struct isp_res_device * res) resizer_max_in_width() argument 1376 resizer_try_format(struct isp_res_device * res,struct v4l2_subdev_state * sd_state,unsigned int pad,struct v4l2_mbus_framefmt * fmt,enum v4l2_subdev_format_whence which) resizer_try_format() argument 1423 struct isp_res_device *res = v4l2_get_subdevdata(sd); resizer_enum_mbus_code() local 1447 struct isp_res_device *res = v4l2_get_subdevdata(sd); resizer_enum_frame_size() local 1484 struct isp_res_device *res = v4l2_get_subdevdata(sd); resizer_get_format() local 1506 struct isp_res_device *res = v4l2_get_subdevdata(sd); resizer_set_format() local 1551 struct isp_res_device *res = v4l2_get_subdevdata(sd); resizer_link_validate() local 1629 struct isp_res_device *res = v4l2_get_subdevdata(sd); resizer_link_setup() local 1678 omap3isp_resizer_unregister_entities(struct isp_res_device * res) omap3isp_resizer_unregister_entities() argument 1685 omap3isp_resizer_register_entities(struct isp_res_device * res,struct v4l2_device * vdev) omap3isp_resizer_register_entities() argument 1720 resizer_init_entities(struct isp_res_device * res) resizer_init_entities() argument 1784 struct isp_res_device *res = &isp->isp_res; omap3isp_resizer_init() local 1795 struct isp_res_device *res = &isp->isp_res; omap3isp_resizer_cleanup() local [all...] |
/linux/arch/mips/include/asm/ |
H A D | unaligned-emul.h | 8 #define _LoadHW(addr, value, res, type) \ argument 26 : "=&r" (value), "=r" (res) \ 31 #define _LoadW(addr, value, res, type) \ argument 47 : "=&r" (value), "=r" (res) \ 53 #define _LoadW(addr, value, res, type) \ argument 82 : "=&r" (value), "=r" (res) \ 88 #define _LoadHWU(addr, value, res, type) \ argument 108 : "=&r" (value), "=r" (res) \ 113 #define _LoadWU(addr, value, res, type) \ argument 131 : "=&r" (value), "=r" (res) \ 135 _LoadDW(addr,value,res) global() argument 157 _LoadWU(addr,value,res,type) global() argument 190 _LoadDW(addr,value,res) global() argument 242 _StoreHW(addr,value,res,type) global() argument 266 _StoreW(addr,value,res,type) global() argument 286 _StoreDW(addr,value,res) global() argument 307 _StoreW(addr,value,res,type) global() argument 338 _StoreDW(addr,value,res) global() argument 386 _LoadHW(addr,value,res,type) global() argument 409 _LoadW(addr,value,res,type) global() argument 431 _LoadW(addr,value,res,type) global() argument 467 _LoadHWU(addr,value,res,type) global() argument 492 _LoadWU(addr,value,res,type) global() argument 514 _LoadDW(addr,value,res) global() argument 536 _LoadWU(addr,value,res,type) global() argument 569 _LoadDW(addr,value,res) global() argument 619 _StoreHW(addr,value,res,type) global() argument 643 _StoreW(addr,value,res,type) global() argument 663 _StoreDW(addr,value,res) global() argument 685 _StoreW(addr,value,res,type) global() argument 716 _StoreDW(addr,value,res) global() argument 763 LoadHWU(addr,value,res) global() argument 764 LoadHWUE(addr,value,res) global() argument 765 LoadWU(addr,value,res) global() argument 766 LoadWUE(addr,value,res) global() argument 767 LoadHW(addr,value,res) global() argument 768 LoadHWE(addr,value,res) global() argument 769 LoadW(addr,value,res) global() argument 770 LoadWE(addr,value,res) global() argument 771 LoadDW(addr,value,res) global() argument 773 StoreHW(addr,value,res) global() argument 774 StoreHWE(addr,value,res) global() argument 775 StoreW(addr,value,res) global() argument 776 StoreWE(addr,value,res) global() argument 777 StoreDW(addr,value,res) global() argument [all...] |
/linux/drivers/pci/hotplug/ |
H A D | cpqphp_sysfs.c | 32 struct pci_resource *res; in show_ctrl() local 36 res = ctrl->mem_head; in show_ctrl() 37 while (res && index--) { in show_ctrl() 38 out += sprintf(out, "start = %8.8x, length = %8.8x\n", res->base, res->length); in show_ctrl() 39 res = res->next; in show_ctrl() 43 res = ctrl->p_mem_head; in show_ctrl() 44 while (res && index--) { in show_ctrl() 45 out += sprintf(out, "start = %8.8x, length = %8.8x\n", res in show_ctrl() 70 struct pci_resource *res; show_dev() local [all...] |
/linux/drivers/ps3/ |
H A D | ps3av_cmd.c | 145 int res; in ps3av_cmd_init() local 153 res = ps3av_do_pkt(PS3AV_CID_VIDEO_INIT, sizeof(video_init.send_hdr), in ps3av_cmd_init() 155 if (res < 0) in ps3av_cmd_init() 156 return res; in ps3av_cmd_init() 158 res = get_status(&video_init); in ps3av_cmd_init() 159 if (res) { in ps3av_cmd_init() 160 printk(KERN_ERR "PS3AV_CID_VIDEO_INIT: failed %x\n", res); in ps3av_cmd_init() 161 return res; in ps3av_cmd_init() 167 res = ps3av_do_pkt(PS3AV_CID_AUDIO_INIT, sizeof(audio_init.send_hdr), in ps3av_cmd_init() 169 if (res < in ps3av_cmd_init() 196 int res; ps3av_cmd_fin() local 215 int i, send_len, res; ps3av_cmd_av_video_mute() local 243 int res; ps3av_cmd_av_video_disable_sig() local 266 int res; ps3av_cmd_av_tv_mute() local 288 int res; ps3av_cmd_enable_event() local 309 int res; ps3av_cmd_av_hdmi_mode() local 411 int res; ps3av_cmd_video_format_black() local 438 int i, res; ps3av_cmd_av_audio_mute() local 785 int res; ps3av_cmd_audio_mode() local 801 int i, res; ps3av_cmd_audio_mute() local 830 int res; ps3av_cmd_audio_active() local 854 int res; ps3av_cmd_avb_param() local 876 int res; ps3av_cmd_av_get_hw_conf() local 895 int res; ps3av_cmd_video_get_monitor_info() local [all...] |
/linux/include/linux/ |
H A D | kstrtox.h | 9 int __must_check _kstrtoul(const char *s, unsigned int base, unsigned long *res); 10 int __must_check _kstrtol(const char *s, unsigned int base, long *res); 12 int __must_check kstrtoull(const char *s, unsigned int base, unsigned long long *res); 13 int __must_check kstrtoll(const char *s, unsigned int base, long long *res); 25 * @res: Where to write the result of the conversion on success. 30 static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res) in kstrtoul() argument 38 return kstrtoull(s, base, (unsigned long long *)res); in kstrtoul() 40 return _kstrtoul(s, base, res); in kstrtoul() 53 * @res: Where to write the result of the conversion on success. 58 static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) in kstrtol() argument 74 kstrtou64(const char * s,unsigned int base,u64 * res) kstrtou64() argument 79 kstrtos64(const char * s,unsigned int base,s64 * res) kstrtos64() argument 84 kstrtou32(const char * s,unsigned int base,u32 * res) kstrtou32() argument 89 kstrtos32(const char * s,unsigned int base,s32 * res) kstrtos32() argument 112 kstrtou64_from_user(const char __user * s,size_t count,unsigned int base,u64 * res) kstrtou64_from_user() argument 117 kstrtos64_from_user(const char __user * s,size_t count,unsigned int base,s64 * res) kstrtos64_from_user() argument 122 kstrtou32_from_user(const char __user * s,size_t count,unsigned int base,u32 * res) kstrtou32_from_user() argument 127 kstrtos32_from_user(const char __user * s,size_t count,unsigned int base,s32 * res) kstrtos32_from_user() argument [all...] |
/linux/include/kunit/ |
H A D | resource.h | 51 * static int kunit_kmalloc_init(struct kunit_resource *res, void *context) 54 * res->data = kmalloc(params->size, params->gfp); 56 * if (!res->data) 62 * static void kunit_kmalloc_free(struct kunit_resource *res) 64 * kfree(res->data); 98 * @res: resource 100 static inline void kunit_get_resource(struct kunit_resource *res) in kunit_get_resource() argument 102 kref_get(&res->refcount); in kunit_get_resource() 111 struct kunit_resource *res = container_of(kref, struct kunit_resource, in kunit_release_resource() local 114 if (res in kunit_release_resource() 136 kunit_put_resource(struct kunit_resource * res) kunit_put_resource() argument 172 kunit_add_resource(struct kunit * test,kunit_resource_init_t init,kunit_resource_free_t free,struct kunit_resource * res,void * data) kunit_add_resource() argument 194 kunit_add_named_resource(struct kunit * test,kunit_resource_init_t init,kunit_resource_free_t free,struct kunit_resource * res,const char * name,void * data) kunit_add_named_resource() argument 243 struct kunit_resource *res; kunit_alloc_and_get_resource() local 286 struct kunit_resource *res; kunit_alloc_resource() local 310 kunit_resource_name_match(struct kunit * test,struct kunit_resource * res,void * match_name) kunit_resource_name_match() argument 327 struct kunit_resource *res, *found = NULL; kunit_find_resource() local [all...] |
/linux/drivers/pci/ |
H A D | setup-res.c | 32 struct resource *res = pci_resource_n(dev, resno); in pci_std_update_resource() local 43 if (!res->flags) in pci_std_update_resource() 46 if (res->flags & IORESOURCE_UNSET) in pci_std_update_resource() 54 if (res->flags & IORESOURCE_PCI_FIXED) in pci_std_update_resource() 57 pcibios_resource_to_bus(dev->bus, ®ion, res); in pci_std_update_resource() 60 if (res->flags & IORESOURCE_IO) { in pci_std_update_resource() 62 new |= res->flags & ~PCI_BASE_ADDRESS_IO_MASK; in pci_std_update_resource() 67 new |= res->flags & ~PCI_BASE_ADDRESS_MEM_MASK; in pci_std_update_resource() 82 if (!(res->flags & IORESOURCE_ROM_ENABLE) && in pci_std_update_resource() 87 if (res in pci_std_update_resource() 136 struct resource *res = &dev->resource[resource]; pci_claim_resource() local 199 pci_revert_fw_address(struct resource * res,struct pci_dev * dev,int resno,resource_size_t size) pci_revert_fw_address() argument 253 pcibios_align_resource(void * data,const struct resource * res,resource_size_t size,resource_size_t align) pcibios_align_resource() argument 263 struct resource *res = pci_resource_n(dev, resno); __pci_assign_resource() local 326 struct resource *res = pci_resource_n(dev, resno); pci_assign_resource() local 373 struct resource *res = pci_resource_n(dev, resno); pci_reassign_resource() local 411 struct resource *res = pci_resource_n(dev, resno); pci_release_resource() local 443 struct resource *res = pci_resource_n(dev, resno); pci_resize_resource_set_size() local 455 struct resource *res = pci_resource_n(dev, resno); pci_resize_resource() local [all...] |
H A D | devres.c | 67 static inline void pcim_addr_devres_clear(struct pcim_addr_devres *res) in pcim_addr_devres_clear() argument 69 memset(res, 0, sizeof(*res)); in pcim_addr_devres_clear() 70 res->bar = -1; in pcim_addr_devres_clear() 76 struct pcim_addr_devres *res = resource_raw; in pcim_addr_resource_release() local 78 switch (res->type) { in pcim_addr_resource_release() 80 pci_release_region(pdev, res->bar); in pcim_addr_resource_release() 83 pci_iounmap(pdev, res->baseaddr); in pcim_addr_resource_release() 84 pci_release_region(pdev, res->bar); in pcim_addr_resource_release() 87 pci_iounmap(pdev, res in pcim_addr_resource_release() 96 struct pcim_addr_devres *res; pcim_addr_devres_alloc() local 106 pcim_addr_devres_free(struct pcim_addr_devres * res) pcim_addr_devres_free() argument 138 struct resource **res = ptr; devm_pci_unmap_iospace() local 152 devm_pci_remap_iospace(struct device * dev,const struct resource * res,phys_addr_t phys_addr) devm_pci_remap_iospace() argument 224 devm_pci_remap_cfg_resource(struct device * dev,struct resource * res) devm_pci_remap_cfg_resource() argument 302 struct pcim_intx_devres *res = data; pcim_intx_restore() local 307 save_orig_intx(struct pci_dev * pdev,struct pcim_intx_devres * res) save_orig_intx() argument 327 struct pcim_intx_devres *res; pcim_intx() local 408 pcim_iomap_release(struct device * gendev,void * res) pcim_iomap_release() argument 541 struct pcim_addr_devres *res; pcim_iomap() local 611 struct pcim_addr_devres *res; pcim_iomap_region() local 727 struct pcim_addr_devres *res; pcim_request_region() local 838 struct pcim_addr_devres *res; pcim_iomap_range() local [all...] |
/linux/lib/kunit/ |
H A D | resource.c | 17 * the data value passed in. Doesn't initialize res->should_kfree. 22 struct kunit_resource *res, in __kunit_add_resource() argument 28 res->free = free; in __kunit_add_resource() 29 kref_init(&res->refcount); in __kunit_add_resource() 32 ret = init(res, data); in __kunit_add_resource() 36 res->data = data; in __kunit_add_resource() 40 list_add_tail(&res->node, &test->resources); in __kunit_add_resource() 48 void kunit_remove_resource(struct kunit *test, struct kunit_resource *res) in kunit_remove_resource() argument 54 was_linked = !list_empty(&res->node); in kunit_remove_resource() 55 list_del_init(&res in kunit_remove_resource() 66 struct kunit_resource *res = kunit_find_resource(test, match, kunit_destroy_resource() local 82 struct kunit_resource res; global() member 87 __kunit_action_free(struct kunit_resource * res) __kunit_action_free() argument 119 int res = kunit_add_action(test, action, ctx); kunit_add_action_or_reset() local 128 __kunit_action_match(struct kunit * test,struct kunit_resource * res,void * match_data) __kunit_action_match() argument 146 struct kunit_resource *res; kunit_remove_action() local 166 struct kunit_resource *res; kunit_release_action() local [all...] |
/linux/drivers/pcmcia/ |
H A D | rsrc_iodyn.c | 27 const struct resource *res, in pcmcia_align() argument 33 start = (res->start & ~data->mask) + data->offset; in pcmcia_align() 34 if (start < res->start) in pcmcia_align() 38 if (res->flags & IORESOURCE_IO) { in pcmcia_align() 45 if (res->flags & IORESOURCE_IO) { in pcmcia_align() 46 if ((res->start + size - 1) >= 1024) in pcmcia_align() 47 start = res->end; in pcmcia_align() 59 struct resource *res = pcmcia_make_resource(0, num, IORESOURCE_IO, in __iodyn_find_io_region() local 70 ret = pci_bus_alloc_resource(s->cb_dev->bus, res, num, 1, in __iodyn_find_io_region() 74 ret = allocate_resource(&ioport_resource, res, nu in __iodyn_find_io_region() 106 struct resource *res = s->io[i].res; iodyn_find_io() local [all...] |
/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | ffa.c | 74 static void ffa_to_smccc_error(struct arm_smccc_res *res, u64 ffa_errno) in ffa_to_smccc_error() argument 76 *res = (struct arm_smccc_res) { in ffa_to_smccc_error() 82 static void ffa_to_smccc_res_prop(struct arm_smccc_res *res, int ret, u64 prop) in ffa_to_smccc_res_prop() argument 85 *res = (struct arm_smccc_res) { .a0 = FFA_SUCCESS, in ffa_to_smccc_res_prop() 88 ffa_to_smccc_error(res, ret); in ffa_to_smccc_res_prop() 92 static void ffa_to_smccc_res(struct arm_smccc_res *res, int ret) in ffa_to_smccc_res() argument 94 ffa_to_smccc_res_prop(res, ret, 0); in ffa_to_smccc_res() 98 struct arm_smccc_res *res) in ffa_set_retval() argument 100 cpu_reg(ctxt, 0) = res->a0; in ffa_set_retval() 101 cpu_reg(ctxt, 1) = res in ffa_set_retval() 116 struct arm_smccc_res res; ffa_map_hyp_buffers() local 130 struct arm_smccc_res res; ffa_unmap_hyp_buffers() local 140 ffa_mem_frag_tx(struct arm_smccc_res * res,u32 handle_lo,u32 handle_hi,u32 fraglen,u32 endpoint_id) ffa_mem_frag_tx() argument 149 ffa_mem_frag_rx(struct arm_smccc_res * res,u32 handle_lo,u32 handle_hi,u32 fragoff) ffa_mem_frag_rx() argument 158 ffa_mem_xfer(struct arm_smccc_res * res,u64 func_id,u32 len,u32 fraglen) ffa_mem_xfer() argument 166 ffa_mem_reclaim(struct arm_smccc_res * res,u32 handle_lo,u32 handle_hi,u32 flags) ffa_mem_reclaim() argument 175 ffa_retrieve_req(struct arm_smccc_res * res,u32 len) ffa_retrieve_req() argument 183 ffa_rx_release(struct arm_smccc_res * res) ffa_rx_release() argument 191 do_ffa_rxtx_map(struct arm_smccc_res * res,struct kvm_cpu_context * ctxt) do_ffa_rxtx_map() argument 270 do_ffa_rxtx_unmap(struct arm_smccc_res * res,struct kvm_cpu_context * ctxt) do_ffa_rxtx_unmap() argument 371 do_ffa_mem_frag_tx(struct arm_smccc_res * res,struct kvm_cpu_context * ctxt) do_ffa_mem_frag_tx() argument 430 __do_ffa_mem_xfer(const u64 func_id,struct arm_smccc_res * res,struct kvm_cpu_context * ctxt) __do_ffa_mem_xfer() argument 517 do_ffa_mem_xfer(fid,res,ctxt) global() argument 524 do_ffa_mem_reclaim(struct arm_smccc_res * res,struct kvm_cpu_context * ctxt) do_ffa_mem_reclaim() argument 637 do_ffa_features(struct arm_smccc_res * res,struct kvm_cpu_context * ctxt) do_ffa_features() argument 669 struct arm_smccc_res res; hyp_ffa_post_init() local 703 do_ffa_version(struct arm_smccc_res * res,struct kvm_cpu_context * ctxt) do_ffa_version() argument 743 do_ffa_part_get(struct arm_smccc_res * res,struct kvm_cpu_context * ctxt) do_ffa_part_get() argument 794 struct arm_smccc_res res; kvm_host_ffa_handler() local 863 struct arm_smccc_res res; hyp_ffa_init() local [all...] |
/linux/tools/testing/selftests/futex/functional/ |
H A D | futex_waitv.c | 40 int res; in waiterfn() local 48 res = futex_waitv(waitv, NR_FUTEXES, 0, &to, CLOCK_MONOTONIC); in waiterfn() 49 if (res < 0) { in waiterfn() 52 } else if (res != NR_FUTEXES - 1) { in waiterfn() 54 res, NR_FUTEXES - 1); in waiterfn() 63 int res, ret = RET_PASS; in main() local 102 res = futex_wake(u64_to_ptr(waitv[NR_FUTEXES - 1].uaddr), 1, FUTEX_PRIVATE_FLAG); in main() 103 if (res != 1) { in main() 105 res ? errno : res, in main() [all...] |
/linux/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...] |