Home
last modified time | relevance | path

Searched refs:csize (Results 1 – 25 of 61) sorted by relevance

123

/third_party/ltp/testcases/kernel/mem/vmtests/
Dstack_space.c61 int csize; /* chunk size */ variable
98 csize = K_1;
109 if (sscanf(argv[i++], "%d", &csize) != 1)
111 if (csize > MAXSIZE) {
203 #define CHUNK(i) ((i) * csize)
217 nchunks = MAXSIZE / csize; in dotest()
219 val_buf = (char *)(malloc(csize)); in dotest()
220 zero_buf = (char *)(malloc(csize)); in dotest()
248 bfill(zero_buf, 0, csize); in dotest()
254 bfill(val_buf, val, csize); in dotest()
[all …]
Ddata_space.c70 int csize; /* chunk size */ variable
114 csize = K_4;
121 if (sscanf(argv[i++], "%d", &csize) != 1)
216 #define CHUNK(i) ((i) * csize)
242 nchunks = max_size / csize;
246 val_buf = (char *)(malloc(csize));
249 zero_buf = (char *)(malloc(csize));
280 bfill(zero_buf, 0, csize);
286 bfill(val_buf, val, csize);
299 if (memcmp(buf, zero_buf, csize)) {
[all …]
/third_party/ltp/testcases/kernel/fs/ftest/
Dftest01.c83 static int csize; /* chunk size */ variable
140 csize = K_2; /* should run with 1, 2, and 4 K sizes */ in setup()
254 #define CHUNK(i) ((i) * csize)
265 nchunks = max_size / csize; in dotest()
279 if ((buf = (calloc(csize, 1))) == 0) { in dotest()
284 if ((val_buf = (calloc(csize, 1))) == 0) { in dotest()
290 if ((zero_buf = (calloc(csize, 1))) == 0) { in dotest()
327 memset(val_buf, val, csize); in dotest()
328 memset(zero_buf, 0, csize); in dotest()
342 if ((xfr = read(fd, buf, csize)) < 0) { in dotest()
[all …]
Dftest05.c87 static int csize; /* chunk size */ variable
148 csize = K_2; /* should run with 1, 2, and 4 K sizes */ in setup()
255 #define CHUNK(i) (((off64_t)i) * csize)
265 nchunks = max_size / csize; in dotest()
277 if ((buf = (calloc(csize, 1))) == NULL) { in dotest()
282 if ((val_buf = (calloc(csize, 1))) == NULL) { in dotest()
287 if ((zero_buf = (calloc(csize, 1))) == NULL) { in dotest()
322 memset(val_buf, val, csize); in dotest()
323 memset(zero_buf, 0, csize); in dotest()
336 if ((xfr = read(fd, buf, csize)) < 0) { in dotest()
[all …]
Dftest03.c88 static int csize; /* chunk size */ variable
160 csize = K_2; /* should run with 1, 2, and 4 K sizes */ in setup()
274 #define CHUNK(i) ((i) * csize)
293 nchunks = max_size / csize; in dotest()
305 r_ioveclen = w_ioveclen = csize / MAXIOVCNT; in dotest()
418 if (xfr != csize) { in dotest()
422 me, xfr, csize); in dotest()
455 if (xfr != csize) { in dotest()
459 me, xfr, csize); in dotest()
501 writev(fd, &val_iovec[0], MAXIOVCNT)) < csize) { in dotest()
[all …]
Dftest07.c94 static int csize; /* chunk size */ variable
164 csize = K_2; /* should run with 1, 2, and 4 K sizes */ in setup()
273 return (long long unsigned int) i * csize; in CHUNK()
294 nchunks = max_size / csize; in dotest()
306 r_ioveclen = w_ioveclen = csize / MAXIOVCNT; in dotest()
413 if (xfr != csize) { in dotest()
417 me, xfr, csize); in dotest()
450 if (xfr != csize) { in dotest()
454 me, xfr, csize); in dotest()
496 writev(fd, &val_iovec[0], MAXIOVCNT)) < csize) { in dotest()
[all …]
Dftest04.c72 static int csize; /* chunk size */ variable
132 csize = K_2; /* should run with 1, 2, and 4 K sizes */ in setup()
208 #define CHUNK(i) (((i) * testers + me) * csize)
227 nchunks = max_size / (testers * csize); in dotest()
236 r_ioveclen = w_ioveclen = csize / MAXIOVCNT; in dotest()
340 if (xfr != csize) { in dotest()
344 me, xfr, csize); in dotest()
368 if (xfr != csize) { in dotest()
372 me, xfr, csize); in dotest()
405 writev(fd, &val_iovec[0], MAXIOVCNT)) < csize) { in dotest()
[all …]
Dftest08.c80 static int csize; /* chunk size */ variable
137 csize = K_2; /* should run with 1, 2, and 4 K sizes */ in init()
221 #define CHUNK(i) ((((off64_t)i) * testers + me) * csize)
240 nchunks = max_size / (testers * csize); in dotest()
248 r_ioveclen = w_ioveclen = csize / MAXIOVCNT; in dotest()
353 if (xfr != csize) { in dotest()
357 me, xfr, csize); in dotest()
383 if (xfr != csize) { in dotest()
387 me, xfr, csize); in dotest()
422 writev(fd, &val_iovec[0], MAXIOVCNT)) < csize) { in dotest()
[all …]
/third_party/ffmpeg/libavcodec/x86/
Djpeg2000dsp_init.c27 void ff_ict_float_sse(void *src0, void *src1, void *src2, int csize);
28 void ff_ict_float_avx(void *src0, void *src1, void *src2, int csize);
29 void ff_ict_float_fma3(void *src0, void *src1, void *src2, int csize);
30 void ff_ict_float_fma4(void *src0, void *src1, void *src2, int csize);
31 void ff_rct_int_sse2 (void *src0, void *src1, void *src2, int csize);
32 void ff_rct_int_avx2 (void *src0, void *src1, void *src2, int csize);
/third_party/musl/porting/liteos_a/user/src/malloc/
Dmalloc.c113 c->csize & 15,
160 w->csize = 0 | C_INUSE; in expand_heap()
165 w->csize = n | C_INUSE; in expand_heap()
194 c->csize |= C_INUSE; in unbin()
202 while (!((k=c->csize) & C_INUSE)) { in alloc_fwd()
205 if (c->csize == k) { in alloc_fwd()
260 split->csize = n1-n; in pretrim()
262 self->csize = n | C_INUSE; in pretrim()
277 split->csize = n1-n | C_INUSE; in trim()
279 self->csize = n | C_INUSE; in trim()
[all …]
/third_party/musl/src/malloc/
Dmalloc.c113 c->csize & 15,
160 w->csize = 0 | C_INUSE; in expand_heap()
165 w->csize = n | C_INUSE; in expand_heap()
194 c->csize |= C_INUSE; in unbin()
202 while (!((k=c->csize) & C_INUSE)) { in alloc_fwd()
205 if (c->csize == k) { in alloc_fwd()
260 split->csize = n1-n; in pretrim()
262 self->csize = n | C_INUSE; in pretrim()
277 split->csize = n1-n | C_INUSE; in trim()
279 self->csize = n | C_INUSE; in trim()
[all …]
Dmemalign.c36 n->csize = c->csize - (new-mem); in __memalign()
47 n->psize = c->csize = C_INUSE | (new-mem); in __memalign()
48 n->csize = t->psize -= new-mem; in __memalign()
/third_party/musl/porting/linux/user/src/malloc/
Dmalloc.c119 c->csize & 15,
166 w->csize = 0 | C_INUSE; in expand_heap()
171 w->csize = n | C_INUSE; in expand_heap()
200 c->csize |= C_INUSE; in unbin()
208 while (!((k=c->csize) & C_INUSE)) { in alloc_fwd()
211 if (c->csize == k) { in alloc_fwd()
266 split->csize = n1-n; in pretrim()
268 self->csize = n | C_INUSE; in pretrim()
283 split->csize = n1-n | C_INUSE; in trim()
285 self->csize = n | C_INUSE; in trim()
[all …]
/third_party/musl/porting/liteos_a/user_debug/src/malloc/
Dmalloc.c115 c->csize & 15,
164 w->csize = 0 | C_INUSE; in expand_heap()
169 w->csize = n | C_INUSE; in expand_heap()
200 c->csize |= C_INUSE; in unbin()
208 while (!((k=c->csize) & C_INUSE)) { in alloc_fwd()
211 if (c->csize == k) { in alloc_fwd()
266 split->csize = n1-n; in pretrim()
269 self->csize = n | C_INUSE; in pretrim()
286 split->csize = n1-n | C_INUSE; in trim()
289 self->csize = n | C_INUSE; in trim()
[all …]
Dmemalign.c60 n->csize = c->csize - (new-mem); in __memalign()
75 n->psize = c->csize = C_INUSE | (new-mem); in __memalign()
76 n->csize = t->psize -= new-mem; in __memalign()
/third_party/ffmpeg/libavcodec/
Djpeg2000dsp.c43 static void ict_float(void *_src0, void *_src1, void *_src2, int csize) in ict_float() argument
49 for (i = 0; i < csize; i++) { in ict_float()
60 static void ict_int(void *_src0, void *_src1, void *_src2, int csize) in ict_int() argument
66 for (i = 0; i < csize; i++) { in ict_int()
77 static void rct_int(void *_src0, void *_src1, void *_src2, int csize) in rct_int() argument
83 for (i = 0; i < csize; i++) { in rct_int()
Dtarga.c118 int first_clr, colors, csize; in decode_frame() local
129 csize = bytestream2_get_byte(&s->gb); in decode_frame()
137 if (!pal && (first_clr || colors || csize)) { in decode_frame()
140 first_clr = colors = csize = 0; in decode_frame()
197 switch (csize) { in decode_frame()
203 av_log(avctx, AV_LOG_ERROR, "Palette entry size %i bits is not supported\n", csize); in decode_frame()
Dlzw.c131 int ff_lzw_decode_init(LZWState *p, int csize, const uint8_t *buf, int buf_size, int mode) in ff_lzw_decode_init() argument
135 if(csize < 1 || csize >= LZW_MAXBITS) in ff_lzw_decode_init()
144 s->codesize = csize; in ff_lzw_decode_init()
/third_party/ntfs-3g/ntfsprogs/
Dntfsclone.c735 static void read_rescue(void *fd, char *buff, u32 csize, u32 bytes_per_sector, argument
740 if (read_all(fd, buff, csize) == -1) {
747 rescue_pos = (off_t)(rescue_lcn * csize);
748 for (i = 0; i < csize; i += bytes_per_sector)
762 s32 csize = le32_to_cpu(image_hdr.cluster_size); local
771 csize = vol->cluster_size;
776 rescue_pos = (off_t)(rescue_lcn * csize);
777 buff = (char*)ntfs_malloc(csize);
782 backup_bootsector = (lcn + 1)*csize >= full_device_size;
784 csize = full_device_size - lcn*csize;
[all …]
/third_party/musl/src/internal/
Dmalloc_impl.h13 size_t psize, csize; member
30 #define CHUNK_SIZE(c) ((c)->csize & -2)
40 #define IS_MMAPPED(c) !((c)->csize & (C_INUSE))
/third_party/musl/src/network/
Drecvmmsg.c29 socklen_t csize[vlen]; in recvmmsg() local
30 for (int i=0; i<vlen; i++) csize[i] = msgvec[i].msg_hdr.msg_controllen; in recvmmsg()
34 __convert_scm_timestamps(&msgvec[i].msg_hdr, csize[i]); in recvmmsg()
/third_party/musl/porting/liteos_a/user_debug/src/internal/
Dmalloc_impl.h28 size_t psize, csize; member
75 #define CHUNK_SIZE(c) ((c)->csize & -2)
85 #define IS_MMAPPED(c) !((c)->csize & (C_INUSE))
/third_party/FatFs/documents/res/
Dapp5.c20 clsz = (DWORD)fp->obj.fs->csize * FF_MAX_SS; /* Cluster size */ in test_contiguous_file()
22 clsz = (DWORD)fp->obj.fs->csize * fp->obj.fs->ssize; in test_contiguous_file()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstadapter.c326 gsize bsize, csize; in copy_into_unchecked() local
345 csize = MIN (bsize - skip, size); in copy_into_unchecked()
347 G_GSIZE_FORMAT, bsize, skip, csize); in copy_into_unchecked()
349 " bytes", csize); in copy_into_unchecked()
350 gst_buffer_extract (buf, skip, dest, csize); in copy_into_unchecked()
351 size -= csize; in copy_into_unchecked()
352 dest += csize; in copy_into_unchecked()
359 csize = MIN (bsize, size); in copy_into_unchecked()
361 "extract %" G_GSIZE_FORMAT " bytes", csize); in copy_into_unchecked()
362 gst_buffer_extract (buf, 0, dest, csize); in copy_into_unchecked()
[all …]
/third_party/iowow/src/fs/
Diwexfile.h110 typedef off_t (*IW_EXT_RSPOLICY)(off_t nsize, off_t csize, struct IWFS_EXT *f,
118 IW_EXPORT off_t iw_exfile_szpolicy_fibo(off_t nsize, off_t csize,
126 IW_EXPORT off_t iw_exfile_szpolicy_mul(off_t nsize, off_t csize,

123