glock 243 fs/9p/vfs_file.c struct p9_getlock glock; glock 259 fs/9p/vfs_file.c memset(&glock, 0, sizeof(glock)); glock 260 fs/9p/vfs_file.c glock.type = P9_LOCK_TYPE_UNLCK; glock 261 fs/9p/vfs_file.c glock.start = fl->fl_start; glock 263 fs/9p/vfs_file.c glock.length = 0; glock 265 fs/9p/vfs_file.c glock.length = fl->fl_end - fl->fl_start + 1; glock 266 fs/9p/vfs_file.c glock.proc_id = fl->fl_pid; glock 267 fs/9p/vfs_file.c glock.client_id = fid->clnt->name; glock 269 fs/9p/vfs_file.c res = p9_client_getlock_dotl(fid, &glock); glock 273 fs/9p/vfs_file.c switch (glock.type) { glock 284 fs/9p/vfs_file.c if (glock.type != P9_LOCK_TYPE_UNLCK) { glock 285 fs/9p/vfs_file.c fl->fl_start = glock.start; glock 286 fs/9p/vfs_file.c if (glock.length == 0) glock 289 fs/9p/vfs_file.c fl->fl_end = glock.start + glock.length - 1; glock 290 fs/9p/vfs_file.c fl->fl_pid = -glock.proc_id; glock 293 fs/9p/vfs_file.c if (glock.client_id != fid->clnt->name) glock 294 fs/9p/vfs_file.c kfree(glock.client_id); glock 2229 net/9p/client.c int p9_client_getlock_dotl(struct p9_fid *fid, struct p9_getlock *glock) glock 2238 net/9p/client.c "length %lld proc_id %d client_id %s\n", fid->fid, glock->type, glock 2239 net/9p/client.c glock->start, glock->length, glock->proc_id, glock->client_id); glock 2241 net/9p/client.c req = p9_client_rpc(clnt, P9_TGETLOCK, "dbqqds", fid->fid, glock->type, glock 2242 net/9p/client.c glock->start, glock->length, glock->proc_id, glock->client_id); glock 2247 net/9p/client.c err = p9pdu_readf(&req->rc, clnt->proto_version, "bqqds", &glock->type, glock 2248 net/9p/client.c &glock->start, &glock->length, &glock->proc_id, glock 2249 net/9p/client.c &glock->client_id); glock 2255 net/9p/client.c "proc_id %d client_id %s\n", glock->type, glock->start, glock 2256 net/9p/client.c glock->length, glock->proc_id, glock->client_id);