Searched refs:total_size (Results 1 - 25 of 120) sorted by relevance

12345

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/
H A Dfb_sys_fops.c22 unsigned long total_size; local
27 total_size = info->screen_size;
29 if (total_size == 0)
30 total_size = info->fix.smem_len;
32 if (p >= total_size)
35 if (count >= total_size)
36 count = total_size;
38 if (count + p > total_size)
39 count = total_size - p;
62 unsigned long total_size; local
[all...]
H A Dhecubafb.c165 unsigned long total_size; local
170 total_size = info->fix.smem_len;
172 if (p > total_size)
175 if (count > total_size) {
177 count = total_size;
180 if (count + p > total_size) {
184 count = total_size - p;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/tests/unit/
H A Dunit1308.c47 size_t total_size = 0; variable
70 rc = curl_formget(post, &total_size, print_httppost_callback);
74 fail_unless(total_size == 486, "curl_formget got wrong size back");
89 rc = curl_formget(post, &total_size, print_httppost_callback);
91 fail_unless(total_size == 847, "curl_formget got wrong size back");
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/acpi/acpica/
H A Drscalc.c191 acpi_rs_length total_size; local
207 total_size = acpi_gbl_aml_resource_sizes[resource->type];
219 total_size--;
228 total_size--;
243 total_size =
249 total_size = (acpi_rs_length)
250 (total_size + resource->data.vendor.byte_length);
258 *size_needed = aml_size_needed + total_size;
269 total_size = (acpi_rs_length)
270 (total_size
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dh264_mp4toannexb_bsf.c77 uint64_t total_size = 0; local
103 total_size += unit_size+4;
104 if (total_size > INT_MAX - FF_INPUT_BUFFER_PADDING_SIZE ||
109 tmp = av_realloc(out, total_size + FF_INPUT_BUFFER_PADDING_SIZE);
115 memcpy(out+total_size-unit_size-4, nalu_header, 4);
116 memcpy(out+total_size-unit_size, extradata+2, unit_size);
127 memset(out + total_size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
136 avctx->extradata_size = total_size;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dh264_mp4toannexb_bsf.c66 uint64_t total_size = 0; local
85 total_size += unit_size + 4;
86 if (total_size > INT_MAX - padding) {
98 if ((err = av_reallocp(&out, total_size + padding)) < 0)
100 memcpy(out + total_size - unit_size - 4, nalu_header, 4);
101 memcpy(out + total_size - unit_size, extradata + 2, unit_size);
112 memset(out + total_size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
126 avctx->extradata_size = total_size;
H A Ddpx.c81 int w, h, bits_per_color, descriptor, elements, packing, total_size; local
178 total_size = avctx->width * avctx->height * elements;
185 total_size = (avctx->width * elements + 2) / 3 * 4 * avctx->height;
192 total_size = 2 * avctx->width * avctx->height * elements;
195 total_size = 2 * avctx->width * avctx->height * elements;
269 if (total_size + (int64_t)offset > avpkt->size) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/devices/
H A Dmtdram.c20 static unsigned long total_size = CONFIG_MTDRAM_TOTAL_SIZE; variable
22 #define MTDRAM_TOTAL_SIZE (total_size * 1024)
26 module_param(total_size, ulong, 0);
27 MODULE_PARM_DESC(total_size, "Total device size in KiB");
147 if (!total_size)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/mlx4/
H A Dprofile.c83 u64 total_size = 0; local
143 profile[i].start = total_size;
144 total_size += profile[i].size;
147 if (total_size > dev_cap->max_icm_sz) {
150 (unsigned long long) total_size,
165 (int) (total_size >> 10));
239 return total_size;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/mthca/
H A Dmthca_profile.c78 s64 total_size = 0; local
148 profile[i].start = mem_base + total_size;
149 total_size += profile[i].size;
151 if (total_size > mem_avail) {
154 (unsigned long long) total_size,
170 (int) (total_size >> 10));
173 (int) (total_size >> 10), (int) (mem_avail >> 10),
174 (int) ((mem_avail - total_size) >> 10));
284 return total_size;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/usbip/
H A Dstub_tx.c175 size_t total_size = 0; local
236 total_size += txsize;
248 return total_size;
283 size_t total_size = 0; local
317 total_size += txsize;
330 return total_size;
H A Dvhci_tx.c77 size_t total_size = 0; local
136 total_size += txsize;
139 return total_size;
171 size_t total_size = 0; local
209 total_size += txsize;
212 return total_size;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/
H A Dmicrocode_amd.c167 unsigned int total_size; local
179 total_size = (unsigned long) (section_hdr[4] + (section_hdr[5] << 8));
181 if (total_size > size || total_size > UCODE_MAX_SIZE) {
190 total_size)) {
194 *mc_size = total_size + UCODE_CONTAINER_SECTION_HDR;
H A Dmicrocode_intel.c189 unsigned long total_size, data_size, ext_table_size; local
195 total_size = get_totalsize(mc_header);
198 if (data_size + MC_HEADER_SIZE > total_size) {
207 ext_table_size = total_size - (MC_HEADER_SIZE + data_size);
271 unsigned long total_size = get_totalsize(mc_header); local
282 if (total_size <= get_datasize(mc_header) + MC_HEADER_SIZE)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/xz/tests/
H A Dtest_index.c48 lzma_vli total_size = 0; local
57 total_size += (t + 3) & ~LZMA_VLI_C(3);
62 expect(lzma_index_total_size(i) == total_size);
119 || ra.block.total_size
120 != rb.block.total_size)
181 lzma_vli total_size = 0; local
190 total_size += r.block.total_size;
198 stream_offset += r.block.total_size;
202 expect(lzma_index_total_size(i) == total_size);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/tools/misc/xz/tests/
H A Dtest_index.c48 lzma_vli total_size = 0; local
57 total_size += (t + 3) & ~LZMA_VLI_C(3);
62 expect(lzma_index_total_size(i) == total_size);
119 || ra.block.total_size
120 != rb.block.total_size)
181 lzma_vli total_size = 0; local
190 total_size += r.block.total_size;
198 stream_offset += r.block.total_size;
202 expect(lzma_index_total_size(i) == total_size);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/dma/
H A Dste_dma40_ll.c203 int total_size = 0; local
212 total_size += sg_dma_len(current_sg);
240 return total_size;
315 int total_size = 0; local
322 total_size += sg_dma_len(current_sg);
379 return total_size;
390 int total_size = 0; local
396 total_size += sg_dma_len(current_sg);
420 return total_size;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/cxgb3/
H A Diwch_mem.c137 u64 *total_size,
146 *total_size = 0;
153 *total_size += buffer_list[i].size;
165 if (*total_size > 0xFFFFFFFFULL)
198 (unsigned long long) mask, *shift, (unsigned long long) *total_size,
134 build_phys_page_list(struct ib_phys_buf *buffer_list, int num_phys_buf, u64 *iova_start, u64 *total_size, int *npages, int *shift, __be64 **page_list) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavutil/
H A Dimgutils.c96 int i, total_size, size[4], has_plane[4]; local
120 total_size = size[0];
128 if (total_size > INT_MAX - size[i])
130 total_size += size[i];
133 return total_size;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/examples/c/decode/file/
H A Dmain.c113 const FLAC__uint32 total_size = (FLAC__uint32)(total_samples * channels * (bps/8)); local
131 !write_little_endian_uint32(f, total_size + 36) ||
141 !write_little_endian_uint32(f, total_size)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/examples/cpp/decode/file/
H A Dmain.cpp118 const FLAC__uint32 total_size = (FLAC__uint32)(total_samples * channels * (bps/8)); local
134 !write_little_endian_uint32(f, total_size + 36) ||
144 !write_little_endian_uint32(f, total_size)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/sm7xx/
H A Dsmtcfb.c453 unsigned long total_size; local
461 total_size = info->screen_size;
463 if (total_size == 0)
464 total_size = info->fix.smem_len;
466 if (p >= total_size)
469 if (count >= total_size)
470 count = total_size;
472 if (count + p > total_size)
473 count = total_size - p;
533 unsigned long total_size; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/repmgr/
H A Drepmgr_stat.c235 size_t array_size, total_size; local
258 total_size = array_size;
263 total_size += strlen(site->net_addr.host) + 1;
266 if ((ret = __os_umalloc(env, total_size, &status)) != 0)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/lib/
H A Dbuffer.c403 int total_size; local
460 total_size = iov_index;
463 while( total_size > 0 )
466 iov_size = ( total_size > IOV_MAX ) ? IOV_MAX : total_size;
487 total_size -= iov_size;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/scsi/
H A Dlibiscsi_tcp.h38 unsigned int total_size; member in struct:iscsi_segment

Completed in 281 milliseconds

12345