Home
last modified time | relevance | path

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

/fs/afs/
Dvl_probe.c213 struct wait_queue_entry *waits; in afs_wait_for_vl_probes() local
234 waits = kmalloc(array_size(vllist->nr_servers, sizeof(*waits)), GFP_KERNEL); in afs_wait_for_vl_probes()
235 if (!waits) in afs_wait_for_vl_probes()
241 init_waitqueue_entry(&waits[i], current); in afs_wait_for_vl_probes()
242 add_wait_queue(&server->probe_wq, &waits[i]); in afs_wait_for_vl_probes()
278 remove_wait_queue(&server->probe_wq, &waits[i]); in afs_wait_for_vl_probes()
282 kfree(waits); in afs_wait_for_vl_probes()
Dfs_probe.c236 struct wait_queue_entry *waits; in afs_wait_for_fs_probes() local
257 waits = kmalloc(array_size(slist->nr_servers, sizeof(*waits)), GFP_KERNEL); in afs_wait_for_fs_probes()
258 if (!waits) in afs_wait_for_fs_probes()
264 init_waitqueue_entry(&waits[i], current); in afs_wait_for_fs_probes()
265 add_wait_queue(&server->probe_wq, &waits[i]); in afs_wait_for_fs_probes()
301 remove_wait_queue(&server->probe_wq, &waits[i]); in afs_wait_for_fs_probes()
305 kfree(waits); in afs_wait_for_fs_probes()