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

12345678910

/freebsd-10-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-10-stable/sys/netinet6/
H A Dmld6.c2294 int minrec0len, m0srcs, msrcs, nbytes, off; local
2312 nbytes = 0;
2476 nbytes += sizeof(struct mldv2_record);
2498 md->m_len - nbytes);
2531 nbytes += sizeof(struct in6_addr);
2539 nbytes += (msrcs * sizeof(struct in6_addr));
2563 return (nbytes);
2592 nbytes += sizeof(struct mldv2_record);
2627 nbytes += (msrcs * sizeof(struct in6_addr));
2633 return (nbytes);
2679 int m0srcs, nbytes, npbytes, off, rsrcs, schanged; local
[all...]
/freebsd-10-stable/sys/netinet/
H A Digmp.c2650 int minrec0len, m0srcs, msrcs, nbytes, off; local
2666 nbytes = 0;
2810 nbytes += sizeof(struct igmp_grouprec);
2829 md->m_len - nbytes);
2860 nbytes += sizeof(in_addr_t);
2868 nbytes += (msrcs * sizeof(in_addr_t));
2892 return (nbytes);
2926 nbytes += sizeof(struct igmp_grouprec);
2960 nbytes += (msrcs * sizeof(in_addr_t));
2966 return (nbytes);
3013 int m0srcs, nbytes, npbytes, off, rsrcs, schanged; local
[all...]
/freebsd-10-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
H A Dtc-arm.h217 # define md_cons_align(nbytes) mapping_state (MAP_DATA)
H A Dtc-ia64.h108 extern void ia64_cons_fix_new PARAMS ((fragS *f, int where, int nbytes,
/freebsd-10-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-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vnops.c390 page_busy(vnode_t *vp, int64_t start, int64_t off, int64_t nbytes) argument
405 end = rounddown2(off + nbytes, DEV_BSIZE);
407 nbytes = end - off;
442 if (nbytes != 0)
443 vm_page_clear_dirty(pp, off, nbytes);
530 int nbytes = imin(PAGESIZE - off, len); local
532 if ((pp = page_busy(vp, start, off, nbytes)) != NULL) {
536 (void) dmu_read(os, oid, start+off, nbytes,
543 len -= nbytes;
560 mappedread_sf(vnode_t *vp, int nbytes, uio_ argument
630 mappedread(vnode_t *vp, int nbytes, uio_t *uio) argument
705 ssize_t n, nbytes; local
864 ssize_t n, nbytes; local
[all...]
/freebsd-10-stable/sys/kern/
H A Duipc_syscalls.c1891 * int sendfile(int fd, int s, off_t offset, size_t nbytes,
1895 * specified by 's'. Send only 'nbytes' of the file or until EOF if nbytes ==
1953 uap->nbytes, uap->sbytes, uap->flags, compat ? SFK_COMPAT : 0, td);
1971 args.nbytes = uap->nbytes;
2180 struct uio *trl_uio, off_t offset, size_t nbytes, off_t *sent, int flags,
2204 rem = nbytes;
2244 * In FBSD < 5.0 the nbytes to send also included
2246 * header size from nbytes
2179 vn_sendfile(struct file *fp, int sockfd, struct uio *hdr_uio, struct uio *trl_uio, off_t offset, size_t nbytes, off_t *sent, int flags, int kflags, struct thread *td) argument
[all...]
H A Dlink_elf.c721 int nbytes, i; local
774 nbytes = PAGE_SIZE - resid;
813 (hdr->e_phoff + hdr->e_phnum*sizeof(Elf_Phdr) <= nbytes)))
974 nbytes = hdr->e_shnum * hdr->e_shentsize;
975 if (nbytes == 0 || hdr->e_shoff == 0)
977 shdr = malloc(nbytes, M_LINKER, M_WAITOK | M_ZERO);
979 (caddr_t)shdr, nbytes, hdr->e_shoff,
/freebsd-10-stable/sys/compat/linux/
H A Dlinux_file.c331 int buflen, error, eofflag, nbytes, justone; local
335 nbytes = args->count;
336 if (nbytes == 1) {
340 nbytes = sizeof(*linux_dirent);
364 buflen = max(LINUX_DIRBLKSIZ, nbytes);
393 resid = nbytes;
502 nbytes = resid;
507 nbytes = resid + linuxreclen;
510 td->td_retval[0] = nbytes - resid;
/freebsd-10-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-10-stable/contrib/gdb/gdb/
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-10-stable/sys/dev/ct/
H A Dbshw_machdep.c528 u_int nbytes = bs->sc_seglen; local
554 bshw_dma_write_1(chp, waport + 2, --nbytes);
555 bshw_dma_write_1(chp, waport + 2, nbytes >> 8);
/freebsd-10-stable/usr.bin/csup/
H A Drcsfile.c1302 int nbytes; local
1310 nbytes = stream_write(dest, log, len - 1);
1312 return ((nbytes == -1) ? -1 : 0);
1320 int nbytes; local
1329 nbytes = stream_write(dest, text, len - 1);
1331 return ((nbytes == -1) ? -1 : 0);
/freebsd-10-stable/sys/i386/ibcs2/
H A Dibcs2_misc.c372 buflen = max(DIRBLKSIZ, uap->nbytes);
406 resid = uap->nbytes;
479 td->td_retval[0] = uap->nbytes - resid;
534 buflen = max(DIRBLKSIZ, uap->nbytes);
570 resid = uap->nbytes;
645 td->td_retval[0] = uap->nbytes - resid;
/freebsd-10-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-10-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-10-stable/usr.bin/fmt/
H A Dfmt.c666 xrealloc(void *ptr, size_t nbytes) { argument
667 void *p = realloc(ptr, nbytes);
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzutil.h100 void *_Cdecl farmalloc( unsigned long nbytes );
/freebsd-10-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;
/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/
H A Dio.c3751 apr_size_t *nbytes, apr_pool_t *pool)
3753 return do_io_file_wrapper_cleanup(file, apr_file_read(file, buf, nbytes),
3762 apr_size_t nbytes, apr_size_t *bytes_read,
3766 apr_status_t status = apr_file_read_full(file, buf, nbytes, bytes_read);
3893 apr_size_t *nbytes, apr_pool_t *pool)
3896 file, apr_file_write(file, buf, nbytes),
3915 apr_size_t nbytes, apr_size_t *bytes_written,
3924 apr_size_t bw = nbytes;
3925 apr_size_t to_write = nbytes;
3934 && nbytes > MAXBUFSIZ
3741 svn_io_file_read(apr_file_t *file, void *buf, apr_size_t *nbytes, apr_pool_t *pool) argument
3752 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
3883 svn_io_file_write(apr_file_t *file, const void *buf, apr_size_t *nbytes, apr_pool_t *pool) argument
3905 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
3952 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
3984 svn_io_write_atomic(const char *final_path, const void *buf, apr_size_t nbytes, const char *copy_perms_path, apr_pool_t *scratch_pool) argument
[all...]
/freebsd-10-stable/contrib/zlib/
H A Dzutil.h92 void *_Cdecl farmalloc( unsigned long nbytes );
/freebsd-10-stable/libexec/tftpd/tests/
H A Dfunctional.c360 write_all(int fd, const void *buf, size_t nbytes) argument
364 while (nbytes > 0) {
365 r = write(fd, buf, nbytes);
367 nbytes -= r;

Completed in 492 milliseconds

12345678910