Searched refs:smcsock (Results 1 – 1 of 1) sorted by relevance
3360 struct socket *smcsock; in smc_ulp_init() local3376 smcsock = sock_alloc(); in smc_ulp_init()3377 if (!smcsock) in smc_ulp_init()3380 smcsock->type = SOCK_STREAM; in smc_ulp_init()3382 ret = __smc_create(net, smcsock, protocol, 1, tcp); in smc_ulp_init()3384 sock_release(smcsock); /* module_put() which ops won't be NULL */ in smc_ulp_init()3389 smcsock->file = tcp->file; in smc_ulp_init()3390 smcsock->file->private_data = smcsock; in smc_ulp_init()3391 smcsock->file->f_inode = SOCK_INODE(smcsock); /* replace inode when sock_close */ in smc_ulp_init()3392 smcsock->file->f_path.dentry->d_inode = SOCK_INODE(smcsock); /* dput() in __fput */ in smc_ulp_init()