Home
last modified time | relevance | path

Searched refs:slave_list (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c507 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 …]
Dmlx4.h537 struct slave_list { struct
562 struct slave_list *slave_list; member
/linux-6.12.1/drivers/w1/
Dw1_netlink.c506 int slave_list = 0; in w1_list_count_cmds() local
515 ++slave_list; in w1_list_count_cmds()
523 if (slave_list) { in w1_list_count_cmds()
529 *slave_len += sizeof(struct w1_reg_num) * slave_list * in w1_list_count_cmds()
/linux-6.12.1/drivers/net/ethernet/ti/
Dnetcp_ethss.c704 struct list_head slave_list; member
1729 list_for_each_entry((slave), &(priv)->secondary_slaves, slave_list)
1733 struct gbe_slave, slave_list)
3138 list_add_tail(&slave->slave_list, &gbe_dev->secondary_slaves); in init_secondary_ports()
3207 list_del(&slave->slave_list); in free_secondary_ports()