Lines Matching refs:diff
30 int seq = 1, diff; in afs_find_server() local
47 diff = ((u16 __force)a->sin6_port - in afs_find_server()
49 if (diff == 0) in afs_find_server()
50 diff = memcmp(&a->sin6_addr, in afs_find_server()
53 if (diff == 0) in afs_find_server()
63 diff = ((u16 __force)a->sin_port - in afs_find_server()
65 if (diff == 0) in afs_find_server()
66 diff = ((u32 __force)a->sin_addr.s_addr - in afs_find_server()
68 if (diff == 0) in afs_find_server()
94 int diff, seq = 1; in afs_find_server_by_uuid() local
113 diff = memcmp(uuid, &server->uuid, sizeof(*uuid)); in afs_find_server_by_uuid()
114 if (diff < 0) { in afs_find_server_by_uuid()
116 } else if (diff > 0) { in afs_find_server_by_uuid()
145 int diff; in afs_install_server() local
158 diff = memcmp(&candidate->uuid, &server->uuid, sizeof(uuid_t)); in afs_install_server()
159 if (diff < 0) { in afs_install_server()
161 } else if (diff > 0) { in afs_install_server()