Home
last modified time | relevance | path

Searched refs:poolname (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_pool.c93 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()
424 int lov_pool_new(struct obd_device *obd, char *poolname) in lov_pool_new() argument
432 if (strlen(poolname) > LOV_MAXPOOLNAME) in lov_pool_new()
439 strncpy(new_pool->pool_name, poolname, LOV_MAXPOOLNAME); in lov_pool_new()
462 poolname, new_pool, in lov_pool_new()
465 CWARN("Cannot add proc pool entry "LOV_POOLNAMEF"\n", poolname); in lov_pool_new()
478 rc = cfs_hash_add_unique(lov->lov_pools_hash_body, poolname, in lov_pool_new()
[all …]
Dlov_internal.h291 int lov_pool_new(struct obd_device *obd, char *poolname);
292 int lov_pool_del(struct obd_device *obd, char *poolname);
293 int lov_pool_add(struct obd_device *obd, char *poolname, char *ostname);
294 int lov_pool_remove(struct obd_device *obd, char *poolname, char *ostname);
296 struct pool_desc *lov_find_pool(struct lov_obd *lov, char *poolname);
/linux-4.1.27/drivers/staging/i2o/
Diop.c1047 char poolname[32]; in i2o_iop_alloc() local
1059 snprintf(poolname, sizeof(poolname), "i2o_%s_msg_inpool", c->name); in i2o_iop_alloc()
1061 (&c->in_msg, poolname, I2O_INBOUND_MSG_FRAME_SIZE * 4 + sizeof(u32), in i2o_iop_alloc()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dobd_class.h1034 static inline int obd_pool_new(struct obd_device *obd, char *poolname) in obd_pool_new() argument
1041 rc = OBP(obd, pool_new)(obd, poolname); in obd_pool_new()
1045 static inline int obd_pool_del(struct obd_device *obd, char *poolname) in obd_pool_del() argument
1052 rc = OBP(obd, pool_del)(obd, poolname); in obd_pool_del()
1056 static inline int obd_pool_add(struct obd_device *obd, char *poolname, char *ostname) in obd_pool_add() argument
1063 rc = OBP(obd, pool_add)(obd, poolname, ostname); in obd_pool_add()
1067 static inline int obd_pool_rem(struct obd_device *obd, char *poolname, char *ostname) in obd_pool_rem() argument
1074 rc = OBP(obd, pool_rem)(obd, poolname, ostname); in obd_pool_rem()
Dobd.h1214 int (*o_pool_new)(struct obd_device *obd, char *poolname);
1215 int (*o_pool_del)(struct obd_device *obd, char *poolname);
1216 int (*o_pool_add)(struct obd_device *obd, char *poolname,
1218 int (*o_pool_rem)(struct obd_device *obd, char *poolname,