Home
last modified time | relevance | path

Searched refs:obd_capa (Results 1 – 23 of 23) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_capa.c71 static int ll_update_capa(struct obd_capa *ocapa, struct lustre_capa *capa);
73 static inline void update_capa_timer(struct obd_capa *ocapa, unsigned long expiry) in update_capa_timer()
83 static inline unsigned long capa_renewal_time(struct obd_capa *ocapa) in capa_renewal_time()
89 static inline int capa_is_to_expire(struct obd_capa *ocapa) in capa_is_to_expire()
96 struct obd_capa *ocapa = NULL; in have_expired_capa()
104 ocapa = list_entry(ll_capa_list->next, struct obd_capa, in have_expired_capa()
110 ocapa = list_entry(ll_idle_capas.next, struct obd_capa, in have_expired_capa()
123 static void sort_add_capa(struct obd_capa *ocapa, struct list_head *head) in sort_add_capa()
125 struct obd_capa *tmp; in sort_add_capa()
140 static inline int obd_capa_open_count(struct obd_capa *oc) in obd_capa_open_count()
[all …]
Dllite_internal.h147 struct obd_capa *lli_mds_capa;
1090 struct obd_capa *ll_add_capa(struct inode *inode, struct obd_capa *ocapa);
1095 struct obd_capa *ll_mdscapa_get(struct inode *inode);
1096 struct obd_capa *ll_osscapa_get(struct inode *inode, __u64 opc);
1098 void ll_truncate_free_capa(struct obd_capa *ocapa);
1375 struct obd_capa *cl_capa_lookup(struct inode *inode, enum cl_req_type crt);
Dxattr.c114 struct obd_capa *oc; in ll_setxattr_common()
292 struct obd_capa *oc; in ll_getxattr_common()
Dremote_perm.c252 struct obd_capa *oc; in lustre_check_remote_perm()
Dstatahead.c805 struct obd_capa **pcapa) in sa_args_init()
856 struct obd_capa *capas[2]; in do_sa_lookup()
888 struct obd_capa *capas[2]; in do_sa_revalidate()
Dfile.c916 struct obd_capa *capa, struct obdo *obdo, in ll_lsm_getattr()
967 struct obd_capa *capa = ll_mdscapa_get(inode); in ll_inode_getattr()
2586 struct obd_capa *capa = NULL; in cl_sync_file_range()
2632 struct obd_capa *oc; in ll_fsync()
3330 struct obd_capa *oc; in ll_layout_fetch()
Drw.c280 struct obd_capa *cl_capa_lookup(struct inode *inode, enum cl_req_type crt) in cl_capa_lookup()
Dnamei.c904 struct obd_capa *oc = NULL; in ll_objects_destroy()
Dllite_lib.c158 struct obd_capa *oc = NULL; in client_common_fill_super()
1257 struct obd_capa *capa; in ll_setattr_ost()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_capa.h80 struct obd_capa { struct
174 typedef int (* renew_capa_cb_t)(struct obd_capa *, struct lustre_capa *);
185 struct obd_capa *capa_add(struct hlist_head *hash,
187 struct obd_capa *capa_lookup(struct hlist_head *hash,
193 void capa_cpy(void *dst, struct obd_capa *ocapa);
194 static inline struct obd_capa *alloc_capa(int site) in alloc_capa()
196 struct obd_capa *ocapa; in alloc_capa()
217 static inline struct obd_capa *capa_get(struct obd_capa *ocapa) in capa_get()
226 static inline void capa_put(struct obd_capa *ocapa) in capa_put()
267 static inline void set_capa_expiry(struct obd_capa *ocapa) in set_capa_expiry()
[all …]
Dobd.h1059 struct obd_capa *op_capa1;
1060 struct obd_capa *op_capa2;
1253 struct obd_capa *mds_capa;
1254 struct obd_capa *oss_capa;
1269 struct obd_capa **);
1304 struct obd_capa *, struct ptlrpc_request **);
1312 struct obd_capa *, u64, const char *,
1317 struct obd_capa *, u64, const char *,
1344 int (*m_renew_capa)(struct obd_export *, struct obd_capa *oc,
1347 const struct req_msg_field *, struct obd_capa **);
[all …]
Dobd_class.h1472 struct lu_fid *fid, struct obd_capa **pc) in md_getstatus()
1653 struct obd_capa *oc, struct ptlrpc_request **request) in md_sync()
1706 const struct lu_fid *fid, struct obd_capa *oc, in md_setxattr()
1720 const struct lu_fid *fid, struct obd_capa *oc, in md_getxattr()
1800 struct obd_capa *oc, __u32 suppgid, in md_get_remote_perm()
1809 static inline int md_renew_capa(struct obd_export *exp, struct obd_capa *ocapa, in md_renew_capa()
1823 struct obd_capa **oc) in md_unpack_capa()
Dcl_object.h2338 struct obd_capa *sa_capa;
2357 struct obd_capa *fi_capa;
2477 struct obd_capa *cra_capa;
Dlclient.h375 struct obd_capa *capa);
Ddt_object.h440 struct obd_capa *(*do_capa_get)(const struct lu_env *env,
1150 static inline struct obd_capa *dt_capa_get(const struct lu_env *env, in dt_capa_get()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dcapa.c103 static inline int capa_on_server(struct obd_capa *ocapa) in capa_on_server()
108 static inline void capa_delete(struct obd_capa *ocapa) in capa_delete()
122 struct obd_capa *oc; in cleanup_capa_hash()
144 static inline int capa_is_to_expire(struct obd_capa *oc) in capa_is_to_expire()
151 static struct obd_capa *find_capa(struct lustre_capa *capa, in find_capa()
154 struct obd_capa *ocapa; in find_capa()
176 struct obd_capa *ocapa; in capa_delete_lru()
182 ocapa = list_entry(node, struct obd_capa, c_list); in capa_delete_lru()
193 struct obd_capa *capa_add(struct hlist_head *hash, struct lustre_capa *capa) in capa_add()
196 struct obd_capa *ocapa, *old = NULL; in capa_add()
[all …]
Dgenops.c677 sizeof(struct obd_capa), 0, 0, NULL); in obd_init_caches()
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
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) in mdc_set_capa_size()
Dmdc_request.c57 struct obd_capa *ra_oc;
64 const struct req_msg_field *field, struct obd_capa **oc) in mdc_unpack_capa()
67 struct obd_capa *c; in mdc_unpack_capa()
106 struct obd_capa **pc, int level, int msg_flags) in send_getstatus()
151 struct obd_capa **pc) in mdc_getstatus()
336 struct obd_capa *oc, int opcode, u64 valid, in mdc_xattr_common()
445 struct obd_capa *oc, u64 valid, const char *xattr_name, in mdc_setxattr()
456 struct obd_capa *oc, u64 valid, const char *xattr_name, in mdc_getxattr()
622 struct obd_capa *oc = NULL; in mdc_get_lustre_md()
631 struct obd_capa *oc = NULL; in mdc_get_lustre_md()
[all …]
Dmdc_lib.c57 struct obd_capa *oc) in mdc_pack_capa()
104 const struct lu_fid *fid, struct obd_capa *oc, in mdc_pack_body()
122 __u32 size, const struct lu_fid *fid, struct obd_capa *oc) in mdc_readdir_pack()
/linux-4.1.27/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c1482 struct obd_capa **pc) in lmv_getstatus()
1497 struct obd_capa *oc, u64 valid, const char *name, in lmv_getxattr()
1521 struct obd_capa *oc, u64 valid, const char *name, in lmv_setxattr()
2057 struct obd_capa *oc, struct ptlrpc_request **request) in lmv_sync()
2649 struct obd_capa *oc, __u32 suppgid, in lmv_get_remote_perm()
2669 static int lmv_renew_capa(struct obd_export *exp, struct obd_capa *oc, in lmv_renew_capa()
2691 struct obd_capa **oc) in lmv_unpack_capa()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_request.c66 struct obd_capa *aa_ocapa;
196 struct obd_capa *oc = (struct obd_capa *)capa; in osc_pack_capa()
224 struct obd_capa *oc) in osc_set_capa_size()
779 osc_set_capa_size(req, &RMF_CAPA1, (struct obd_capa *)capa); in osc_destroy()
796 osc_pack_capa(req, body, (struct obd_capa *)capa); in osc_destroy()
1249 struct obd_capa *ocapa, int reserve, in osc_brw_prep_request()
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c941 struct obd_capa *capa) in cl_setattr_ost()