Home | History | Annotate | Download | only in doio

Lines Matching refs:flocks

64 	struct flock flocks;
66 memset(&flocks, 0, sizeof(struct flock));
73 flocks.l_whence = 0;
74 flocks.l_start = 0;
75 flocks.l_len = 0;
78 flocks.l_type = F_UNLCK;
80 flocks.l_type = F_WRLCK;
82 flocks.l_type = F_RDLCK;
94 "fcntl(%d, %d, &flocks): type:%d whence:%d, start:%lld len:%lld\n",
95 fd, cmd, flocks.l_type, flocks.l_whence,
96 (long long)flocks.l_start, (long long)flocks.l_len);
99 ret = fcntl(fd, cmd, &flocks);
115 "fcntl(%d, %d, &flocks): errno:%d %s\n",
136 struct flock flocks;
138 memset(&flocks, 0, sizeof(struct flock));
145 flocks.l_whence = 0;
146 flocks.l_start = start;
147 flocks.l_len = len;
150 flocks.l_type = F_UNLCK;
152 flocks.l_type = F_WRLCK;
154 flocks.l_type = F_RDLCK;
166 "fcntl(%d, %d, &flocks): type:%d whence:%d, start:%lld len:%lld\n",
167 fd, cmd, flocks.l_type, flocks.l_whence,
168 (long long)flocks.l_start, (long long)flocks.l_len);
171 ret = fcntl(fd, cmd, &flocks);
187 "fcntl(%d, %d, &flocks): errno:%d %s\n",