Lines Matching refs:new_hash

1126 	unsigned int new_hash, old_hash = sk->sk_hash;  in unix_autobind()  local
1156 new_hash = unix_abstract_hash(addr->name, addr->len, sk->sk_type); in unix_autobind()
1157 unix_table_double_lock(net, old_hash, new_hash); in unix_autobind()
1159 if (__unix_find_socket_byname(net, addr->name, addr->len, new_hash)) { in unix_autobind()
1160 unix_table_double_unlock(net, old_hash, new_hash); in unix_autobind()
1177 __unix_set_addr_hash(net, sk, addr, new_hash); in unix_autobind()
1178 unix_table_double_unlock(net, old_hash, new_hash); in unix_autobind()
1190 unsigned int new_hash, old_hash = sk->sk_hash; in unix_bind_bsd() local
1232 new_hash = unix_bsd_hash(d_backing_inode(dentry)); in unix_bind_bsd()
1233 unix_table_double_lock(net, old_hash, new_hash); in unix_bind_bsd()
1236 __unix_set_addr_hash(net, sk, addr, new_hash); in unix_bind_bsd()
1237 unix_table_double_unlock(net, old_hash, new_hash); in unix_bind_bsd()
1259 unsigned int new_hash, old_hash = sk->sk_hash; in unix_bind_abstract() local
1278 new_hash = unix_abstract_hash(addr->name, addr->len, sk->sk_type); in unix_bind_abstract()
1279 unix_table_double_lock(net, old_hash, new_hash); in unix_bind_abstract()
1281 if (__unix_find_socket_byname(net, addr->name, addr->len, new_hash)) in unix_bind_abstract()
1284 __unix_set_addr_hash(net, sk, addr, new_hash); in unix_bind_abstract()
1285 unix_table_double_unlock(net, old_hash, new_hash); in unix_bind_abstract()
1290 unix_table_double_unlock(net, old_hash, new_hash); in unix_bind_abstract()