Searched defs:res_id (Results 1 - 11 of 11) sorted by relevance

/drivers/usb/dwc3/
H A Dgadget.h100 u32 res_id; local
102 res_id = dwc3_readl(dwc->regs, DWC3_DEPCMD(number));
104 return DWC3_DEPCMD_GET_RSC_IDX(res_id);
/drivers/s390/cio/
H A Dscm.c104 scm_attr(res_id); variable
145 scmdev->attrs.res_id = sale->rid;
/drivers/staging/lustre/lustre/mdc/
H A Dmdc_reint.c75 struct ldlm_res_id res_id; local
88 fid_build_reg_res_name(fid, &res_id);
90 NULL, &res_id, 0, 0);
H A Dmdc_locks.c159 struct ldlm_res_id res_id; local
162 fid_build_reg_res_name(fid, &res_id);
166 &res_id, type, policy, mode, lockh, 0);
177 struct ldlm_res_id res_id; local
181 fid_build_reg_res_name(fid, &res_id);
182 rc = ldlm_cli_cancel_unused_resource(obd->obd_namespace, &res_id,
190 struct ldlm_res_id res_id; local
196 fid_build_reg_res_name(fid, &res_id);
198 res = ldlm_resource_get(ns, NULL, &res_id, 0, 0);
218 struct ldlm_res_id res_id; local
799 struct ldlm_res_id res_id; local
1074 struct ldlm_res_id res_id; local
1269 struct ldlm_res_id res_id; local
[all...]
/drivers/staging/lustre/lustre/ldlm/
H A Dldlm_lock.c1228 const struct ldlm_res_id *res_id, ldlm_type_t type,
1241 res_id = &old_lock->l_resource->lr_name;
1246 res = ldlm_resource_get(ns, NULL, res_id, type, 0);
1325 res_id->name[2] : policy->l_extent.start,
1327 res_id->name[3] : policy->l_extent.end);
1343 ns, type, mode, res_id->name[0], res_id->name[1],
1345 res_id->name[2] :policy->l_extent.start,
1347 res_id->name[3] : policy->l_extent.end);
1490 const struct ldlm_res_id *res_id,
1227 ldlm_lock_match(struct ldlm_namespace *ns, __u64 flags, const struct ldlm_res_id *res_id, ldlm_type_t type, ldlm_policy_data_t *policy, ldlm_mode_t mode, struct lustre_handle *lockh, int unref) argument
1489 ldlm_lock_create(struct ldlm_namespace *ns, const struct ldlm_res_id *res_id, ldlm_type_t type, ldlm_mode_t mode, const struct ldlm_callback_suite *cbs, void *data, __u32 lvb_len, enum lvb_type lvb_type) argument
[all...]
H A Dldlm_request.c401 const struct ldlm_res_id *res_id,
424 lock = ldlm_lock_create(ns, res_id, type, mode, &cbs, data, lvb_len,
852 const struct ldlm_res_id *res_id,
882 lock = ldlm_lock_create(ns, res_id, einfo->ei_type,
1884 const struct ldlm_res_id *res_id,
1895 res = ldlm_resource_get(ns, NULL, res_id, 0, 0);
1898 CDEBUG(D_INFO, "No resource %llu\n", res_id->name[0]);
1941 const struct ldlm_res_id *res_id,
1952 if (res_id != NULL) {
1953 return ldlm_cli_cancel_unused_resource(ns, res_id, NUL
400 ldlm_cli_enqueue_local(struct ldlm_namespace *ns, const struct ldlm_res_id *res_id, ldlm_type_t type, ldlm_policy_data_t *policy, ldlm_mode_t mode, __u64 *flags, ldlm_blocking_callback blocking, ldlm_completion_callback completion, ldlm_glimpse_callback glimpse, void *data, __u32 lvb_len, enum lvb_type lvb_type, const __u64 *client_cookie, struct lustre_handle *lockh) argument
850 ldlm_cli_enqueue(struct obd_export *exp, struct ptlrpc_request **reqp, struct ldlm_enqueue_info *einfo, const struct ldlm_res_id *res_id, ldlm_policy_data_t const *policy, __u64 *flags, void *lvb, __u32 lvb_len, enum lvb_type lvb_type, struct lustre_handle *lockh, int async) argument
1883 ldlm_cli_cancel_unused_resource(struct ldlm_namespace *ns, const struct ldlm_res_id *res_id, ldlm_policy_data_t *policy, ldlm_mode_t mode, ldlm_cancel_flags_t flags, void *opaque) argument
1940 ldlm_cli_cancel_unused(struct ldlm_namespace *ns, const struct ldlm_res_id *res_id, ldlm_cancel_flags_t flags, void *opaque) argument
2050 ldlm_resource_iterate(struct ldlm_namespace *ns, const struct ldlm_res_id *res_id, ldlm_iterator_t iter, void *data) argument
[all...]
/drivers/staging/lustre/lustre/mgc/
H A Dmgc_request.c53 static int mgc_name2resid(char *name, int len, struct ldlm_res_id *res_id, argument
69 memset(res_id, 0, sizeof(*res_id));
70 res_id->name[0] = cpu_to_le64(resname);
84 res_id->name[1] = cpu_to_le64(resname);
86 res_id->name[0], res_id->name[1], (char *)&res_id->name[0]);
90 int mgc_fsname2resid(char *fsname, struct ldlm_res_id *res_id, int type) argument
94 return mgc_name2resid(fsname, strlen(fsname), res_id, typ
98 mgc_logname2resid(char *logname, struct ldlm_res_id *res_id, int type) argument
[all...]
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c1415 * @res_id: Pointer to the user-space resource handle in the command stream.
1428 uint32_t *res_id,
1437 converter, res_id, &val_node);
1423 vmw_cmd_switch_backup(struct vmw_private *dev_priv, struct vmw_sw_context *sw_context, enum vmw_res_type res_type, const struct vmw_user_resource_conv *converter, uint32_t *res_id, uint32_t *buf_id, unsigned long backup_offset) argument
/drivers/staging/lustre/lustre/lov/
H A Dlov_obd.c1975 struct ldlm_res_id *res_id = &data->lock->l_resource->lr_name; local
1997 ostid_res_name_eq(&loi->loi_oi, res_id)) {
/drivers/staging/lustre/lustre/osc/
H A Dosc_request.c665 struct ldlm_res_id res_id; local
678 ostid_build_res_name(&oa->o_oi, &res_id);
679 res = ldlm_resource_get(ns, NULL, &res_id, 0, 0);
2132 struct ldlm_res_id res_id; local
2136 ostid_build_res_name(&lsm->lsm_oi, &res_id);
2137 rc = ldlm_resource_iterate(obd->obd_namespace, &res_id, replace, data);
2249 int osc_enqueue_base(struct obd_export *exp, struct ldlm_res_id *res_id, argument
2293 mode = ldlm_lock_match(obd->obd_namespace, *flags | match_lvb, res_id,
2358 rc = ldlm_cli_enqueue(exp, &req, einfo, res_id, policy, flags, lvb,
2393 int osc_match_base(struct obd_export *exp, struct ldlm_res_id *res_id, argument
2793 struct ldlm_res_id res_id; local
[all...]
/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c71 u64 res_id; member in struct:res_common
229 static void *res_tracker_lookup(struct rb_root *root, u64 res_id) argument
237 if (res_id < res->res_id)
239 else if (res_id > res->res_id)
257 if (res->res_id < this->res_id)
259 else if (res->res_id > this->res_id)
774 find_res(struct mlx4_dev *dev, u64 res_id, enum mlx4_resource type) argument
783 get_res(struct mlx4_dev *dev, int slave, u64 res_id, enum mlx4_resource type, void *res) argument
818 mlx4_get_slave_from_resource_id(struct mlx4_dev *dev, enum mlx4_resource type, u64 res_id, int *slave) argument
841 put_res(struct mlx4_dev *dev, int slave, u64 res_id, enum mlx4_resource type) argument
2834 int res_id = (slave << 8) | eqn; local
3016 int res_id = eqn | (slave << 8); local
3054 int res_id; local
3116 int res_id = eqn | (slave << 8); local
[all...]

Completed in 168 milliseconds