Searched refs:slave_list (Results 1 – 4 of 4) sorted by relevance
507 priv->mfunc.master.res_tracker.slave_list = in mlx4_init_resource_tracker()508 kcalloc(dev->num_slaves, sizeof(struct slave_list), in mlx4_init_resource_tracker()510 if (!priv->mfunc.master.res_tracker.slave_list) in mlx4_init_resource_tracker()516 slave_list[i].res_list[t]); in mlx4_init_resource_tracker()517 mutex_init(&priv->mfunc.master.res_tracker.slave_list[i].mutex); in mlx4_init_resource_tracker()661 if (priv->mfunc.master.res_tracker.slave_list) { in mlx4_free_resource_tracker()671 mutex_lock(&priv->mfunc.master.res_tracker.slave_list[i].mutex); in mlx4_free_resource_tracker()673 mutex_unlock(&priv->mfunc.master.res_tracker.slave_list[i].mutex); in mlx4_free_resource_tracker()685 kfree(priv->mfunc.master.res_tracker.slave_list); in mlx4_free_resource_tracker()686 priv->mfunc.master.res_tracker.slave_list = NULL; in mlx4_free_resource_tracker()[all …]
535 struct slave_list { struct560 struct slave_list *slave_list; argument
504 int slave_list = 0; in w1_list_count_cmds() local513 ++slave_list; in w1_list_count_cmds()521 if (slave_list) { in w1_list_count_cmds()527 *slave_len += sizeof(struct w1_reg_num) * slave_list * in w1_list_count_cmds()
704 struct list_head slave_list; member1729 list_for_each_entry((slave), &(priv)->secondary_slaves, slave_list)1733 struct gbe_slave, slave_list)3147 list_add_tail(&slave->slave_list, &gbe_dev->secondary_slaves); in init_secondary_ports()3216 list_del(&slave->slave_list); in free_secondary_ports()