/linux-4.4.14/drivers/staging/lustre/lustre/osc/ |
D | lproc_osc.c | 51 return sprintf(buf, "%d\n", !dev->u.cli.cl_import->imp_deactive); in active_show() 70 if (dev->u.cli.cl_import->imp_deactive == val) in active_store() 71 rc = ptlrpc_set_import_active(dev->u.cli.cl_import, val); in active_store() 86 struct client_obd *cli = &dev->u.cli; in max_rpcs_in_flight_show() local 88 return sprintf(buf, "%u\n", cli->cl_max_rpcs_in_flight); in max_rpcs_in_flight_show() 98 struct client_obd *cli = &dev->u.cli; in max_rpcs_in_flight_store() local 110 adding = val - cli->cl_max_rpcs_in_flight; in max_rpcs_in_flight_store() 124 client_obd_list_lock(&cli->cl_loi_list_lock); in max_rpcs_in_flight_store() 125 cli->cl_max_rpcs_in_flight = val; in max_rpcs_in_flight_store() 126 client_obd_list_unlock(&cli->cl_loi_list_lock); in max_rpcs_in_flight_store() [all …]
|
D | osc_page.c | 45 static void osc_lru_del(struct client_obd *cli, struct osc_page *opg, bool del); 46 static void osc_lru_add(struct client_obd *cli, struct osc_page *opg); 370 struct client_obd *cli = &osc_export(obj)->exp_obd->u.cli; in osc_page_print() local 388 cli->cl_r_in_flight, cli->cl_w_in_flight, in osc_page_print() 389 cli->cl_max_rpcs_in_flight, in osc_page_print() 390 cli->cl_avail_grant, in osc_page_print() 391 osc_list(&cli->cl_cache_waiters), in osc_page_print() 392 osc_list(&cli->cl_loi_ready_list), in osc_page_print() 393 osc_list(&cli->cl_loi_hp_ready_list), in osc_page_print() 394 osc_list(&cli->cl_loi_write_list), in osc_page_print() [all …]
|
D | osc_cache.c | 52 static void osc_ap_completion(const struct lu_env *env, struct client_obd *cli, 59 struct client_obd *cli, struct osc_object *osc); 60 static void osc_free_grant(struct client_obd *cli, unsigned int nr_pages, 627 struct client_obd *cli = osc_cli(obj); in osc_extent_find() local 649 LASSERT(cli->cl_chunkbits >= PAGE_CACHE_SHIFT); in osc_extent_find() 650 ppc_bits = cli->cl_chunkbits - PAGE_CACHE_SHIFT; in osc_extent_find() 652 chunksize = 1 << cli->cl_chunkbits; in osc_extent_find() 656 max_pages = cli->cl_max_pages_per_rpc; in osc_extent_find() 674 LASSERTF(*grants >= chunksize + cli->cl_extent_tax, in osc_extent_find() 675 "%u/%u/%u.\n", *grants, chunksize, cli->cl_extent_tax); in osc_extent_find() [all …]
|
D | osc_quota.c | 45 int osc_quota_chkdq(struct client_obd *cli, const unsigned int qid[]) in osc_quota_chkdq() argument 52 oqi = cfs_hash_lookup(cli->cl_quota_hash[type], &qid[type]); in osc_quota_chkdq() 73 int osc_quota_setdq(struct client_obd *cli, const unsigned int qid[], in osc_quota_setdq() argument 89 oqi = cfs_hash_lookup(cli->cl_quota_hash[type], &qid[type]); in osc_quota_setdq() 102 rc = cfs_hash_add_unique(cli->cl_quota_hash[type], in osc_quota_setdq() 111 cli->cl_import->imp_obd->obd_name, in osc_quota_setdq() 120 oqi = cfs_hash_del_key(cli->cl_quota_hash[type], in osc_quota_setdq() 126 cli->cl_import->imp_obd->obd_name, in osc_quota_setdq() 208 struct client_obd *cli = &obd->u.cli; in osc_quota_setup() local 212 cli->cl_quota_hash[type] = cfs_hash_create("QUOTA_HASH", in osc_quota_setup() [all …]
|
D | osc_request.c | 667 struct client_obd *cli = &req->rq_import->imp_obd->u.cli; in osc_destroy_interpret() local 669 atomic_dec(&cli->cl_destroy_in_flight); in osc_destroy_interpret() 670 wake_up(&cli->cl_destroy_waitq); in osc_destroy_interpret() 674 static int osc_can_send_destroy(struct client_obd *cli) in osc_can_send_destroy() argument 676 if (atomic_inc_return(&cli->cl_destroy_in_flight) <= in osc_can_send_destroy() 677 cli->cl_max_rpcs_in_flight) { in osc_can_send_destroy() 681 if (atomic_dec_return(&cli->cl_destroy_in_flight) < in osc_can_send_destroy() 682 cli->cl_max_rpcs_in_flight) { in osc_can_send_destroy() 687 wake_up(&cli->cl_destroy_waitq); in osc_can_send_destroy() 730 struct client_obd *cli = &exp->exp_obd->u.cli; in osc_destroy() local [all …]
|
D | osc_internal.h | 97 void osc_wake_cache_waiters(struct client_obd *cli); 98 int osc_shrink_grant_to_target(struct client_obd *cli, __u64 target_bytes); 99 void osc_update_next_shrink(struct client_obd *cli); 134 int osc_build_rpc(const struct lu_env *env, struct client_obd *cli, 136 int osc_lru_shrink(struct client_obd *cli, int target); 154 static inline unsigned long rpcs_in_flight(struct client_obd *cli) in rpcs_in_flight() argument 156 return cli->cl_r_in_flight + cli->cl_w_in_flight; in rpcs_in_flight() 191 int osc_quota_setdq(struct client_obd *cli, const unsigned int qid[], 193 int osc_quota_chkdq(struct client_obd *cli, const unsigned int qid[]);
|
D | osc_cl_internal.h | 455 void osc_io_unplug(const struct lu_env *env, struct client_obd *cli, 511 return &osc_export(obj)->exp_obd->u.cli; in osc_cli()
|
D | osc_io.c | 104 struct client_obd *cli = NULL; in osc_io_submit() local 123 cli = osc_cli(osc); in osc_io_submit() 124 max_pages = cli->cl_max_pages_per_rpc; in osc_io_submit()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lib.c | 262 struct client_obd *cli = &obddev->u.cli; in client_obd_setup() local 276 cli->cl_sp_me = LUSTRE_SP_CLI; in client_obd_setup() 277 cli->cl_sp_to = LUSTRE_SP_OST; in client_obd_setup() 284 cli->cl_sp_me = LUSTRE_SP_CLI; in client_obd_setup() 285 cli->cl_sp_to = LUSTRE_SP_MDT; in client_obd_setup() 291 cli->cl_sp_to = LUSTRE_SP_MDT; in client_obd_setup() 297 cli->cl_sp_to = LUSTRE_SP_OST; in client_obd_setup() 302 cli->cl_sp_me = LUSTRE_SP_CLI; in client_obd_setup() 307 cli->cl_sp_me = LUSTRE_SP_MGC; in client_obd_setup() 308 cli->cl_sp_to = LUSTRE_SP_MGS; in client_obd_setup() [all …]
|
D | ldlm_lockd.c | 519 struct client_obd *cli = &req->rq_export->exp_obd->u.cli; in ldlm_handle_qc_callback() local 529 cli->cl_qchk_stat = oqctl->qc_stat; in ldlm_handle_qc_callback()
|
D | ldlm_flock.c | 492 imp = obd->u.cli.cl_import; in ldlm_flock_completion_ast()
|
D | ldlm_request.c | 120 imp = obd->u.cli.cl_import; in ldlm_expired_completion_wait() 243 imp = obd->u.cli.cl_import; in ldlm_completion_ast()
|
D | ldlm_lock.c | 1904 struct obd_import *imp = exp->exp_obd->u.cli.cl_import; in _ldlm_lock_debug()
|
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/ |
D | lproc_mdc.c | 50 struct client_obd *cli = &dev->u.cli; in max_rpcs_in_flight_show() local 52 client_obd_list_lock(&cli->cl_loi_list_lock); in max_rpcs_in_flight_show() 53 len = sprintf(buf, "%u\n", cli->cl_max_rpcs_in_flight); in max_rpcs_in_flight_show() 54 client_obd_list_unlock(&cli->cl_loi_list_lock); in max_rpcs_in_flight_show() 66 struct client_obd *cli = &dev->u.cli; in max_rpcs_in_flight_store() local 77 client_obd_list_lock(&cli->cl_loi_list_lock); in max_rpcs_in_flight_store() 78 cli->cl_max_rpcs_in_flight = val; in max_rpcs_in_flight_store() 79 client_obd_list_unlock(&cli->cl_loi_list_lock); in max_rpcs_in_flight_store() 181 struct client_obd *cli = &dev->u.cli; in max_pages_per_rpc_show() local 183 return sprintf(buf, "%d\n", cli->cl_max_pages_per_rpc); in max_pages_per_rpc_show()
|
D | mdc_lib.c | 486 static int mdc_req_avail(struct client_obd *cli, struct mdc_cache_waiter *mcw) in mdc_req_avail() argument 490 client_obd_list_lock(&cli->cl_loi_list_lock); in mdc_req_avail() 492 client_obd_list_unlock(&cli->cl_loi_list_lock); in mdc_req_avail() 499 int mdc_enter_request(struct client_obd *cli) in mdc_enter_request() argument 505 client_obd_list_lock(&cli->cl_loi_list_lock); in mdc_enter_request() 506 if (cli->cl_r_in_flight >= cli->cl_max_rpcs_in_flight) { in mdc_enter_request() 507 list_add_tail(&mcw.mcw_entry, &cli->cl_cache_waiters); in mdc_enter_request() 509 client_obd_list_unlock(&cli->cl_loi_list_lock); in mdc_enter_request() 510 rc = l_wait_event(mcw.mcw_waitq, mdc_req_avail(cli, &mcw), in mdc_enter_request() 513 client_obd_list_lock(&cli->cl_loi_list_lock); in mdc_enter_request() [all …]
|
D | mdc_request.c | 60 struct client_obd *cli = &req->rq_import->imp_obd->u.cli; in mdc_queue_wait() local 66 rc = mdc_enter_request(cli); in mdc_queue_wait() 71 mdc_exit_request(cli); in mdc_queue_wait() 372 mdc_get_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in mdc_xattr_common() 377 mdc_put_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in mdc_xattr_common() 841 obd->u.cli.cl_default_mds_easize); in mdc_close() 843 obd->u.cli.cl_default_mds_cookiesize); in mdc_close() 847 mdc_get_rpc_lock(obd->u.cli.cl_close_lock, NULL); in mdc_close() 849 mdc_put_rpc_lock(obd->u.cli.cl_close_lock, NULL); in mdc_close() 930 mdc_get_rpc_lock(obd->u.cli.cl_close_lock, NULL); in mdc_done_writing() [all …]
|
D | mdc_reint.c | 143 rpc_lock = obd->u.cli.cl_rpc_lock; in mdc_setattr() 213 struct obd_import *import = exp->exp_obd->u.cli.cl_import; in mdc_create() 275 rc = mdc_reint(req, exp->exp_obd->u.cli.cl_rpc_lock, level); in mdc_create() 343 obd->u.cli.cl_default_mds_easize); in mdc_unlink() 345 obd->u.cli.cl_default_mds_cookiesize); in mdc_unlink() 350 rc = mdc_reint(req, obd->u.cli.cl_rpc_lock, LUSTRE_IMP_FULL); in mdc_unlink() 392 rc = mdc_reint(req, obd->u.cli.cl_rpc_lock, LUSTRE_IMP_FULL); in mdc_link() 452 obd->u.cli.cl_default_mds_easize); in mdc_rename() 454 obd->u.cli.cl_default_mds_cookiesize); in mdc_rename() 457 rc = mdc_reint(req, obd->u.cli.cl_rpc_lock, LUSTRE_IMP_FULL); in mdc_rename()
|
D | mdc_locks.c | 328 max(lmmsize, obddev->u.cli.cl_default_mds_easize)); in mdc_intent_open_pack() 432 obddev->u.cli.cl_default_mds_easize); in mdc_intent_unlink_pack() 434 obddev->u.cli.cl_default_mds_cookiesize); in mdc_intent_unlink_pack() 472 if (obddev->u.cli.cl_default_mds_easize > 0) in mdc_intent_getattr_pack() 473 easize = obddev->u.cli.cl_default_mds_easize; in mdc_intent_getattr_pack() 475 easize = obddev->u.cli.cl_max_mds_easize; in mdc_intent_getattr_pack() 521 obd->u.cli.cl_default_mds_easize); in mdc_intent_layout_pack() 787 generation = obddev->u.cli.cl_import->imp_generation; in mdc_enqueue() 841 mdc_get_rpc_lock(obddev->u.cli.cl_rpc_lock, it); in mdc_enqueue() 842 rc = mdc_enter_request(&obddev->u.cli); in mdc_enqueue() [all …]
|
D | mdc_internal.h | 70 int mdc_enter_request(struct client_obd *cli); 71 void mdc_exit_request(struct client_obd *cli);
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_usif.c | 56 struct nouveau_cli *cli = nouveau_cli(filp); in usif_notify_find() local 58 list_for_each_entry(ntfy, &cli->notifys, head) { in usif_notify_find() 124 struct nouveau_cli *cli = nouveau_cli(f); in usif_notify_new() local 125 struct nvif_client *client = &cli->base; in usif_notify_new() 159 list_add(&ntfy->head, &cli->notifys); in usif_notify_new() 168 struct nouveau_cli *cli = nouveau_cli(f); in usif_notify_del() local 169 struct nvif_client *client = &cli->base; in usif_notify_del() 191 struct nouveau_cli *cli = nouveau_cli(f); in usif_notify_get() local 192 struct nvif_client *client = &cli->base; in usif_notify_get() 230 struct nouveau_cli *cli = nouveau_cli(f); in usif_notify_put() local [all …]
|
D | nouveau_gem.c | 64 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_gem_object_open() local 71 if (!cli->vm) in nouveau_gem_object_open() 78 vma = nouveau_bo_vma_find(nvbo, cli->vm); in nouveau_gem_object_open() 92 ret = nouveau_bo_vma_add(nvbo, cli->vm, vma); in nouveau_gem_object_open() 149 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_gem_object_close() local 156 if (!cli->vm) in nouveau_gem_object_close() 163 vma = nouveau_bo_vma_find(nvbo, cli->vm); in nouveau_gem_object_close() 228 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_gem_info() local 239 if (cli->vm) { in nouveau_gem_info() 240 vma = nouveau_bo_vma_find(nvbo, cli->vm); in nouveau_gem_info() [all …]
|
D | nouveau_drm.c | 111 struct nouveau_cli *cli = *pcli = kzalloc(size, GFP_KERNEL); in nouveau_cli_create() local 113 if (cli) { in nouveau_cli_create() 114 snprintf(cli->name, sizeof(cli->name), "%s", sname); in nouveau_cli_create() 115 cli->dev = dev; in nouveau_cli_create() 117 ret = nvif_client_init(NULL, cli->name, nouveau_name(dev), in nouveau_cli_create() 119 &cli->base); in nouveau_cli_create() 121 mutex_init(&cli->mutex); in nouveau_cli_create() 122 usif_client_init(cli); in nouveau_cli_create() 130 nouveau_cli_destroy(struct nouveau_cli *cli) in nouveau_cli_destroy() argument 132 nvkm_vm_ref(NULL, &nvxx_client(&cli->base)->vm, NULL); in nouveau_cli_destroy() [all …]
|
D | nouveau_abi16.c | 39 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16() local 40 if (!cli->abi16) { in nouveau_abi16() 42 cli->abi16 = abi16 = kzalloc(sizeof(*abi16), GFP_KERNEL); in nouveau_abi16() 43 if (cli->abi16) { in nouveau_abi16() 54 if (nvif_device_init(&cli->base.object, 0, NV_DEVICE, in nouveau_abi16() 57 return cli->abi16; in nouveau_abi16() 59 kfree(cli->abi16); in nouveau_abi16() 60 cli->abi16 = NULL; in nouveau_abi16() 63 return cli->abi16; in nouveau_abi16() 69 struct nouveau_cli *cli = nouveau_cli(file_priv); in nouveau_abi16_get() local [all …]
|
D | nouveau_chan.c | 47 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_channel_idle() local 58 NV_PRINTK(err, cli, "failed to idle channel %d [%s]\n", in nouveau_channel_idle() 59 chan->chid, nvxx_client(&cli->base)->name); in nouveau_channel_idle() 92 struct nouveau_cli *cli = (void *)device->object.client; in nouveau_channel_prep() local 131 ret = nouveau_bo_vma_add(chan->push.buffer, cli->vm, in nouveau_channel_prep() 141 args.limit = cli->vm->mmu->limit - 1; in nouveau_channel_prep() 296 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_channel_init() local 309 args.limit = cli->vm->mmu->limit - 1; in nouveau_channel_init() 326 args.limit = cli->vm->mmu->limit - 1; in nouveau_channel_init() 403 struct nouveau_cli *cli = (void *)device->object.client; in nouveau_channel_new() local [all …]
|
D | nv17_fence.c | 36 struct nouveau_cli *cli = (void *)prev->user.client; in nv17_fence_sync() local 42 if (!mutex_trylock(&cli->mutex)) in nv17_fence_sync() 69 mutex_unlock(&cli->mutex); in nv17_fence_sync()
|
D | nv84_fence.c | 134 struct nouveau_cli *cli = (void *)chan->user.client; in nv84_fence_context_new() local 151 ret = nouveau_bo_vma_add(priv->bo, cli->vm, &fctx->vma); in nv84_fence_context_new() 153 ret = nouveau_bo_vma_add(priv->bo_gart, cli->vm, in nv84_fence_context_new() 160 ret = nouveau_bo_vma_add(bo, cli->vm, &fctx->dispc_vma[i]); in nv84_fence_context_new()
|
D | nouveau_dma.c | 85 struct nouveau_cli *cli = (void *)chan->user.client; in nv50_dma_push() local 91 vma = nouveau_bo_vma_find(bo, cli->vm); in nv50_dma_push()
|
D | nouveau_display.c | 721 struct nouveau_cli *cli; in nouveau_crtc_page_flip() local 728 cli = (void *)chan->user.client; in nouveau_crtc_page_flip() 740 mutex_lock(&cli->mutex); in nouveau_crtc_page_flip() 799 mutex_unlock(&cli->mutex); in nouveau_crtc_page_flip() 815 mutex_unlock(&cli->mutex); in nouveau_crtc_page_flip()
|
D | nouveau_fence.c | 172 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_fence_context_new() local 185 strcpy(fctx->name, nvxx_client(&cli->base)->name); in nouveau_fence_context_new()
|
D | nouveau_bo.c | 1061 struct nouveau_cli *cli = (void *)chan->user.client; in nouveau_bo_move_m2mf() local 1075 mutex_lock_nested(&cli->mutex, SINGLE_DEPTH_NESTING); in nouveau_bo_move_m2mf() 1091 mutex_unlock(&cli->mutex); in nouveau_bo_move_m2mf()
|
/linux-4.4.14/drivers/staging/lustre/lustre/fld/ |
D | fld_request.c | 62 static int fld_req_avail(struct client_obd *cli, struct mdc_cache_waiter *mcw) in fld_req_avail() argument 66 client_obd_list_lock(&cli->cl_loi_list_lock); in fld_req_avail() 68 client_obd_list_unlock(&cli->cl_loi_list_lock); in fld_req_avail() 72 static void fld_enter_request(struct client_obd *cli) in fld_enter_request() argument 77 client_obd_list_lock(&cli->cl_loi_list_lock); in fld_enter_request() 78 if (cli->cl_r_in_flight >= cli->cl_max_rpcs_in_flight) { in fld_enter_request() 79 list_add_tail(&mcw.mcw_entry, &cli->cl_cache_waiters); in fld_enter_request() 81 client_obd_list_unlock(&cli->cl_loi_list_lock); in fld_enter_request() 82 l_wait_event(mcw.mcw_waitq, fld_req_avail(cli, &mcw), &lwi); in fld_enter_request() 84 cli->cl_r_in_flight++; in fld_enter_request() [all …]
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-nomadik.c | 178 struct i2c_nmk_client cli; member 289 dev->cli.operation = I2C_NO_OPERATION; in init_hw() 308 mcr |= GEN_MASK(dev->cli.slave_adr, I2C_MCR_A7, 1); in load_i2c_mcr_reg() 319 slave_adr_3msb_bits = (dev->cli.slave_adr >> 7) & 0x7; in load_i2c_mcr_reg() 331 if (dev->cli.operation == I2C_WRITE) in load_i2c_mcr_reg() 342 mcr |= GEN_MASK(dev->cli.count, I2C_MCR_LENGTH, 15); in load_i2c_mcr_reg() 485 dev->cli.slave_adr); in read_i2c() 497 (dev->cli.count != 0); in fill_tx_fifo() 500 writeb(*dev->cli.buffer, in fill_tx_fifo() 502 dev->cli.buffer++; in fill_tx_fifo() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | lustre_mdc.h | 151 struct client_obd *cli = &exp->exp_obd->u.cli; in mdc_update_max_ea_from_body() local 153 if (cli->cl_max_mds_easize < body->max_mdsize) { in mdc_update_max_ea_from_body() 154 cli->cl_max_mds_easize = body->max_mdsize; in mdc_update_max_ea_from_body() 155 cli->cl_default_mds_easize = in mdc_update_max_ea_from_body() 158 if (cli->cl_max_mds_cookiesize < body->max_cookiesize) { in mdc_update_max_ea_from_body() 159 cli->cl_max_mds_cookiesize = body->max_cookiesize; in mdc_update_max_ea_from_body() 160 cli->cl_default_mds_cookiesize = in mdc_update_max_ea_from_body()
|
D | obd.h | 366 #define obd2cli_tgt(obd) ((char *)(obd)->u.cli.cl_target_uuid.uuid) 773 struct client_obd cli; member 1276 static inline int client_should_resend(int resend, struct client_obd *cli) in client_should_resend() argument 1278 return atomic_read(&cli->cl_resends) ? in client_should_resend() 1279 atomic_read(&cli->cl_resends) > resend : 1; in client_should_resend() 1339 return obd->u.cli.cl_max_pages_per_rpc << PAGE_CACHE_SHIFT; in cli_brw_size()
|
D | obd_class.h | 256 down_read(&(obd)->u.cli.cl_sem); in lprocfs_climp_check() 257 if (!(obd)->u.cli.cl_import) { in lprocfs_climp_check() 258 up_read(&(obd)->u.cli.cl_sem); in lprocfs_climp_check() 562 down_write(&obd->u.cli.cl_sem); in obd_cleanup_client_import() 563 if (obd->u.cli.cl_import) { in obd_cleanup_client_import() 566 imp = obd->u.cli.cl_import; in obd_cleanup_client_import() 571 obd->u.cli.cl_import = NULL; in obd_cleanup_client_import() 573 up_write(&obd->u.cli.cl_sem); in obd_cleanup_client_import()
|
D | lprocfs_status.h | 628 up_read(&(obd)->u.cli.cl_sem)
|
/linux-4.4.14/drivers/staging/lustre/lustre/fid/ |
D | fid_request.c | 113 mdc_get_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in seq_client_rpc() 116 mdc_put_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in seq_client_rpc() 428 struct client_obd *cli = &obd->u.cli; in client_fid_init() local 432 cli->cl_seq = kzalloc(sizeof(*cli->cl_seq), GFP_NOFS); in client_fid_init() 433 if (!cli->cl_seq) in client_fid_init() 445 rc = seq_client_init(cli->cl_seq, exp, type, prefix); in client_fid_init() 452 kfree(cli->cl_seq); in client_fid_init() 453 cli->cl_seq = NULL; in client_fid_init() 460 struct client_obd *cli = &obd->u.cli; in client_fid_fini() local 462 if (cli->cl_seq != NULL) { in client_fid_fini() [all …]
|
D | lproc_fid.c | 200 struct client_obd *cli; in ldebugfs_fid_server_seq_show() local 205 cli = &seq->lcs_exp->exp_obd->u.cli; in ldebugfs_fid_server_seq_show() 206 seq_printf(m, "%s\n", cli->cl_target_uuid.uuid); in ldebugfs_fid_server_seq_show()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_lproc.c | 75 struct client_obd *cli = &dev->u.cli; in sptlrpc_info_lprocfs_seq_show() local 83 if (cli->cl_import) in sptlrpc_info_lprocfs_seq_show() 84 sec = sptlrpc_import_sec_ref(cli->cl_import); in sptlrpc_info_lprocfs_seq_show() 115 struct client_obd *cli = &dev->u.cli; in sptlrpc_ctxs_lprocfs_seq_show() local 122 if (cli->cl_import) in sptlrpc_ctxs_lprocfs_seq_show() 123 sec = sptlrpc_import_sec_ref(cli->cl_import); in sptlrpc_ctxs_lprocfs_seq_show()
|
D | import.c | 785 struct client_obd *cli = &imp->imp_obd->u.cli; in ptlrpc_connect_interpret() local 1089 cli->cl_checksum = 0; in ptlrpc_connect_interpret() 1090 cli->cl_supp_cksum_types = OBD_CKSUM_ADLER; in ptlrpc_connect_interpret() 1092 cli->cl_supp_cksum_types = ocd->ocd_cksum_types; in ptlrpc_connect_interpret() 1097 cli->cl_supp_cksum_types = OBD_CKSUM_ADLER; in ptlrpc_connect_interpret() 1099 cli->cl_cksum_type = cksum_type_select(cli->cl_supp_cksum_types); in ptlrpc_connect_interpret() 1102 cli->cl_max_pages_per_rpc = in ptlrpc_connect_interpret() 1104 cli->cl_max_pages_per_rpc); in ptlrpc_connect_interpret() 1107 cli->cl_max_pages_per_rpc = 1; in ptlrpc_connect_interpret() 1143 LASSERT((cli->cl_max_pages_per_rpc <= PTLRPC_MAX_BRW_PAGES) && in ptlrpc_connect_interpret() [all …]
|
D | llog_net.c | 60 new_imp = ctxt->loc_obd->u.cli.cl_import; in llog_initiator_connect()
|
D | sec_config.c | 815 CDEBUG(D_SEC, "obd %s\n", obd->u.cli.cl_target_uuid.uuid); in sptlrpc_conf_client_adapt() 818 down_read(&obd->u.cli.cl_sem); in sptlrpc_conf_client_adapt() 820 imp = obd->u.cli.cl_import; in sptlrpc_conf_client_adapt() 829 up_read(&obd->u.cli.cl_sem); in sptlrpc_conf_client_adapt()
|
D | lproc_ptlrpc.c | 1199 req = ptlrpc_prep_ping(obd->u.cli.cl_import); in lprocfs_wr_ping() 1223 struct obd_import *imp = obd->u.cli.cl_import; in lprocfs_wr_import() 1286 struct obd_import *imp = obd->u.cli.cl_import; in lprocfs_rd_pinger_recov() 1304 struct client_obd *cli = &obd->u.cli; in lprocfs_wr_pinger_recov() local 1305 struct obd_import *imp = cli->cl_import; in lprocfs_wr_pinger_recov()
|
D | sec_null.c | 88 obd->u.cli.cl_sp_me); in null_ctx_sign()
|
D | pinger.c | 70 req = ptlrpc_prep_ping(obd->u.cli.cl_import); in ptlrpc_obd_ping()
|
D | sec.c | 1363 struct client_obd *cliobd = &imp->imp_obd->u.cli; in sptlrpc_import_sec_adapt() 1376 sp = imp->imp_obd->u.cli.cl_sp_me; in sptlrpc_import_sec_adapt() 2257 return obd_uuid2str(&sec->ps_import->imp_obd->u.cli.cl_target_uuid); in sec2target_str()
|
/linux-4.4.14/drivers/iio/common/ms_sensors/ |
D | ms_sensors_i2c.h | 46 int ms_sensors_reset(void *cli, u8 cmd, unsigned int delay); 47 int ms_sensors_read_prom_word(void *cli, int cmd, u16 *word); 48 int ms_sensors_convert_and_read(void *cli, u8 conv, u8 rd,
|
D | ms_sensors_i2c.c | 48 int ms_sensors_reset(void *cli, u8 cmd, unsigned int delay) in ms_sensors_reset() argument 51 struct i2c_client *client = cli; in ms_sensors_reset() 74 int ms_sensors_read_prom_word(void *cli, int cmd, u16 *word) in ms_sensors_read_prom_word() argument 77 struct i2c_client *client = (struct i2c_client *)cli; in ms_sensors_read_prom_word() 105 int ms_sensors_convert_and_read(void *cli, u8 conv, u8 rd, in ms_sensors_convert_and_read() argument 110 struct i2c_client *client = (struct i2c_client *)cli; in ms_sensors_convert_and_read()
|
/linux-4.4.14/drivers/staging/iio/magnetometer/ |
D | hmc5843_i2c.c | 59 static int hmc5843_i2c_probe(struct i2c_client *cli, in hmc5843_i2c_probe() argument 62 return hmc5843_common_probe(&cli->dev, in hmc5843_i2c_probe() 63 devm_regmap_init_i2c(cli, &hmc5843_i2c_regmap_config), in hmc5843_i2c_probe()
|
/linux-4.4.14/drivers/staging/lustre/lustre/lclient/ |
D | lcommon_misc.c | 97 struct client_obd *cli; in cl_ocd_update() local 102 cli = &watched->u.cli; in cl_ocd_update() 104 flags = cli->cl_import->imp_connect_data.ocd_connect_flags; in cl_ocd_update()
|
/linux-4.4.14/drivers/staging/lustre/lustre/mgc/ |
D | mgc_request.c | 449 imp = obd->u.cli.cl_import; in lprocfs_mgc_rd_ir_state() 488 down_read(&cld->cld_mgcexp->exp_obd->u.cli.cl_sem); in do_requeue() 489 if (cld->cld_mgcexp->exp_obd->u.cli.cl_conn_count != 0) { in do_requeue() 496 up_read(&cld->cld_mgcexp->exp_obd->u.cli.cl_sem); in do_requeue() 798 !lock->l_conn_export->exp_obd->u.cli.cl_conn_count) { in mgc_blocking_ast() 985 struct client_obd *cli = &exp->exp_obd->u.cli; in mgc_set_info_async() local 996 if (cli->cl_flvr_mgc.sf_rpc != SPTLRPC_FLVR_INVALID) in mgc_set_info_async() 1012 if (cli->cl_flvr_mgc.sf_rpc == SPTLRPC_FLVR_INVALID) { in mgc_set_info_async() 1013 cli->cl_flvr_mgc = flvr; in mgc_set_info_async() 1014 } else if (memcmp(&cli->cl_flvr_mgc, &flvr, in mgc_set_info_async() [all …]
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | blackfin.h | 66 cli scratch; \ 72 cli scratch; \
|
D | context.S | 74 cli r0;
|
/linux-4.4.14/arch/x86/include/asm/ |
D | irqflags.h | 115 #define DISABLE_INTERRUPTS(x) cli 179 cli; \
|
/linux-4.4.14/drivers/iio/temperature/ |
D | tsys01.c | 34 int (*reset)(void *cli, u8 cmd, unsigned int delay); 35 int (*convert_and_read)(void *cli, u8 conv, u8 rd, 37 int (*read_prom_word)(void *cli, int cmd, u16 *word);
|
/linux-4.4.14/drivers/scsi/esas2r/ |
D | esas2r_vda.c | 126 rq->vrq->cli.cmd_rsp_len = in esas2r_process_vda_ioctl() 127 cpu_to_le32(vi->cmd.cli.cmd_rsp_len); in esas2r_process_vda_ioctl() 128 rq->vrq->cli.length = cpu_to_le32(datalen); in esas2r_process_vda_ioctl() 130 firstsg = rq->vrq->cli.sge; in esas2r_process_vda_ioctl() 335 vi->cmd.cli.cmd_rsp_len = in esas2r_complete_vda_ioctl() 453 struct atto_vda_cli_req *vrq = &rq->vrq->cli; in esas2r_build_cli_req()
|
D | atioctl.h | 1161 struct atto_ioctl_vda_cli_cmd cli; member
|
D | atvda.h | 1222 struct atto_vda_cli_req cli; member
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | obd_mount.c | 258 atomic_inc(&obd->u.cli.cl_mgc_refcount); in lustre_start_mgc() 379 atomic_set(&obd->u.cli.cl_mgc_refcount, 1); in lustre_start_mgc() 402 obd->u.cli.cl_mgc_mgsexp = exp; in lustre_start_mgc() 432 LASSERT(atomic_read(&obd->u.cli.cl_mgc_refcount) > 0); in lustre_stop_mgc() 433 if (!atomic_dec_and_test(&obd->u.cli.cl_mgc_refcount)) { in lustre_stop_mgc() 437 atomic_read(&obd->u.cli.cl_mgc_refcount)); in lustre_stop_mgc() 446 if (obd->u.cli.cl_mgc_mgsexp) { in lustre_stop_mgc() 449 rc = obd_disconnect(obd->u.cli.cl_mgc_mgsexp); in lustre_stop_mgc()
|
D | lprocfs_status.c | 499 imp = obd->u.cli.cl_import; in lprocfs_rd_server_uuid() 523 conn = obd->u.cli.cl_import->imp_connection; in lprocfs_rd_conn_uuid() 524 if (conn && obd->u.cli.cl_import) in lprocfs_rd_conn_uuid() 637 imp = obd->u.cli.cl_import; in lprocfs_rd_import() 784 imp = obd->u.cli.cl_import; in lprocfs_rd_state() 830 imp = obd->u.cli.cl_import; in lprocfs_rd_timeouts() 875 flags = obd->u.cli.cl_import->imp_connect_data.ocd_connect_flags; in lprocfs_rd_connect_flags()
|
D | genops.c | 485 &obd->u.cli.cl_target_uuid) && in class_find_client_obd() 651 return obd->u.cli.cl_import; in class_exp2cliimp()
|
D | obd_config.c | 561 imp = obd->u.cli.cl_import; in class_add_conn() 592 imp = obd->u.cli.cl_import; in class_del_conn()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | cnic.h | 410 #define BNX2X_CL_QZONE_ID(bp, cli) \ argument 411 (BNX2X_CHIP_IS_E2_PLUS(bp) ? cli : \ 412 cli + (BP_PORT(bp) * ETH_MAX_RX_CLIENTS_E1H))
|
D | cnic.c | 4926 u32 cli = cp->ethdev->iscsi_l2_client_id; in cnic_init_bnx2x_tx_ring() local 4972 if (cli < MAX_STAT_COUNTER_ID) { in cnic_init_bnx2x_tx_ring() 4975 data->general.statistics_counter_id = cli; in cnic_init_bnx2x_tx_ring() 4994 u32 cli = cp->ethdev->iscsi_l2_client_id; in cnic_init_bnx2x_rx_ring() local 4995 int cl_qzone_id = BNX2X_CL_QZONE_ID(bp, cli); in cnic_init_bnx2x_rx_ring() 5000 data->general.client_id = cli; in cnic_init_bnx2x_rx_ring() 5002 data->general.sp_client_id = cli; in cnic_init_bnx2x_rx_ring() 5179 u32 cli = cp->ethdev->iscsi_l2_client_id; in cnic_init_rings() local 5191 cl_qzone_id = BNX2X_CL_QZONE_ID(bp, cli); in cnic_init_rings() 5196 USTORM_RX_PRODS_E1X_OFFSET(BP_PORT(bp), cli)); in cnic_init_rings() [all …]
|
/linux-4.4.14/arch/mips/kernel/ |
D | genex.S | 425 BUILD_HANDLER ibe be cli silent /* #6 */ 426 BUILD_HANDLER dbe be cli silent /* #7 */ 442 BUILD_HANDLER watch watch cli silent /* #23 */ 446 BUILD_HANDLER mcheck mcheck cli verbose /* #24 */
|
/linux-4.4.14/arch/x86/realmode/rm/ |
D | trampoline_32.S | 39 cli # We should be safe anyway
|
D | trampoline_64.S | 40 cli # We should be safe anyway
|
D | wakeup_asm.S | 40 cli
|
/linux-4.4.14/drivers/video/backlight/ |
D | ili9320.h | 72 struct ili9320_client *cli);
|
/linux-4.4.14/arch/x86/lib/ |
D | cmpxchg16b_emu.S | 34 cli
|
D | atomic64_386_32.S | 18 cli
|
/linux-4.4.14/arch/x86/lguest/ |
D | head_32.S | 62 LGUEST_PATCH(cli, movl $0, lguest_data+LGUEST_DATA_irq_enabled)
|
/linux-4.4.14/arch/blackfin/lib/ |
D | ins.S | 24 # define DO_CLI cli R3;
|
/linux-4.4.14/arch/blackfin/mach-bf561/ |
D | atomic.S | 24 cli \scratch; 43 cli r0; 67 cli r0;
|
/linux-4.4.14/arch/blackfin/mach-bf609/ |
D | dpm.S | 43 cli r0;
|
/linux-4.4.14/arch/sh/include/asm/ |
D | entry-macros.S | 3 .macro cli macro
|
/linux-4.4.14/arch/x86/boot/compressed/ |
D | efi_thunk_64.S | 144 cli
|
D | head_32.S | 109 cli
|
D | head_64.S | 53 cli
|
/linux-4.4.14/arch/sh/kernel/ |
D | entry-common.S | 49 # define preempt_stop() cli ; TRACE_IRQS_OFF
|
/linux-4.4.14/arch/blackfin/mach-common/ |
D | interrupt.S | 89 cli r1;
|
D | entry.S | 332 cli r6; 863 cli r0; 1029 cli r0; 1064 cli r0;
|
/linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
D | lov_ea.c | 168 struct obd_import *imp = tgt->ltd_obd->u.cli.cl_import; in lov_tgt_maxbytes()
|
D | lov_obd.c | 148 tgt_obd->u.cli.cl_sp_me = lov->lov_sp_me; in lov_connect_obd() 156 imp = tgt_obd->u.cli.cl_import; in lov_connect_obd() 449 uuid = &watched->u.cli.cl_target_uuid; in lov_notify()
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | dir.c | 748 if (set_default && mgc->u.cli.cl_mgc_mgsexp) { in ll_dir_setstripe() 765 rc = ll_send_mgc_param(mgc->u.cli.cl_mgc_mgsexp, param); in ll_dir_setstripe() 772 rc = ll_send_mgc_param(mgc->u.cli.cl_mgc_mgsexp, param); in ll_dir_setstripe() 780 rc = ll_send_mgc_param(mgc->u.cli.cl_mgc_mgsexp, param); in ll_dir_setstripe()
|
D | llite_internal.h | 1000 return &obd->u.cli; in sbi2mdc()
|
/linux-4.4.14/net/irda/ircomm/ |
D | ircomm_tty_ioctl.c | 388 save_flags(flags); cli(); in ircomm_tty_ioctl()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
D | qed_cxt.c | 43 #define ILT_CFG_REG(cli, reg) PSWRQ2_REG_ ## cli ## _ ## reg ## _RT_OFFSET argument
|
/linux-4.4.14/Documentation/parisc/ |
D | registers | 71 I (external interrupt mask) used by cli()/sti() macros
|
/linux-4.4.14/arch/sh/kernel/cpu/sh2a/ |
D | entry.S | 47 cli
|
/linux-4.4.14/arch/sh/kernel/cpu/sh2/ |
D | entry.S | 48 cli
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | imx6ul.dtsi | 97 ckil: clock-cli {
|
/linux-4.4.14/Documentation/ide/ |
D | ChangeLog.ide-tape.1995-2002 | 159 * Replace cli()/sti() with hwgroup spinlocks.
|
/linux-4.4.14/Documentation/scsi/ |
D | ChangeLog.1992-1997 | 594 Lots of changes to use save_state/restore_state instead of cli/sti. 619 * ultrastor.c: Use save_flags/restore_flags instead of cli/sti. 669 cli/sti pairs. 1411 can be sloppier about cli/sti in the interrupt routines now
|
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/ |
D | lmv_obd.c | 153 uuid = &watched->u.cli.cl_target_uuid; in lmv_notify() 168 conn_data = &watched->u.cli.cl_import->imp_connect_data; in lmv_notify()
|
/linux-4.4.14/Documentation/power/ |
D | swsusp.txt | 135 read "new" data onto free spots, then cli and copy
|
/linux-4.4.14/Documentation/x86/ |
D | boot.txt | 986 cli(); /* Enter with interrupts disabled! */
|