/src/sys/external/bsd/dwc2/dist/ |
dwc2_hcdddma.c | 118 qh->n_bytes = kmem_zalloc(sizeof(u32) * dwc2_max_desc_num(qh), KM_SLEEP); 119 if (!qh->n_bytes) { 136 kmem_free(qh->n_bytes, sizeof(u32) * dwc2_max_desc_num(qh)); 137 qh->n_bytes = NULL; 550 qh->n_bytes[idx] = max_xfer_size; 552 qh->n_bytes[idx] = frame_desc->length; 555 dma_desc->status = qh->n_bytes[idx] << HOST_DMA_ISOC_NBYTES_SHIFT & 710 qh->n_bytes[n_desc] = len; 916 frame_desc->actual_length = qh->n_bytes[idx] - remain; 920 frame_desc->actual_length = qh->n_bytes[idx] - remain 1148 u32 n_bytes; local in function:dwc2_process_non_isoc_desc [all...] |
dwc2_hcd.h | 265 * @n_bytes: Xfer Bytes array. Each element corresponds to a transfer 307 u32 *n_bytes; member in struct:dwc2_qh
|
/src/usr.sbin/rpc.lockd/ |
lockd_lock.c | 82 (void)memcpy(fh->fhdata, rfh->n_bytes, sz); 252 newfl->client.oh.n_bytes = malloc(lckarg->alock.oh.n_len); 253 if (newfl->client.oh.n_bytes == NULL) { 260 (void)memcpy(newfl->client.oh.n_bytes, lckarg->alock.oh.n_bytes, 265 newfl->client_cookie.n_bytes = malloc(lckarg->cookie.n_len); 266 if (newfl->client_cookie.n_bytes == NULL) { 272 (void)memcpy(newfl->client_cookie.n_bytes, lckarg->cookie.n_bytes, 374 memcmp(fl->client.oh.n_bytes, lck->oh.n_bytes [all...] |
test.c | 358 arg.cookie.n_bytes = "hello"; 365 arg.alock.fh.n_bytes = "\x04\x04\x02\x00\x01\x00\x00\x00\x0c\x00\x00\x00\xff\xff\xff\xd0\x16\x00\x00\x5b\x7c\xff\xff\xff\xec\x2f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x19\x54\xef\xbf\xd7\x94"; 367 arg.alock.oh.n_bytes = "\x00\x00\x02\xff\xff\xff\xd3"; 373 res_block.cookie.n_bytes = "hello";
|
/src/usr.sbin/installboot/arch/ |
i386.c | 111 pwrite_validate(int fd, const void *buf, size_t n_bytes, off_t offset) 116 r_buf = malloc(n_bytes); 119 rv = pwrite(fd, buf, n_bytes, offset);
|
/src/sys/dev/pci/ |
xmm7360.c | 559 int n_packets, n_bytes, max_size, sequence; member in struct:mux_frame 1096 frame->n_bytes = 0; 1104 if (frame->n_bytes == 0) 1109 while (frame->n_bytes & 3) 1110 frame->n_bytes++; 1112 BUG_ON(frame->n_bytes + total_length > frame->max_size); 1115 *frame->last_tag_next = frame->n_bytes; 1117 if (frame->n_bytes == 0) { 1126 frame->n_bytes += sizeof(struct mux_first_header); 1128 struct mux_next_header *hdr = (struct mux_next_header *)(&frame->data[frame->n_bytes]); [all...] |
/src/sys/fs/nfs/nlm/ |
nlm_advlock.c | 801 args.cookie.n_bytes = (char*) &xid; 867 cancel.cookie.n_bytes = (char*) &xid; 987 args.cookie.n_bytes = (char*) &xid; 1068 args.cookie.n_bytes = (char*) &xid; 1267 lock->fh.n_bytes = fh; 1269 lock->oh.n_bytes = oh_space;
|
nlm_prot_impl.c | 281 return ((struct nlm_grantcookie *)src->n_bytes)->ng_sysid; 288 return ((struct nlm_grantcookie *)src->n_bytes)->ng_cookie; 333 dst->n_bytes = malloc(srcsize, type, M_WAITOK); 334 memcpy(dst->n_bytes, src, srcsize); 345 nlm_make_netobj(dst, src->n_bytes, src->n_len, type); 1339 memcpy(&nw->nw_fh.fh_bytes, nw->nw_lock.fh.n_bytes, 1341 nw->nw_lock.fh.n_bytes = nw->nw_fh.fh_bytes; 1751 memcpy(fhp, p->n_bytes, sizeof(fhandle_t)); 2329 && !memcmp(argp->alock.fh.n_bytes, nw->nw_lock.fh.n_bytes, [all...] |
/src/common/include/rpc/ |
xdr.h | 323 char *n_bytes; member in struct:netobj
|
/src/common/lib/libc/rpc/ |
xdr.c | 673 return (xdr_bytes(xdrs, &np->n_bytes, &np->n_len, MAX_NETOBJ_SZ));
|