[go: nahoru, domu]

Searched defs:cli (Results 1 - 25 of 39) sorted by relevance

12

/drivers/gpu/drm/nouveau/
H A Dnv17_fence.c36 struct nouveau_cli *cli = (void *)nvif_client(&prev->device->base); local
42 if (!mutex_trylock(&cli->mutex))
69 mutex_unlock(&cli->mutex);
H A Dnouveau_dma.c85 struct nouveau_cli *cli = (void *)nvif_client(&chan->device->base); local
91 vma = nouveau_bo_vma_find(bo, cli->vm);
H A Dnv84_fence.c134 struct nouveau_cli *cli = (void *)nvif_client(&chan->device->base); local
151 ret = nouveau_bo_vma_add(priv->bo, cli->vm, &fctx->vma);
153 ret = nouveau_bo_vma_add(priv->bo_gart, cli->vm,
160 ret = nouveau_bo_vma_add(bo, cli->vm, &fctx->dispc_vma[i]);
H A Dnouveau_abi16.c38 struct nouveau_cli *cli = nouveau_cli(file_priv); local
39 mutex_lock(&cli->mutex);
40 if (!cli->abi16) {
42 cli->abi16 = abi16 = kzalloc(sizeof(*abi16), GFP_KERNEL);
43 if (cli->abi16) {
54 if (nvif_device_init(&cli->base.base, NULL,
58 return cli->abi16;
60 kfree(cli->abi16);
61 cli->abi16 = NULL;
64 mutex_unlock(&cli
72 struct nouveau_cli *cli = (void *)nvif_client(&abi16->device.base); local
146 struct nouveau_cli *cli = (void *)nvif_client(&abi16->device.base); local
164 struct nouveau_cli *cli = nouveau_cli(file_priv); local
238 struct nouveau_cli *cli = nouveau_cli(file_priv); local
[all...]
H A Dnouveau_chan.c45 struct nouveau_cli *cli = (void *)nvif_client(chan->object); local
56 NV_PRINTK(error, cli, "failed to idle channel 0x%08x [%s]\n",
57 chan->object->handle, nvkm_client(&cli->base)->name);
90 struct nouveau_cli *cli = (void *)nvif_client(&device->base); local
129 ret = nouveau_bo_vma_add(chan->push.buffer, cli->vm,
139 args.limit = cli->vm->vmm->limit - 1;
283 struct nouveau_cli *cli = (void *)nvif_client(&device->base); local
298 args.limit = cli->vm->vmm->limit - 1;
316 args.limit = cli->vm->vmm->limit - 1;
390 save = cli
402 struct nouveau_cli *cli = (void *)nvif_client(&device->base); local
[all...]
H A Dnouveau_fence.c172 struct nouveau_cli *cli = (void *)nvif_client(chan->object); local
185 strcpy(fctx->name, nvkm_client(&cli->base)->name);
H A Dnouveau_usif.c55 struct nouveau_cli *cli = nouveau_cli(filp); local
57 list_for_each_entry(ntfy, &cli->notifys, head) {
123 struct nouveau_cli *cli = nouveau_cli(f); local
124 struct nvif_client *client = &cli->base;
158 list_add(&ntfy->head, &cli->notifys);
167 struct nouveau_cli *cli = nouveau_cli(f); local
168 struct nvif_client *client = &cli->base;
190 struct nouveau_cli *cli = nouveau_cli(f); local
191 struct nvif_client *client = &cli->base;
229 struct nouveau_cli *cli local
266 struct nouveau_cli *cli = nouveau_cli(f); local
296 struct nouveau_cli *cli = nouveau_cli(filp); local
365 usif_client_fini(struct nouveau_cli *cli) argument
380 usif_client_init(struct nouveau_cli *cli) argument
[all...]
H A Dnouveau_drm.c109 struct nouveau_cli *cli = *pcli = kzalloc(size, GFP_KERNEL); local
110 if (cli) {
113 &cli->base);
115 mutex_init(&cli->mutex);
116 usif_client_init(cli);
124 nouveau_cli_destroy(struct nouveau_cli *cli) argument
126 nouveau_vm_ref(NULL, &nvkm_client(&cli->base)->vm, NULL);
127 nvif_client_fini(&cli->base);
128 usif_client_fini(cli);
550 struct nouveau_cli *cli; local
640 struct nouveau_cli *cli; local
709 struct nouveau_cli *cli; local
756 struct nouveau_cli *cli = nouveau_cli(fpriv); local
773 struct nouveau_cli *cli = nouveau_cli(fpriv); local
[all...]
H A Dnouveau_display.c699 struct nouveau_cli *cli; local
706 cli = (void *)nvif_client(&chan->device->base);
718 mutex_lock(&cli->mutex);
777 mutex_unlock(&cli->mutex);
793 mutex_unlock(&cli->mutex);
H A Dnouveau_gem.c54 struct nouveau_cli *cli = nouveau_cli(file_priv); local
59 if (!cli->vm)
66 vma = nouveau_bo_vma_find(nvbo, cli->vm);
74 ret = nouveau_bo_vma_add(nvbo, cli->vm, vma);
130 struct nouveau_cli *cli = nouveau_cli(file_priv); local
135 if (!cli->vm)
142 vma = nouveau_bo_vma_find(nvbo, cli->vm);
198 struct nouveau_cli *cli = nouveau_cli(file_priv); local
208 if (cli->vm) {
209 vma = nouveau_bo_vma_find(nvbo, cli
228 struct nouveau_cli *cli = nouveau_cli(file_priv); local
339 struct nouveau_cli *cli = nouveau_cli(file_priv); local
434 validate_list(struct nouveau_channel *chan, struct nouveau_cli *cli, struct list_head *list, struct drm_nouveau_gem_pushbuf_bo *pbbo, uint64_t user_pbbo_ptr) argument
501 struct nouveau_cli *cli = nouveau_cli(file_priv); local
559 nouveau_gem_pushbuf_reloc_apply(struct nouveau_cli *cli, struct drm_nouveau_gem_pushbuf *req, struct drm_nouveau_gem_pushbuf_bo *bo) argument
644 struct nouveau_cli *cli = nouveau_cli(file_priv); local
[all...]
/drivers/staging/lustre/lustre/fid/
H A Dlproc_fid.c203 struct client_obd *cli; local
209 cli = &seq->lcs_exp->exp_obd->u.cli;
210 rc = seq_printf(m, "%s\n", cli->cl_target_uuid.uuid);
H A Dfid_request.c111 mdc_get_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL);
114 mdc_put_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL);
479 "cli-%s", prefix);
504 struct client_obd *cli = &obd->u.cli; local
508 OBD_ALLOC_PTR(cli->cl_seq);
509 if (cli->cl_seq == NULL)
518 snprintf(prefix, MAX_OBD_NAME + 5, "cli-%s", obd->obd_name);
521 rc = seq_client_init(cli->cl_seq, exp, type, prefix, NULL);
528 OBD_FREE_PTR(cli
536 struct client_obd *cli = &obd->u.cli; local
[all...]
/drivers/staging/lustre/lustre/include/
H A Dlustre_mdc.h151 struct client_obd *cli = &exp->exp_obd->u.cli; local
153 if (cli->cl_max_mds_easize < body->max_mdsize) {
154 cli->cl_max_mds_easize = body->max_mdsize;
155 cli->cl_default_mds_easize =
158 if (cli->cl_max_mds_cookiesize < body->max_cookiesize) {
159 cli->cl_max_mds_cookiesize = body->max_cookiesize;
160 cli->cl_default_mds_cookiesize =
H A Dlustre_capa.h90 struct client_capa cli; member in union:obd_capa::__anon6574
210 INIT_LIST_HEAD(&ocapa->u.cli.lli_list);
239 LASSERT(list_empty(&ocapa->u.cli.lli_list));
/drivers/staging/lustre/lustre/ptlrpc/
H A Dsec_lproc.c79 struct client_obd *cli = &dev->u.cli; local
87 if (cli->cl_import)
88 sec = sptlrpc_import_sec_ref(cli->cl_import);
118 struct client_obd *cli = &dev->u.cli; local
125 if (cli->cl_import)
126 sec = sptlrpc_import_sec_ref(cli->cl_import);
/drivers/staging/lustre/lustre/lclient/
H A Dlcommon_misc.c98 struct client_obd *cli; local
103 cli = &watched->u.cli;
105 flags = cli->cl_import->imp_connect_data.ocd_connect_flags;
/drivers/staging/lustre/lustre/mdc/
H A Dlproc_mdc.c45 struct client_obd *cli = &dev->u.cli; local
48 client_obd_list_lock(&cli->cl_loi_list_lock);
49 rc = seq_printf(m, "%u\n", cli->cl_max_rpcs_in_flight);
50 client_obd_list_unlock(&cli->cl_loi_list_lock);
61 struct client_obd *cli = &dev->u.cli; local
71 client_obd_list_lock(&cli->cl_loi_list_lock);
72 cli->cl_max_rpcs_in_flight = val;
73 client_obd_list_unlock(&cli
[all...]
H A Dmdc_lib.c535 static int mdc_req_avail(struct client_obd *cli, struct mdc_cache_waiter *mcw) argument
539 client_obd_list_lock(&cli->cl_loi_list_lock);
541 client_obd_list_unlock(&cli->cl_loi_list_lock);
545 /* We record requests in flight in cli->cl_r_in_flight here.
548 int mdc_enter_request(struct client_obd *cli) argument
554 client_obd_list_lock(&cli->cl_loi_list_lock);
555 if (cli->cl_r_in_flight >= cli->cl_max_rpcs_in_flight) {
556 list_add_tail(&mcw.mcw_entry, &cli->cl_cache_waiters);
558 client_obd_list_unlock(&cli
575 mdc_exit_request(struct client_obd *cli) argument
[all...]
/drivers/staging/lustre/lustre/fld/
H A Dfld_request.c63 static int fld_req_avail(struct client_obd *cli, struct mdc_cache_waiter *mcw) argument
67 client_obd_list_lock(&cli->cl_loi_list_lock);
69 client_obd_list_unlock(&cli->cl_loi_list_lock);
73 static void fld_enter_request(struct client_obd *cli) argument
78 client_obd_list_lock(&cli->cl_loi_list_lock);
79 if (cli->cl_r_in_flight >= cli->cl_max_rpcs_in_flight) {
80 list_add_tail(&mcw.mcw_entry, &cli->cl_cache_waiters);
82 client_obd_list_unlock(&cli->cl_loi_list_lock);
83 l_wait_event(mcw.mcw_waitq, fld_req_avail(cli,
90 fld_exit_request(struct client_obd *cli) argument
[all...]
/drivers/staging/lustre/lustre/ldlm/
H A Dldlm_lib.c263 struct client_obd *cli = &obddev->u.cli; local
277 cli->cl_sp_me = LUSTRE_SP_CLI;
278 cli->cl_sp_to = LUSTRE_SP_OST;
285 cli->cl_sp_me = LUSTRE_SP_CLI;
286 cli->cl_sp_to = LUSTRE_SP_MDT;
292 cli->cl_sp_to = LUSTRE_SP_MDT;
298 cli->cl_sp_to = LUSTRE_SP_OST;
303 cli->cl_sp_me = LUSTRE_SP_CLI;
308 cli
495 struct client_obd *cli = &obd->u.cli; local
560 struct client_obd *cli; local
[all...]
H A Dldlm_lockd.c544 struct client_obd *cli = &req->rq_export->exp_obd->u.cli; local
554 cli->cl_qchk_stat = oqctl->qc_stat;
/drivers/staging/lustre/lustre/osc/
H A Dosc_internal.h93 void osc_wake_cache_waiters(struct client_obd *cli);
94 int osc_shrink_grant_to_target(struct client_obd *cli, __u64 target_bytes);
95 void osc_update_next_shrink(struct client_obd *cli);
130 int osc_build_rpc(const struct lu_env *env, struct client_obd *cli,
132 int osc_lru_shrink(struct client_obd *cli, int target);
158 static inline unsigned long rpcs_in_flight(struct client_obd *cli) argument
160 return cli->cl_r_in_flight + cli->cl_w_in_flight;
199 int osc_quota_setdq(struct client_obd *cli, const unsigned int qid[],
201 int osc_quota_chkdq(struct client_obd *cli, cons
[all...]
H A Dosc_quota.c45 int osc_quota_chkdq(struct client_obd *cli, const unsigned int qid[]) argument
52 oqi = cfs_hash_lookup(cli->cl_quota_hash[type], &qid[type]);
73 int osc_quota_setdq(struct client_obd *cli, const unsigned int qid[], argument
89 oqi = cfs_hash_lookup(cli->cl_quota_hash[type], &qid[type]);
102 rc = cfs_hash_add_unique(cli->cl_quota_hash[type],
111 cli->cl_import->imp_obd->obd_name,
120 oqi = cfs_hash_del_key(cli->cl_quota_hash[type],
126 cli->cl_import->imp_obd->obd_name,
207 struct client_obd *cli = &obd->u.cli; local
235 struct client_obd *cli = &obd->u.cli; local
288 struct client_obd *cli = &exp->exp_obd->u.cli; local
316 struct client_obd *cli = &exp->exp_obd->u.cli; local
[all...]
H A Dlproc_osc.c51 rc = seq_printf(m, "%d\n", !dev->u.cli.cl_import->imp_deactive);
69 if (dev->u.cli.cl_import->imp_deactive == val)
70 rc = ptlrpc_set_import_active(dev->u.cli.cl_import, val);
81 struct client_obd *cli = &dev->u.cli; local
84 client_obd_list_lock(&cli->cl_loi_list_lock);
85 rc = seq_printf(m, "%u\n", cli->cl_max_rpcs_in_flight);
86 client_obd_list_unlock(&cli->cl_loi_list_lock);
94 struct client_obd *cli = &dev->u.cli; local
121 struct client_obd *cli = &dev->u.cli; local
137 struct client_obd *cli = &dev->u.cli; local
162 struct client_obd *cli = &dev->u.cli; local
182 struct client_obd *cli = &dev->u.cli; local
214 struct client_obd *cli = &dev->u.cli; local
227 struct client_obd *cli = &dev->u.cli; local
240 struct client_obd *cli = &obd->u.cli; local
272 struct client_obd *cli = &dev->u.cli; local
478 struct client_obd *cli = &dev->u.cli; local
574 struct client_obd *cli = &dev->u.cli; local
672 struct client_obd *cli = &dev->u.cli; local
[all...]
H A Dosc_io.c105 struct client_obd *cli = NULL; local
124 cli = osc_cli(osc);
125 max_pages = cli->cl_max_pages_per_rpc;

Completed in 260 milliseconds

12