[go: nahoru, domu]

Searched defs:oc (Results 1 - 16 of 16) sorted by relevance

/drivers/staging/lustre/lustre/mdc/
H A Dmdc_internal.h53 struct obd_capa *oc, __u64 valid, int ea_size,
56 const struct req_msg_field *field, struct obd_capa *oc);
63 const struct lu_fid *fid, struct obd_capa *oc);
152 struct obd_capa *oc)
154 if (oc == NULL)
150 mdc_set_capa_size(struct ptlrpc_request *req, const struct req_msg_field *field, struct obd_capa *oc) argument
H A Dmdc_lib.c57 struct obd_capa *oc)
62 if (oc == NULL) {
69 capa_cpy(c, oc);
104 const struct lu_fid *fid, struct obd_capa *oc,
117 mdc_pack_capa(req, &RMF_CAPA1, oc);
122 __u32 size, const struct lu_fid *fid, struct obd_capa *oc)
133 mdc_pack_capa(req, &RMF_CAPA1, oc);
55 mdc_pack_capa(struct ptlrpc_request *req, const struct req_msg_field *field, struct obd_capa *oc) argument
103 mdc_pack_body(struct ptlrpc_request *req, const struct lu_fid *fid, struct obd_capa *oc, __u64 valid, int ea_size, __u32 suppgid, int flags) argument
121 mdc_readdir_pack(struct ptlrpc_request *req, __u64 pgoff, __u32 size, const struct lu_fid *fid, struct obd_capa *oc) argument
H A Dmdc_request.c64 const struct req_msg_field *field, struct obd_capa **oc)
80 *oc = c;
336 struct obd_capa *oc, int opcode, u64 valid,
351 mdc_set_capa_size(req, &RMF_CAPA1, oc);
409 mdc_pack_capa(req, &RMF_CAPA1, oc);
411 mdc_pack_body(req, fid, oc, valid, output_size, suppgid, flags);
445 struct obd_capa *oc, u64 valid, const char *xattr_name,
450 fid, oc, MDS_REINT, valid, xattr_name,
456 struct obd_capa *oc, u64 valid, const char *xattr_name,
461 fid, oc, MDS_GETXATT
63 mdc_unpack_capa(struct obd_export *exp, struct ptlrpc_request *req, const struct req_msg_field *field, struct obd_capa **oc) argument
333 mdc_xattr_common(struct obd_export *exp, const struct req_format *fmt, const struct lu_fid *fid, struct obd_capa *oc, int opcode, u64 valid, const char *xattr_name, const char *input, int input_size, int output_size, int flags, __u32 suppgid, struct ptlrpc_request **request) argument
444 mdc_setxattr(struct obd_export *exp, const struct lu_fid *fid, struct obd_capa *oc, u64 valid, const char *xattr_name, const char *input, int input_size, int output_size, int flags, __u32 suppgid, struct ptlrpc_request **request) argument
455 mdc_getxattr(struct obd_export *exp, const struct lu_fid *fid, struct obd_capa *oc, u64 valid, const char *xattr_name, const char *input, int input_size, int output_size, int flags, struct ptlrpc_request **request) argument
619 struct obd_capa *oc = NULL; local
628 struct obd_capa *oc = NULL; local
2266 mdc_sync(struct obd_export *exp, const struct lu_fid *fid, struct obd_capa *oc, struct ptlrpc_request **request) argument
2553 mdc_get_remote_perm(struct obd_export *exp, const struct lu_fid *fid, struct obd_capa *oc, __u32 suppgid, struct ptlrpc_request **request) argument
2624 mdc_renew_capa(struct obd_export *exp, struct obd_capa *oc, renew_capa_cb_t cb) argument
[all...]
/drivers/staging/lustre/lustre/llite/
H A Dremote_perm.c253 struct obd_capa *oc; local
280 oc = ll_mdscapa_get(inode);
281 rc = md_get_remote_perm(sbi->ll_md_exp, ll_inode2fid(inode), oc,
283 capa_put(oc);
H A Dllite_capa.c140 static inline int obd_capa_open_count(struct obd_capa *oc) argument
142 struct ll_inode_info *lli = ll_i2info(oc->u.cli.inode);
514 static inline void delay_capa_renew(struct obd_capa *oc, unsigned long delay) argument
517 oc->c_expiry = cfs_time_add(oc->c_expiry, cfs_time_seconds(delay));
H A Dxattr.c114 struct obd_capa *oc; local
191 oc = ll_mdscapa_get(inode);
192 rc = md_setxattr(sbi->ll_md_exp, ll_inode2fid(inode), oc,
195 capa_put(oc);
293 struct obd_capa *oc; local
384 oc = ll_mdscapa_get(inode);
385 rc = md_getxattr(sbi->ll_md_exp, ll_inode2fid(inode), oc,
388 capa_put(oc);
H A Dllite_lib.c159 struct obd_capa *oc = NULL; local
472 err = md_getstatus(sbi->ll_md_exp, &sbi->ll_root_fid, &oc);
507 op_data->op_capa1 = oc;
511 if (oc)
512 capa_put(oc);
H A Dnamei.c1031 struct obd_capa *oc = NULL; local
1084 rc = md_unpack_capa(ll_i2mdexp(dir), request, &RMF_CAPA2, &oc);
1090 ll_i2mdexp(dir), oc);
1091 capa_put(oc);
H A Dfile.c2637 struct obd_capa *oc; local
2659 oc = ll_mdscapa_get(inode);
2660 err = md_sync(ll_i2sbi(inode)->ll_md_exp, ll_inode2fid(inode), oc,
2662 capa_put(oc);
3342 struct obd_capa *oc; local
3362 oc = ll_mdscapa_get(inode);
3365 rc = md_getxattr(sbi->ll_md_exp, ll_inode2fid(inode), oc,
3368 capa_put(oc);
/drivers/staging/lustre/lustre/obdclass/
H A Dcapa.c122 struct obd_capa *oc; local
126 hlist_for_each_entry_safe(oc, next, hash + i,
128 capa_delete(oc);
144 static inline int capa_is_to_expire(struct obd_capa *oc) argument
146 return time_before(cfs_time_sub(oc->c_expiry,
147 cfs_time_seconds(oc->c_capa.lc_timeout)*2/3),
/drivers/block/drbd/
H A Ddrbd_state.c665 is_valid_conn_transition(enum drbd_conns oc, enum drbd_conns nc) argument
668 if (oc == nc)
672 if (oc == C_STANDALONE && nc == C_DISCONNECTING)
676 if (oc == C_STANDALONE && nc != C_UNCONNECTED)
681 if (oc < C_WF_REPORT_PARAMS && nc >= C_CONNECTED)
685 if (oc >= C_TIMEOUT && oc <= C_TEAR_DOWN && nc != C_UNCONNECTED && nc != C_DISCONNECTING)
689 if (oc == C_DISCONNECTING && nc != C_STANDALONE)
1544 enum drbd_conns oc; member in struct:__anon307::after_conn_state_chg_work
1556 enum drbd_conns oc local
1797 enum drbd_conns oc = connection->cstate; local
[all...]
H A Ddrbd_receiver.c4650 enum drbd_conns oc; local
4690 oc = connection->cstate;
4691 if (oc >= C_UNCONNECTED)
4696 if (oc == C_DISCONNECTING)
/drivers/s390/cio/
H A Dchsc.h208 u8 oc; member in struct:chsc_pnso_area
/drivers/staging/lustre/lustre/lmv/
H A Dlmv_obd.c1501 struct obd_capa *oc, u64 valid, const char *name,
1518 rc = md_getxattr(tgt->ltd_exp, fid, oc, valid, name, input,
1525 struct obd_capa *oc, u64 valid, const char *name,
1543 rc = md_setxattr(tgt->ltd_exp, fid, oc, valid, name, input,
2061 struct obd_capa *oc, struct ptlrpc_request **request)
2076 rc = md_sync(tgt->ltd_exp, fid, oc, request);
2652 struct obd_capa *oc, __u32 suppgid,
2668 rc = md_get_remote_perm(tgt->ltd_exp, fid, oc, suppgid, request);
2672 static int lmv_renew_capa(struct obd_export *exp, struct obd_capa *oc, argument
2684 tgt = lmv_find_target(lmv, &oc
1500 lmv_getxattr(struct obd_export *exp, const struct lu_fid *fid, struct obd_capa *oc, u64 valid, const char *name, const char *input, int input_size, int output_size, int flags, struct ptlrpc_request **request) argument
1524 lmv_setxattr(struct obd_export *exp, const struct lu_fid *fid, struct obd_capa *oc, u64 valid, const char *name, const char *input, int input_size, int output_size, int flags, __u32 suppgid, struct ptlrpc_request **request) argument
2060 lmv_sync(struct obd_export *exp, const struct lu_fid *fid, struct obd_capa *oc, struct ptlrpc_request **request) argument
2650 lmv_get_remote_perm(struct obd_export *exp, const struct lu_fid *fid, struct obd_capa *oc, __u32 suppgid, struct ptlrpc_request **request) argument
2692 lmv_unpack_capa(struct obd_export *exp, struct ptlrpc_request *req, const struct req_msg_field *field, struct obd_capa **oc) argument
[all...]
/drivers/staging/lustre/lustre/include/
H A Dobd_class.h1628 struct obd_capa *oc, struct ptlrpc_request **request)
1634 rc = MDP(exp->exp_obd, sync)(exp, fid, oc, request);
1681 const struct lu_fid *fid, struct obd_capa *oc,
1689 return MDP(exp->exp_obd, setxattr)(exp, fid, oc, valid, name, input,
1695 const struct lu_fid *fid, struct obd_capa *oc,
1703 return MDP(exp->exp_obd, getxattr)(exp, fid, oc, valid, name, input,
1775 struct obd_capa *oc, __u32 suppgid,
1780 return MDP(exp->exp_obd, get_remote_perm)(exp, fid, oc, suppgid,
1798 struct obd_capa **oc)
1804 rc = MDP(exp->exp_obd, unpack_capa)(exp, req, field, oc);
1627 md_sync(struct obd_export *exp, const struct lu_fid *fid, struct obd_capa *oc, struct ptlrpc_request **request) argument
1680 md_setxattr(struct obd_export *exp, const struct lu_fid *fid, struct obd_capa *oc, u64 valid, const char *name, const char *input, int input_size, int output_size, int flags, __u32 suppgid, struct ptlrpc_request **request) argument
1694 md_getxattr(struct obd_export *exp, const struct lu_fid *fid, struct obd_capa *oc, u64 valid, const char *name, const char *input, int input_size, int output_size, int flags, struct ptlrpc_request **request) argument
1773 md_get_remote_perm(struct obd_export *exp, const struct lu_fid *fid, struct obd_capa *oc, __u32 suppgid, struct ptlrpc_request **request) argument
1795 md_unpack_capa(struct obd_export *exp, struct ptlrpc_request *req, const struct req_msg_field *field, struct obd_capa **oc) argument
[all...]
/drivers/staging/lustre/lustre/osc/
H A Dosc_request.c196 struct obd_capa *oc = (struct obd_capa *)capa; local
204 capa_cpy(c, oc);
224 struct obd_capa *oc)
226 if (oc == NULL)
222 osc_set_capa_size(struct ptlrpc_request *req, const struct req_msg_field *field, struct obd_capa *oc) argument

Completed in 203 milliseconds