Home
last modified time | relevance | path

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

/linux/fs/smb/server/
H A Dtransport_rdma.c2138 struct smb_direct_device *smb_dev; in smb_direct_ib_client_add() local
2147 smb_dev = kzalloc(sizeof(*smb_dev), GFP_KERNEL); in smb_direct_ib_client_add()
2148 if (!smb_dev) in smb_direct_ib_client_add()
2150 smb_dev->ib_dev = ib_dev; in smb_direct_ib_client_add()
2153 list_add(&smb_dev->list, &smb_direct_device_list); in smb_direct_ib_client_add()
2163 struct smb_direct_device *smb_dev, *tmp; in smb_direct_ib_client_remove() local
2166 list_for_each_entry_safe(smb_dev, tmp, &smb_direct_device_list, list) { in smb_direct_ib_client_remove()
2167 if (smb_dev->ib_dev == ib_dev) { in smb_direct_ib_client_remove()
2168 list_del(&smb_dev->list); in smb_direct_ib_client_remove()
2169 kfree(smb_dev); in smb_direct_ib_client_remove()
[all …]