Lines Matching defs:arg

295 		struct nlm_testargs arg;
297 arg.cookie.n_bytes = (char *)&msg->lm_msg_ident;
298 arg.cookie.n_len = sizeof(msg->lm_msg_ident);
299 arg.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0;
300 arg.alock.caller_name = hostname;
301 arg.alock.fh.n_bytes = (char *)&msg->lm_fh;
302 arg.alock.fh.n_len = msg->lm_fh_len;
303 arg.alock.oh.n_bytes = (char *)&owner;
304 arg.alock.oh.n_len = sizeof(owner);
305 arg.alock.svid = msg->lm_msg_ident.pid;
306 arg.alock.l_offset = msg->lm_fl.l_start;
307 arg.alock.l_len = msg->lm_fl.l_len;
316 (xdrproc_t)xdr_nlm_testargs, &arg,
331 struct nlm_lockargs arg;
367 arg.cookie.n_bytes = (char *)&msg->lm_msg_ident;
368 arg.cookie.n_len = sizeof(msg->lm_msg_ident);
369 arg.block = msg->lm_wait ? 1 : 0;
370 arg.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0;
371 arg.alock.caller_name = hostname;
372 arg.alock.fh.n_bytes = (char *)&msg->lm_fh;
373 arg.alock.fh.n_len = msg->lm_fh_len;
374 arg.alock.oh.n_bytes = (char *)&owner;
375 arg.alock.oh.n_len = sizeof(owner);
376 arg.alock.svid = msg->lm_msg_ident.pid;
377 arg.alock.l_offset = msg->lm_fl.l_start;
378 arg.alock.l_len = msg->lm_fl.l_len;
379 arg.reclaim = 0;
380 arg.state = nsm_state;
389 (xdrproc_t)xdr_nlm_lockargs, &arg,
404 struct nlm_unlockargs arg;
435 arg.cookie.n_bytes = (char *)&msg->lm_msg_ident;
436 arg.cookie.n_len = sizeof(msg->lm_msg_ident);
437 arg.alock.caller_name = hostname;
438 arg.alock.fh.n_bytes = (char *)&msg->lm_fh;
439 arg.alock.fh.n_len = msg->lm_fh_len;
440 arg.alock.oh.n_bytes = (char *)&owner;
441 arg.alock.oh.n_len = sizeof(owner);
442 arg.alock.svid = msg->lm_msg_ident.pid;
443 arg.alock.l_offset = msg->lm_fl.l_start;
444 arg.alock.l_len = msg->lm_fl.l_len;
453 (xdrproc_t)xdr_nlm_unlockargs, &arg,