Searched refs:max_dmbs (Results 1 – 4 of 4) sorted by relevance
85 int max_dmbs; in dibs_unregister_client() local91 max_dmbs = dibs->ops->max_dmbs(); in dibs_unregister_client()92 for (int i = 0; i < max_dmbs; ++i) { in dibs_unregister_client()183 int max_dmbs; in dibs_dev_add() local186 max_dmbs = dibs->ops->max_dmbs(); in dibs_dev_add()188 dibs->dmb_clientid_arr = kzalloc(max_dmbs, GFP_KERNEL); in dibs_dev_add()191 memset(dibs->dmb_clientid_arr, NO_DIBS_CLIENT, max_dmbs); in dibs_dev_add()
277 .max_dmbs = dibs_lo_max_dmbs,
466 static struct smcd_dev *smcd_alloc_dev(const char *name, int max_dmbs) in smcd_alloc_dev() argument473 smcd->conn = kzalloc_objs(struct smc_connection *, max_dmbs); in smcd_alloc_dev()499 int max_dmbs; in smcd_register_dev() local501 max_dmbs = dibs->ops->max_dmbs(); in smcd_register_dev()503 smcd = smcd_alloc_dev(dev_name(&dibs->dev), max_dmbs); in smcd_register_dev()
540 .max_dmbs = ism_max_dmbs,