/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_consume.c | 1135 size_t nbytes, int width, int quiet, int forceraw) 1145 if (nbytes == 0) 1154 for (i = 0; i < nbytes; i++) { 1178 for (j = i + 1; j < nbytes; j++) { 1183 if (j != nbytes) 1197 if (i == nbytes) { 1203 char *s = alloca(nbytes + 1); 1204 bcopy(c, s, nbytes); 1205 s[nbytes] = '\0'; 1221 for (i = 0; i < nbytes; 1134 dt_print_bytes(dtrace_hdl_t *dtp, FILE *fp, caddr_t addr, size_t nbytes, int width, int quiet, int forceraw) argument 1546 size_t nbytes = *((uintptr_t *) addr); local 1788 size_t nbytes = *((uintptr_t *) addr); local [all...] |
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_ll2_api.h | 301 * @param nbytes 309 u16 nbytes);
|
/freebsd-11-stable/usr.sbin/kldxref/ |
H A D | ef_obj.c | 363 int i, j, nbytes, nsym, shstrindex, symstrindex, symtabindex; local 398 nbytes = hdr->e_shnum * hdr->e_shentsize; 399 if (nbytes == 0 || hdr->e_shoff == 0 || 403 if (ef_obj_read_entry(ef, hdr->e_shoff, nbytes, &vtmp) != 0) {
|
/freebsd-11-stable/sys/cam/scsi/ |
H A D | scsi_ch.h | 182 u_int8_t nbytes[3]; /* byte count of all pages */ member in struct:read_element_status_header 192 u_int8_t nbytes[3]; /* byte count of all descriptors */ member in struct:read_element_status_page_header
|
/freebsd-11-stable/sys/contrib/cloudabi/ |
H A D | cloudabi_types_common.h | 362 _Alignas(8) cloudabi_filesize_t nbytes; member in struct:__anon5545::__anon5546::__anon5547 376 _Static_assert(offsetof(cloudabi_event_t, fd_readwrite.nbytes) == 16, "Incorrect layout");
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | nto-procfs.c | 745 int nbytes = 0; local 750 nbytes = write (ctl_fd, myaddr, len); 752 nbytes = read (ctl_fd, myaddr, len); 753 if (nbytes < 0) 754 nbytes = 0; 756 return (nbytes);
|
H A D | dbxread.c | 803 int nbytes; 807 nbytes = sizeof (symbuf); 808 if (nbytes > symbuf_left) 809 nbytes = symbuf_left; 810 memcpy (symbuf, stabs_data + symbuf_read, nbytes); 815 nbytes = bfd_bread (symbuf, count, sym_bfd); 832 nbytes = bfd_bread (symbuf, count, sym_bfd); 835 if (nbytes < 0) 837 else if (nbytes == 0) 839 symbuf_end = nbytes / symbol_siz 796 int nbytes; local [all...] |
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_ioc32.c | 346 size_t nbytes; local 355 nbytes = sizeof(*request) + count * sizeof(struct drm_buf_desc); 356 request = malloc(nbytes, DRM_MEM_BUFLISTS, M_ZERO | M_NOWAIT); 405 size_t nbytes; local 412 nbytes = sizeof(*request) + count * sizeof(struct drm_buf_pub); 413 request = malloc(nbytes, DRM_MEM_BUFLISTS, M_ZERO | M_NOWAIT);
|
/freebsd-11-stable/lib/libdevstat/ |
H A D | devstat.c | 162 static int readkmem(kvm_t *kd, unsigned long addr, void *buf, size_t nbytes); 163 static int readkmem_nl(kvm_t *kd, const char *name, void *buf, size_t nbytes); 1588 readkmem(kvm_t *kd, unsigned long addr, void *buf, size_t nbytes) argument 1591 if (kvm_read(kd, addr, buf, nbytes) == -1) { 1601 readkmem_nl(kvm_t *kd, const char *name, void *buf, size_t nbytes) argument 1614 return(readkmem(kd, nl[0].n_value, buf, nbytes));
|
/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_misc.c | 347 buflen = max(DIRBLKSIZ, uap->nbytes); 381 resid = uap->nbytes; 454 td->td_retval[0] = uap->nbytes - resid; 506 buflen = max(DIRBLKSIZ, uap->nbytes); 542 resid = uap->nbytes; 617 td->td_retval[0] = uap->nbytes - resid;
|
/freebsd-11-stable/sys/kern/ |
H A D | link_elf.c | 779 int nbytes, i; local 835 nbytes = PAGE_SIZE - resid; 874 (hdr->e_phoff + hdr->e_phnum*sizeof(Elf_Phdr) <= nbytes))) 1035 nbytes = hdr->e_shnum * hdr->e_shentsize; 1036 if (nbytes == 0 || hdr->e_shoff == 0) 1038 shdr = malloc(nbytes, M_LINKER, M_WAITOK | M_ZERO); 1040 (caddr_t)shdr, nbytes, hdr->e_shoff, 1050 nbytes = shdr[shstrindex].sh_size; 1051 shstrs = malloc(nbytes, M_LINKER, M_WAITOK | M_ZERO); 1052 error = vn_rdwr(UIO_READ, nd.ni_vp, (caddr_t)shstrs, nbytes, [all...] |
/freebsd-11-stable/sys/netinet/ |
H A D | igmp.c | 2653 int minrec0len, m0srcs, msrcs, nbytes, off; local 2669 nbytes = 0; 2812 nbytes += sizeof(struct igmp_grouprec); 2831 md->m_len - nbytes); 2862 nbytes += sizeof(in_addr_t); 2870 nbytes += (msrcs * sizeof(in_addr_t)); 2894 return (nbytes); 2928 nbytes += sizeof(struct igmp_grouprec); 2962 nbytes += (msrcs * sizeof(in_addr_t)); 2968 return (nbytes); 3015 int m0srcs, nbytes, npbytes, off, rsrcs, schanged; local [all...] |
/freebsd-11-stable/sys/netinet6/ |
H A D | mld6.c | 2287 int minrec0len, m0srcs, msrcs, nbytes, off; local 2305 nbytes = 0; 2469 nbytes += sizeof(struct mldv2_record); 2491 md->m_len - nbytes); 2524 nbytes += sizeof(struct in6_addr); 2532 nbytes += (msrcs * sizeof(struct in6_addr)); 2556 return (nbytes); 2585 nbytes += sizeof(struct mldv2_record); 2620 nbytes += (msrcs * sizeof(struct in6_addr)); 2626 return (nbytes); 2672 int m0srcs, nbytes, npbytes, off, rsrcs, schanged; local [all...] |
/freebsd-11-stable/contrib/binutils/gas/config/ |
H A D | tc-arc.c | 1211 unsigned int nbytes ATTRIBUTE_UNUSED) 1235 int nbytes, 1238 if (nbytes == 4) 1245 fix_new_exp (frag, where, nbytes, &exptmp, 0, reloc_type); 1249 fix_new_exp (frag, where, nbytes, exp, 0, 1250 nbytes == 2 ? BFD_RELOC_16 1251 : nbytes == 8 ? BFD_RELOC_64 1227 arc_cons_fix_new(fragS *frag, int where, int nbytes, expressionS *exp) argument
|
H A D | tc-spu.c | 813 spu_cons (int nbytes) 830 char *p = frag_more (nbytes); 844 reloc = nbytes == 4 ? BFD_RELOC_SPU_PPU32 : BFD_RELOC_SPU_PPU64; 845 fix_new_exp (frag_now, p - frag_now->fr_literal, nbytes, 849 emit_expr (&exp, nbytes); 811 spu_cons(int nbytes) argument
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | physical.c | 814 physical_Read(struct physical *p, void *buf, size_t nbytes) argument 819 ret = (*p->handler->read)(p, buf, nbytes); 821 ret = read(p->fd, buf, nbytes); 829 physical_Write(struct physical *p, const void *buf, size_t nbytes) argument 831 log_DumpBuff(LogPHYSICAL, "write", buf, nbytes); 834 return (*p->handler->write)(p, buf, nbytes); 836 return write(p->fd, buf, nbytes);
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_vnops.c | 393 page_busy(vnode_t *vp, int64_t start, int64_t off, int64_t nbytes) argument 408 end = rounddown2(off + nbytes, DEV_BSIZE); 410 nbytes = end - off; 441 if (nbytes != 0) 442 vm_page_clear_dirty(pp, off, nbytes); 529 int nbytes = imin(PAGESIZE - off, len); local 531 if ((pp = page_busy(vp, start, off, nbytes)) != NULL) { 535 (void) dmu_read(os, oid, start+off, nbytes, 542 len -= nbytes; 559 mappedread_sf(vnode_t *vp, int nbytes, uio_ argument 629 mappedread(vnode_t *vp, int nbytes, uio_t *uio) argument 704 ssize_t n, nbytes; local 863 ssize_t n, nbytes; local [all...] |
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | opncls.c | 384 file_ptr nbytes, 407 Calls @var{pread} to request @var{nbytes} of data from 410 number of bytes read (which can be less than @var{nbytes} when 431 file_ptr nbytes, file_ptr offset); 458 opncls_bread (struct bfd *abfd, void *buf, file_ptr nbytes) argument 461 file_ptr nread = (vec->pread) (abfd, vec->stream, buf, nbytes, vec->where); 471 file_ptr nbytes ATTRIBUTE_UNUSED) 520 file_ptr nbytes, 513 bfd_openr_iovec(const char *filename, const char *target, void *(*open) (struct bfd *nbfd, void *open_closure), void *open_closure, file_ptr (*pread) (struct bfd *abfd, void *stream, void *buf, file_ptr nbytes, file_ptr offset), int (*close) (struct bfd *nbfd, void *stream), int (*stat) (struct bfd *abfd, void *stream, struct stat *sb)) argument
|
/freebsd-11-stable/sys/dev/ct/ |
H A D | bshw_machdep.c | 529 u_int nbytes = bs->sc_seglen; local 555 bshw_dma_write_1(chp, waport + 2, --nbytes); 556 bshw_dma_write_1(chp, waport + 2, nbytes >> 8);
|
/freebsd-11-stable/sys/contrib/octeon-sdk/cvmx-malloc/ |
H A D | malloc.c | 1542 #define MALLOC_COPY(dest, src, nbytes) memcpy(dest, src, nbytes) 1543 #define MALLOC_ZERO(dest, nbytes) memset(dest, 0, nbytes) 1549 #define MALLOC_ZERO(charp, nbytes) \ 1552 unsigned long mctmp = (nbytes)/sizeof(INTERNAL_SIZE_T); \ 1567 #define MALLOC_COPY(dest,src,nbytes) \ 1571 unsigned long mctmp = (nbytes)/sizeof(INTERNAL_SIZE_T); \
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | octeon-pci-console.c | 84 int __cvmx_pci_console_write (int fd, char *buf, int nbytes) argument 105 return octeon_pci_console_write(pci_console_desc_addr, console_num, buf, nbytes, 0);
|
/freebsd-11-stable/usr.bin/fmt/ |
H A D | fmt.c | 779 xrealloc(void *ptr, size_t nbytes) argument 781 void *p = realloc(ptr, nbytes);
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_x/ |
H A D | rev_file.c | 510 apr_size_t nbytes) 513 return svn_error_trace(svn_io_file_read_full2(file->file, buf, nbytes, 508 svn_fs_x__rev_file_read(svn_fs_x__revision_file_t *file, void *buf, apr_size_t nbytes) argument
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | io.c | 4049 apr_size_t *nbytes, apr_pool_t *pool) 4051 return do_io_file_wrapper_cleanup(file, apr_file_read(file, buf, nbytes), 4060 apr_size_t nbytes, apr_size_t *bytes_read, 4064 apr_status_t status = apr_file_read_full(file, buf, nbytes, bytes_read); 4191 apr_size_t *nbytes, apr_pool_t *pool) 4194 file, apr_file_write(file, buf, nbytes), 4213 apr_size_t nbytes, apr_size_t *bytes_written, 4218 apr_size_t bw = nbytes; 4219 apr_size_t to_write = nbytes; 4222 rv = apr_file_write_full(file, buf, nbytes, 4039 svn_io_file_read(apr_file_t *file, void *buf, apr_size_t *nbytes, apr_pool_t *pool) argument 4050 svn_io_file_read_full2(apr_file_t *file, void *buf, apr_size_t nbytes, apr_size_t *bytes_read, svn_boolean_t *hit_eof, apr_pool_t *pool) argument 4181 svn_io_file_write(apr_file_t *file, const void *buf, apr_size_t *nbytes, apr_pool_t *pool) argument 4203 svn_io_file_write_full(apr_file_t *file, const void *buf, apr_size_t nbytes, apr_size_t *bytes_written, apr_pool_t *pool) argument 4249 svn_io_write_unique(const char **tmp_path, const char *dirpath, const void *buf, apr_size_t nbytes, svn_io_file_del_t delete_when, apr_pool_t *pool) argument 4281 svn_io_write_atomic2(const char *final_path, const void *buf, apr_size_t nbytes, const char *copy_perms_path, svn_boolean_t flush_to_disk, apr_pool_t *scratch_pool) argument [all...] |
/freebsd-11-stable/contrib/ntp/lib/isc/win32/ |
H A D | interfaceiter.c | 405 size_t nbytes; local 442 nbytes = match_len / 8; 444 memset(&iter->current.netmask.type.in6, 0xFF, nbytes); 446 pbits += nbytes;
|