Searched refs:nbytes (Results 151 - 175 of 250) sorted by relevance

12345678910

/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_consume.c1135 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 Decore_ll2_api.h301 * @param nbytes
309 u16 nbytes);
/freebsd-11-stable/usr.sbin/kldxref/
H A Def_obj.c363 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 Dscsi_ch.h182 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 Dcloudabi_types_common.h362 _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 Dnto-procfs.c745 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 Ddbxread.c803 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 Ddrm_ioc32.c346 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 Ddevstat.c162 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 Dibcs2_misc.c347 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 Dlink_elf.c779 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 Digmp.c2653 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 Dmld6.c2287 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 Dtc-arc.c1211 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 Dtc-spu.c813 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 Dphysical.c814 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 Dzfs_vnops.c393 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 Dopncls.c384 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 Dbshw_machdep.c529 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 Dmalloc.c1542 #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 Docteon-pci-console.c84 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 Dfmt.c779 xrealloc(void *ptr, size_t nbytes) argument
781 void *p = realloc(ptr, nbytes);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_x/
H A Drev_file.c510 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 Dio.c4049 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 Dinterfaceiter.c405 size_t nbytes; local
442 nbytes = match_len / 8;
444 memset(&iter->current.netmask.type.in6, 0xFF, nbytes);
446 pbits += nbytes;

Completed in 481 milliseconds

12345678910