Lines Matching refs:rmtfds
47 static struct rmtfd rmtfds[MAX_CALLERS]; variable
67 rmtfds[i].id = i; in storage_init()
68 rmtfds[i].fd = -1; in storage_init()
69 rmtfds[i].shadow_buf = NULL; in storage_init()
98 if ((rmtfds[i].fd != -1 || rmtfds[i].shadow_buf) && in storage_open()
99 rmtfds[i].node == node && in storage_open()
100 rmtfds[i].partition == part) in storage_open()
101 return &rmtfds[i]; in storage_open()
105 if (rmtfds[i].fd == -1 && !rmtfds[i].shadow_buf) { in storage_open()
106 rmtfd = &rmtfds[i]; in storage_open()
170 rmtfd = &rmtfds[caller_id]; in storage_get()
192 if (rmtfds[i].fd >= 0) in storage_exit()
193 close(rmtfds[i].fd); in storage_exit()