Searched refs:_clvmd_sock (Results 1 - 2 of 2) sorted by relevance
/netbsd-current/external/gpl2/lvm2/dist/lib/locking/ |
H A D | cluster_locking.c | 62 static int _clvmd_sock = -1; variable 111 if ( (err = write(_clvmd_sock, inbuf, inlen)) != inlen) { 120 if ((len = read(_clvmd_sock, outbuf, sizeof(struct clvm_header))) < 0) { 148 len = read(_clvmd_sock, outheader->args + off, 215 if (_clvmd_sock == -1) 216 _clvmd_sock = _open_local_sock(); 218 if (_clvmd_sock == -1) 535 if (_clvmd_sock != -1 && close(_clvmd_sock)) 538 _clvmd_sock [all...] |
/netbsd-current/external/gpl2/lvm2/dist/daemons/clvmd/ |
H A D | refresh_clvmd.c | 52 static int _clvmd_sock = -1; variable 99 if ( (err = write(_clvmd_sock, inbuf, inlen)) != inlen) { 108 if ((len = read(_clvmd_sock, outbuf, sizeof(struct clvm_header))) < 0) { 136 len = read(_clvmd_sock, outheader->args + off, 202 if (_clvmd_sock == -1) 203 _clvmd_sock = _open_local_sock(); 205 if (_clvmd_sock == -1)
|
Completed in 78 milliseconds