Home
last modified time | relevance | path

Searched refs:n_bytes (Results 1 – 17 of 17) sorted by relevance

/freebsd/usr.sbin/rpc.lockd/
H A Dkern.c269 arg4.cookie.n_bytes = (char *)&msg->lm_msg_ident; in test_request()
273 arg4.alock.fh.n_bytes = (char *)&msg->lm_fh; in test_request()
275 arg4.alock.oh.n_bytes = (char *)&owner; in test_request()
293 arg.cookie.n_bytes = (char *)&msg->lm_msg_ident; in test_request()
297 arg.alock.fh.n_bytes = (char *)&msg->lm_fh; in test_request()
299 arg.alock.oh.n_bytes = (char *)&owner; in test_request()
338 arg4.cookie.n_bytes = (char *)&msg->lm_msg_ident; in lock_request()
343 arg4.alock.fh.n_bytes = (char *)&msg->lm_fh; in lock_request()
345 arg4.alock.oh.n_bytes = (char *)&owner; in lock_request()
363 arg.cookie.n_bytes = (char *)&msg->lm_msg_ident; in lock_request()
[all …]
H A Dlockd_lock.c303 dump_static_object(nobj->n_bytes, nobj->n_len, in dump_netobj()
361 dest->oh.n_bytes = src->oh.n_bytes; in copy_nlm4_lock_to_nlm4_holder()
392 newfl->client.oh.n_bytes = malloc(lockowner->n_len); in allocate_file_lock()
393 if (newfl->client.oh.n_bytes == NULL) { in allocate_file_lock()
398 bcopy(lockowner->n_bytes, newfl->client.oh.n_bytes, lockowner->n_len); in allocate_file_lock()
400 newfl->client_cookie.n_bytes = malloc(matchcookie->n_len); in allocate_file_lock()
401 if (newfl->client_cookie.n_bytes == NULL) { in allocate_file_lock()
402 free(newfl->client.oh.n_bytes); in allocate_file_lock()
407 bcopy(matchcookie->n_bytes, newfl->client_cookie.n_bytes, matchcookie->n_len); in allocate_file_lock()
411 free(newfl->client_cookie.n_bytes); in allocate_file_lock()
[all …]
H A Dtest.c323 arg.cookie.n_bytes = "hello"; in main()
330 …arg.alock.fh.n_bytes = "\x04\x04\x02\x00\x01\x00\x00\x00\x0c\x00\x00\x00\xff\xff\xff\xd0\x16\x00\x… in main()
332 arg.alock.oh.n_bytes = "\x00\x00\x02\xff\xff\xff\xd3"; in main()
338 res_block.cookie.n_bytes = "hello"; in main()
H A Dlock_proc.c118 sprintf(tmp1,"%02X",*(obj->n_bytes+i)); in log_netobj()
119 sprintf(tmp2,"%c",*(obj->n_bytes+i)); in log_netobj()
/freebsd/contrib/ntp/sntp/libevent/
H A Devutil_rand.c100 int n_bytes = 4 - (((ev_uintptr_t)b) & 3); in ev_arc4random_buf()
101 memcpy(b, &u, n_bytes); in ev_arc4random_buf()
102 b += n_bytes; in ev_arc4random_buf()
103 n -= n_bytes; in ev_arc4random_buf()
H A Diocp-internal.h188 ev_uintptr_t key, ev_uint32_t n_bytes);
/freebsd/contrib/libevent/
H A Devutil_rand.c100 int n_bytes = 4 - (((ev_uintptr_t)b) & 3); in ev_arc4random_buf()
101 memcpy(b, &u, n_bytes); in ev_arc4random_buf()
102 b += n_bytes; in ev_arc4random_buf()
103 n -= n_bytes; in ev_arc4random_buf()
H A Diocp-internal.h188 ev_uintptr_t key, ev_uint32_t n_bytes);
/freebsd/lib/libc/rpc/
H A Dauth_des.c135 pkey.n_bytes = (char *) pkey_data; in authdes_seccreate()
175 memcpy(ad->ad_pkey, pkey->n_bytes, pkey->n_len); in authdes_pk_seccreate()
440 pkey.n_bytes = (char *)(ad->ad_pkey); in authdes_refresh()
H A Dauth_time.c201 srv->pkey.n_bytes = NULL; in get_server()
H A Dsvc_auth_des.c183 pkey.n_bytes = pkey_data; in _svcauth_des()
/freebsd/sys/nlm/
H A Dnlm_prot_impl.c265 return ((struct nlm_grantcookie *)src->n_bytes)->ng_sysid; in ng_sysid()
272 return ((struct nlm_grantcookie *)src->n_bytes)->ng_cookie; in ng_cookie()
311 dst->n_bytes = malloc(srcsize, type, M_WAITOK); in nlm_make_netobj()
312 memcpy(dst->n_bytes, src, srcsize); in nlm_make_netobj()
323 nlm_make_netobj(dst, src->n_bytes, src->n_len, type); in nlm_copy_netobj()
1336 memcpy(&nw->nw_fh.fh_bytes, nw->nw_lock.fh.n_bytes, in nlm_register_wait_lock()
1338 nw->nw_lock.fh.n_bytes = nw->nw_fh.fh_bytes; in nlm_register_wait_lock()
1746 memcpy(fhp, p->n_bytes, sizeof(fhandle_t)); in nlm_convert_to_fhandle_t()
2321 && !memcmp(argp->alock.fh.n_bytes, nw->nw_lock.fh.n_bytes, in nlm_do_granted()
H A Dnlm_advlock.c799 args.cookie.n_bytes = (char*) &xid; in nlm_setlock()
865 cancel.cookie.n_bytes = (char*) &xid; in nlm_setlock()
984 args.cookie.n_bytes = (char*) &xid; in nlm_clearlock()
1065 args.cookie.n_bytes = (char*) &xid; in nlm_getlock()
1264 lock->fh.n_bytes = fh; in nlm_init_lock()
1266 lock->oh.n_bytes = oh_space; in nlm_init_lock()
/freebsd/include/rpc/
H A Dxdr.h328 char *n_bytes; member
/freebsd/sys/rpc/
H A Dxdr.h341 char *n_bytes; member
/freebsd/sys/xdr/
H A Dxdr.c547 return (xdr_bytes(xdrs, &np->n_bytes, &np->n_len, MAX_NETOBJ_SZ)); in xdr_netobj()
/freebsd/lib/libc/xdr/
H A Dxdr.c618 return (xdr_bytes(xdrs, &np->n_bytes, &np->n_len, MAX_NETOBJ_SZ)); in xdr_netobj()