Home
last modified time | relevance | path

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

/openbsd/src/usr.sbin/rpc.lockd/
Dlockd_lock.c82 memcpy(fh->fhdata, rfh->n_bytes, sz); in fhconv()
251 newfl->client.oh.n_bytes = malloc(lckarg->alock.oh.n_len); in getlock()
252 if (newfl->client.oh.n_bytes == NULL) { in getlock()
259 memcpy(newfl->client.oh.n_bytes, lckarg->alock.oh.n_bytes, in getlock()
264 newfl->client_cookie.n_bytes = malloc(lckarg->cookie.n_len); in getlock()
265 if (newfl->client_cookie.n_bytes == NULL) { in getlock()
271 memcpy(newfl->client_cookie.n_bytes, lckarg->cookie.n_bytes, in getlock()
373 memcmp(fl->client.oh.n_bytes, lck->oh.n_bytes, in unlock()
425 free(fl->client.oh.n_bytes); in lfree()
426 free(fl->client_cookie.n_bytes); in lfree()
[all …]
Dtest.c304 arg.cookie.n_bytes = "hello"; in main()
311 …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()
313 arg.alock.oh.n_bytes = "\x00\x00\x02\xff\xff\xff\xd3"; in main()
319 res_block.cookie.n_bytes = "hello"; in main()
/openbsd/src/sys/dev/usb/dwc2/
Ddwc2_hcdddma.c118 qh->n_bytes = malloc(sizeof(u32) * dwc2_max_desc_num(qh), M_USBHC, in dwc2_desc_list_alloc()
120 if (!qh->n_bytes) { in dwc2_desc_list_alloc()
146 free(qh->n_bytes, M_USBHC, sizeof(u32) * dwc2_max_desc_num(qh)); in dwc2_desc_list_free()
147 qh->n_bytes = NULL; in dwc2_desc_list_free()
563 qh->n_bytes[idx] = max_xfer_size; in dwc2_fill_host_isoc_dma_desc()
565 qh->n_bytes[idx] = frame_desc->length; in dwc2_fill_host_isoc_dma_desc()
568 dma_desc->status = qh->n_bytes[idx] << HOST_DMA_ISOC_NBYTES_SHIFT & in dwc2_fill_host_isoc_dma_desc()
722 qh->n_bytes[n_desc] = len; in dwc2_fill_host_dma_desc()
928 frame_desc->actual_length = qh->n_bytes[idx] - remain; in dwc2_cmpl_host_isoc_dma_desc()
932 frame_desc->actual_length = qh->n_bytes[idx] - remain; in dwc2_cmpl_host_isoc_dma_desc()
[all …]
Ddwc2_hcd.h379 u32 *n_bytes; member
/openbsd/src/gnu/gcc/gcc/config/pa/
Dpa.c2541 unsigned long n_bytes = INTVAL (operands[4]); in output_block_move() local
2554 operands[4] = GEN_INT (n_bytes - 16); in output_block_move()
2566 if (n_bytes % 16 != 0) in output_block_move()
2568 operands[4] = GEN_INT (n_bytes % 8); in output_block_move()
2569 if (n_bytes % 16 >= 8) in output_block_move()
2571 if (n_bytes % 8 != 0) in output_block_move()
2573 if (n_bytes % 16 >= 8) in output_block_move()
2575 if (n_bytes % 8 != 0) in output_block_move()
2582 operands[4] = GEN_INT (n_bytes - 8); in output_block_move()
2594 if (n_bytes % 8 != 0) in output_block_move()
[all …]
/openbsd/src/gnu/llvm/lldb/examples/darwin/heap_find/heap/
Dheap_find.cpp287 void *safe_malloc(size_t n_bytes) { in safe_malloc() argument
288 if (n_bytes > 0) { in safe_malloc()
291 ((n_bytes + k_page_size - 1) / k_page_size) * k_page_size; in safe_malloc()
/openbsd/src/gnu/usr.bin/gcc/gcc/config/pa/
Dpa.c2399 unsigned long n_bytes = INTVAL (operands[4]); local
2412 operands[4] = GEN_INT (n_bytes - 8);
2424 if (n_bytes % 8 != 0)
2426 operands[4] = GEN_INT (n_bytes % 4);
2427 if (n_bytes % 8 >= 4)
2429 if (n_bytes % 4 != 0)
2431 if (n_bytes % 8 >= 4)
2433 if (n_bytes % 4 != 0)
2440 operands[4] = GEN_INT (n_bytes - 4);
2451 if (n_bytes % 4 != 0)
[all …]
/openbsd/src/include/rpc/
Dxdr.h283 char *n_bytes; member
/openbsd/src/lib/libc/rpc/
Dxdr.c548 return (xdr_bytes(xdrs, &np->n_bytes, &np->n_len, MAX_NETOBJ_SZ)); in xdr_netobj()
/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
DChangeLog-91933080 Alignment value in section header is n_bytes, not log2.
/openbsd/src/gnu/usr.bin/binutils/bfd/
DChangeLog-91933080 Alignment value in section header is n_bytes, not log2.