Searched defs:ocapa (Results 1 - 5 of 5) sorted by relevance
/drivers/staging/lustre/lustre/llite/ |
H A D | llite_capa.c | 71 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) argument 78 DEBUG_CAPA(D_SEC, &ocapa->c_capa, 83 static inline unsigned long capa_renewal_time(struct obd_capa *ocapa) argument 85 return cfs_time_sub(ocapa->c_expiry, 86 cfs_time_seconds(ocapa->c_capa.lc_timeout) / 2); 89 static inline int capa_is_to_expire(struct obd_capa *ocapa) argument 91 return time_before_eq(capa_renewal_time(ocapa), cfs_time_current()); 96 struct obd_capa *ocapa = NULL; local 104 ocapa 123 sort_add_capa(struct obd_capa *ocapa, struct list_head *head) argument 146 ll_delete_capa(struct obd_capa *ocapa) argument 171 struct obd_capa *ocapa, *tmp, *next; local 321 struct obd_capa *ocapa; local 376 struct obd_capa *ocapa; local 394 do_add_mds_capa(struct inode *inode, struct obd_capa *ocapa) argument 423 struct obd_capa *ocapa; local 441 inode_add_oss_capa(struct inode *inode, struct obd_capa *ocapa) argument 460 do_add_oss_capa(struct inode *inode, struct obd_capa *ocapa) argument 493 ll_add_capa(struct inode *inode, struct obd_capa *ocapa) argument 520 ll_update_capa(struct obd_capa *ocapa, struct lustre_capa *capa) argument 613 ll_truncate_free_capa(struct obd_capa *ocapa) argument 633 struct obd_capa *ocapa, *tmp; local [all...] |
/drivers/staging/lustre/lustre/obdclass/ |
H A D | capa.c | 103 static inline int capa_on_server(struct obd_capa *ocapa) argument 105 return ocapa->c_site == CAPA_SITE_SERVER; 108 static inline void capa_delete(struct obd_capa *ocapa) argument 110 LASSERT(capa_on_server(ocapa)); 111 hlist_del_init(&ocapa->u.tgt.c_hash); 112 list_del_init(&ocapa->c_list); 113 capa_count[ocapa->c_site]--; 115 capa_put(ocapa); 154 struct obd_capa *ocapa; local 157 hlist_for_each_entry(ocapa, hea 176 struct obd_capa *ocapa; local 196 struct obd_capa *ocapa, *old = NULL; local 227 struct obd_capa *ocapa; local 400 capa_cpy(void *capa, struct obd_capa *ocapa) argument [all...] |
/drivers/staging/lustre/lustre/include/ |
H A D | lustre_capa.h | 193 void capa_cpy(void *dst, struct obd_capa *ocapa); 196 struct obd_capa *ocapa; local 201 OBD_SLAB_ALLOC_PTR(ocapa, capa_cachep); 202 if (unlikely(!ocapa)) 205 INIT_LIST_HEAD(&ocapa->c_list); 206 atomic_set(&ocapa->c_refc, 1); 207 spin_lock_init(&ocapa->c_lock); 208 ocapa->c_site = site; 209 if (ocapa->c_site == CAPA_SITE_CLIENT) 210 INIT_LIST_HEAD(&ocapa 217 capa_get(struct obd_capa *ocapa) argument 226 capa_put(struct obd_capa *ocapa) argument 267 set_capa_expiry(struct obd_capa *ocapa) argument 280 capa_is_expired(struct obd_capa *ocapa) argument [all...] |
H A D | obd_class.h | 1784 static inline int md_renew_capa(struct obd_export *exp, struct obd_capa *ocapa, argument 1791 rc = MDP(exp->exp_obd, renew_capa)(exp, ocapa, cb);
|
/drivers/staging/lustre/lustre/osc/ |
H A D | osc_request.c | 1250 struct obd_capa *ocapa, int reserve, 1290 osc_set_capa_size(req, &RMF_CAPA1, ocapa); 1329 osc_pack_capa(req, body, ocapa); 1439 if (ocapa && reserve) 1440 aa->aa_ocapa = capa_get(ocapa); 1245 osc_brw_prep_request(int cmd, struct client_obd *cli, struct obdo *oa, struct lov_stripe_md *lsm, u32 page_count, struct brw_page **pga, struct ptlrpc_request **reqp, struct obd_capa *ocapa, int reserve, int resend) argument
|
Completed in 104 milliseconds