Searched refs:num_bytes (Results 1 - 25 of 112) sorted by relevance

12345

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sparc/prom/
H A Dpalloc.c19 /* Allocate a chunk of memory of size 'num_bytes' giving a suggestion
25 prom_alloc(char *virtual_hint, unsigned int num_bytes) argument
28 if(num_bytes == 0x0) return (char *) 0x0;
29 return (*(romvec->pv_v2devops.v2_dumb_mem_alloc))(virtual_hint, num_bytes);
33 * 'vaddr' of size 'num_bytes'. NOTE: This vaddr is not the hint you
39 prom_free(char *vaddr, unsigned int num_bytes) argument
41 if((prom_vers == PROM_V0) || (num_bytes == 0x0)) return;
42 (*(romvec->pv_v2devops.v2_dumb_mem_free))(vaddr, num_bytes);
H A Ddevmap.c22 * 'num_bytes' to a virtual address, with 'vhint' being a hint to
27 prom_mapio(char *vhint, int ios, unsigned int paddr, unsigned int num_bytes) argument
33 if((num_bytes == 0) || (paddr == 0)) ret = (char *) 0x0;
36 num_bytes);
44 prom_unmapio(char *vaddr, unsigned int num_bytes) argument
48 if(num_bytes == 0x0) return;
50 (*(romvec->pv_v2devops.v2_dumb_munmap))(vaddr, num_bytes);
H A Dmemory.c24 sp_banks[index].num_bytes = p->num_bytes;
42 sp_banks[i].num_bytes = reg[i].reg_size;
82 sp_banks[num_ents].num_bytes = 0;
85 sp_banks[i].num_bytes &= PAGE_MASK;
H A Dmisc_32.c97 * format type. 'num_bytes' is the number of bytes that your idbuf
101 prom_get_idprom(char *idbuf, int num_bytes) argument
106 if((len>num_bytes) || (len==-1)) return 0xff;
107 if(!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/comedi/drivers/
H A Dcomedi_fc.c32 unsigned int num_bytes)
37 async->scan_progress += num_bytes;
46 void *data, unsigned int num_bytes)
51 if (num_bytes == 0)
54 retval = comedi_buf_write_alloc(async, num_bytes);
55 if (retval != num_bytes) {
61 comedi_buf_memcpy_to(async, 0, data, num_bytes);
62 comedi_buf_write_free(async, num_bytes);
63 increment_scan_progress(subd, num_bytes);
66 return num_bytes;
31 increment_scan_progress(struct comedi_subdevice *subd, unsigned int num_bytes) argument
45 cfc_write_array_to_buffer(struct comedi_subdevice *subd, void *data, unsigned int num_bytes) argument
70 cfc_read_array_from_buffer(struct comedi_subdevice *subd, void *data, unsigned int num_bytes) argument
[all...]
H A Dcomedi_fc.h35 unsigned int num_bytes);
51 unsigned int num_bytes);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/cx18/
H A Dcx18-alsa-pcm.h27 size_t num_bytes);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gdbm-1.8.3/
H A Dupdate.c43 int num_bytes; /* Return value for write. */ local
48 num_bytes = write (dbf->desc, dbf->header, dbf->header->block_size);
49 if (num_bytes != dbf->header->block_size)
64 int num_bytes; /* Return value for write. */ local
96 num_bytes = write (dbf->desc, dbf->dir, dbf->header->dir_size);
97 if (num_bytes != dbf->header->dir_size)
H A Dgdbmstore.c60 int num_bytes; /* Used for error detection. */ local
157 num_bytes = write (dbf->desc, key.dptr, key.dsize);
158 if (num_bytes != key.dsize) _gdbm_fatal (dbf, "write error");
159 num_bytes = write (dbf->desc, content.dptr, content.dsize);
160 if (num_bytes != content.dsize) _gdbm_fatal (dbf, "write error");
H A Dfalloc.c62 _gdbm_alloc (dbf, num_bytes)
64 int num_bytes;
70 av_el = get_elem (num_bytes, dbf->bucket->bucket_avail,
83 av_el = get_elem (num_bytes, dbf->header->avail.av_table,
87 av_el = get_block (num_bytes, dbf);
96 av_el.av_adr += num_bytes;
97 av_el.av_size -= num_bytes;
112 _gdbm_free (dbf, file_adr, num_bytes)
115 int num_bytes;
120 if (num_bytes <
177 int num_bytes; /* For use with the read system call. */ local
253 int num_bytes; local
[all...]
H A Dgdbmopen.c67 int num_bytes; /* Used in reading and writing. */ local
285 num_bytes = write (dbf->desc, dbf->header, dbf->header->block_size);
286 if (num_bytes != dbf->header->block_size)
294 num_bytes = write (dbf->desc, dbf->dir, dbf->header->dir_size);
295 if (num_bytes != dbf->header->dir_size)
303 num_bytes = write (dbf->desc, dbf->bucket, dbf->header->bucket_size);
304 if (num_bytes != dbf->header->bucket_size)
324 num_bytes = read (dbf->desc, &partial_header, sizeof (gdbm_file_header));
325 if (num_bytes != sizeof (gdbm_file_header))
349 num_bytes
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/gdbm-1.8.3/
H A Dupdate.c43 int num_bytes; /* Return value for write. */ local
48 num_bytes = write (dbf->desc, dbf->header, dbf->header->block_size);
49 if (num_bytes != dbf->header->block_size)
64 int num_bytes; /* Return value for write. */ local
96 num_bytes = write (dbf->desc, dbf->dir, dbf->header->dir_size);
97 if (num_bytes != dbf->header->dir_size)
H A Dgdbmstore.c60 int num_bytes; /* Used for error detection. */ local
157 num_bytes = write (dbf->desc, key.dptr, key.dsize);
158 if (num_bytes != key.dsize) _gdbm_fatal (dbf, "write error");
159 num_bytes = write (dbf->desc, content.dptr, content.dsize);
160 if (num_bytes != content.dsize) _gdbm_fatal (dbf, "write error");
H A Dfalloc.c62 _gdbm_alloc (dbf, num_bytes)
64 int num_bytes;
70 av_el = get_elem (num_bytes, dbf->bucket->bucket_avail,
83 av_el = get_elem (num_bytes, dbf->header->avail.av_table,
87 av_el = get_block (num_bytes, dbf);
96 av_el.av_adr += num_bytes;
97 av_el.av_size -= num_bytes;
112 _gdbm_free (dbf, file_adr, num_bytes)
115 int num_bytes;
120 if (num_bytes <
177 int num_bytes; /* For use with the read system call. */ local
253 int num_bytes; local
[all...]
H A Dgdbmopen.c67 int num_bytes; /* Used in reading and writing. */ local
285 num_bytes = write (dbf->desc, dbf->header, dbf->header->block_size);
286 if (num_bytes != dbf->header->block_size)
294 num_bytes = write (dbf->desc, dbf->dir, dbf->header->dir_size);
295 if (num_bytes != dbf->header->dir_size)
303 num_bytes = write (dbf->desc, dbf->bucket, dbf->header->bucket_size);
304 if (num_bytes != dbf->header->bucket_size)
324 num_bytes = read (dbf->desc, &partial_header, sizeof (gdbm_file_header));
325 if (num_bytes != sizeof (gdbm_file_header))
349 num_bytes
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/jpeg/
H A Djdatasrc.c128 skip_input_data (j_decompress_ptr cinfo, long num_bytes) argument
136 if (num_bytes > 0) {
137 while (num_bytes > (long) src->pub.bytes_in_buffer) {
138 num_bytes -= (long) src->pub.bytes_in_buffer;
144 src->pub.next_input_byte += (size_t) num_bytes;
145 src->pub.bytes_in_buffer -= (size_t) num_bytes;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/jpeg-7/
H A Djdatasrc.c128 skip_input_data (j_decompress_ptr cinfo, long num_bytes) argument
136 if (num_bytes > 0) {
137 while (num_bytes > (long) src->pub.bytes_in_buffer) {
138 num_bytes -= (long) src->pub.bytes_in_buffer;
144 src->pub.next_input_byte += (size_t) num_bytes;
145 src->pub.bytes_in_buffer -= (size_t) num_bytes;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ecryptfs/
H A Dread_write.c135 size_t num_bytes = (PAGE_CACHE_SIZE - start_offset_in_page); local
138 if (num_bytes > total_remaining_bytes)
139 num_bytes = total_remaining_bytes;
144 if (num_bytes > total_remaining_zeros)
145 num_bytes = total_remaining_zeros;
177 (data + data_offset), num_bytes);
178 data_offset += num_bytes;
197 pos += num_bytes;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68k/sun3/prom/
H A Dmisc.c52 * format type. 'num_bytes' is the number of bytes that your idbuf
56 prom_get_idprom(char *idbuf, int num_bytes) argument
61 for(i=0;i<num_bytes; i++)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/btrfs/
H A Ddelayed-ref.h34 u64 num_bytes; member in struct:btrfs_delayed_ref_node
155 u64 bytenr, u64 num_bytes, u64 parent,
159 u64 bytenr, u64 num_bytes,
164 u64 bytenr, u64 num_bytes,
171 u64 bytenr, u64 num_bytes, u64 orig_parent,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sparc/mm/
H A Dinit_32.c115 for (i = 0; sp_banks[i].num_bytes != 0; i++) {
117 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT;
137 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT;
138 for (i = 1; sp_banks[i].num_bytes != 0; i++) {
147 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT;
161 for (i = 0; sp_banks[i].num_bytes != 0; i++) {
163 sp_banks[i].num_bytes;
164 bytes_avail += sp_banks[i].num_bytes;
172 sp_banks[i].num_bytes -= slack;
173 if (sp_banks[i].num_bytes
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Drtmpdh.c82 #define bn_random(bn, num_bytes) \
87 mpz_urandomb(bn, rs, num_bytes); \
103 #define bn_random(bn, num_bytes) gcry_mpi_randomize(bn, num_bytes, GCRY_WEAK_RANDOM)
112 int num_bytes; local
114 num_bytes = bn_num_bytes(dh->p) - 1;
115 if (num_bytes <= 0 || num_bytes > MAX_BYTES)
121 bn_random(dh->priv_key, num_bytes);
138 int num_bytes; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sparc/include/asm/
H A Dvac-ops.h87 unsigned int num_bytes; /* Size of the cache */ member in struct:sun4c_vac_props
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dmlp.c83 int num_bytes = (bit_size + 2) / 8; local
86 crc = av_crc(crc_1D, crc, buf + 1, num_bytes - 2);
87 crc ^= buf[num_bytes - 1];
93 crc ^= (buf[num_bytes] >> (7 - i)) & 1;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dmlp.c83 int num_bytes = (bit_size + 2) / 8; local
86 crc = av_crc(crc_1D, crc, buf + 1, num_bytes - 2);
87 crc ^= buf[num_bytes - 1];
93 crc ^= (buf[num_bytes] >> (7 - i)) & 1;

Completed in 388 milliseconds

12345