Searched refs:poolname (Results 1 – 4 of 4) sorted by relevance
/drivers/staging/lustre/lustre/lov/ |
D | lov_pool.c | 93 char *poolname; in pool_hashfn() local 96 poolname = (char *)key; in pool_hashfn() 98 if (poolname[i] == '\0') in pool_hashfn() 100 result = (result << 4)^(result >> 28) ^ poolname[i]; in pool_hashfn() 400 int lov_pool_new(struct obd_device *obd, char *poolname) in lov_pool_new() argument 408 if (strlen(poolname) > LOV_MAXPOOLNAME) in lov_pool_new() 415 strlcpy(new_pool->pool_name, poolname, sizeof(new_pool->pool_name)); in lov_pool_new() 437 poolname, new_pool, in lov_pool_new() 441 poolname); in lov_pool_new() 454 rc = cfs_hash_add_unique(lov->lov_pools_hash_body, poolname, in lov_pool_new() [all …]
|
D | lov_internal.h | 246 int lov_pool_new(struct obd_device *obd, char *poolname); 247 int lov_pool_del(struct obd_device *obd, char *poolname); 248 int lov_pool_add(struct obd_device *obd, char *poolname, char *ostname); 249 int lov_pool_remove(struct obd_device *obd, char *poolname, char *ostname); 250 struct pool_desc *lov_find_pool(struct lov_obd *lov, char *poolname);
|
/drivers/staging/lustre/lustre/include/ |
D | obd_class.h | 937 static inline int obd_pool_new(struct obd_device *obd, char *poolname) in obd_pool_new() argument 944 rc = OBP(obd, pool_new)(obd, poolname); in obd_pool_new() 948 static inline int obd_pool_del(struct obd_device *obd, char *poolname) in obd_pool_del() argument 955 rc = OBP(obd, pool_del)(obd, poolname); in obd_pool_del() 959 static inline int obd_pool_add(struct obd_device *obd, char *poolname, char *ostname) in obd_pool_add() argument 966 rc = OBP(obd, pool_add)(obd, poolname, ostname); in obd_pool_add() 970 static inline int obd_pool_rem(struct obd_device *obd, char *poolname, char *ostname) in obd_pool_rem() argument 977 rc = OBP(obd, pool_rem)(obd, poolname, ostname); in obd_pool_rem()
|
D | obd.h | 1075 int (*o_pool_new)(struct obd_device *obd, char *poolname); 1076 int (*o_pool_del)(struct obd_device *obd, char *poolname); 1077 int (*o_pool_add)(struct obd_device *obd, char *poolname, 1079 int (*o_pool_rem)(struct obd_device *obd, char *poolname,
|