12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214 |
- #include <linux/export.h>
- #include <linux/thread_info.h>
- #include <linux/ctype.h>
- #include <linux/errno.h>
- #include <linux/bitmap.h>
- #include <linux/bitops.h>
- #include <linux/bug.h>
- #include <linux/kernel.h>
- #include <linux/string.h>
- #include <linux/uaccess.h>
- #include <asm/page.h>
- int __bitmap_equal(const unsigned long *bitmap1,
- const unsigned long *bitmap2, unsigned int bits)
- {
- unsigned int k, lim = bits/BITS_PER_LONG;
- for (k = 0; k < lim; ++k)
- if (bitmap1[k] != bitmap2[k])
- return 0;
- if (bits % BITS_PER_LONG)
- if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits))
- return 0;
- return 1;
- }
- EXPORT_SYMBOL(__bitmap_equal);
- void __bitmap_complement(unsigned long *dst, const unsigned long *src, unsigned int bits)
- {
- unsigned int k, lim = bits/BITS_PER_LONG;
- for (k = 0; k < lim; ++k)
- dst[k] = ~src[k];
- if (bits % BITS_PER_LONG)
- dst[k] = ~src[k];
- }
- EXPORT_SYMBOL(__bitmap_complement);
- void __bitmap_shift_right(unsigned long *dst, const unsigned long *src,
- unsigned shift, unsigned nbits)
- {
- unsigned k, lim = BITS_TO_LONGS(nbits);
- unsigned off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG;
- unsigned long mask = BITMAP_LAST_WORD_MASK(nbits);
- for (k = 0; off + k < lim; ++k) {
- unsigned long upper, lower;
-
- if (!rem || off + k + 1 >= lim)
- upper = 0;
- else {
- upper = src[off + k + 1];
- if (off + k + 1 == lim - 1)
- upper &= mask;
- upper <<= (BITS_PER_LONG - rem);
- }
- lower = src[off + k];
- if (off + k == lim - 1)
- lower &= mask;
- lower >>= rem;
- dst[k] = lower | upper;
- }
- if (off)
- memset(&dst[lim - off], 0, off*sizeof(unsigned long));
- }
- EXPORT_SYMBOL(__bitmap_shift_right);
- void __bitmap_shift_left(unsigned long *dst, const unsigned long *src,
- unsigned int shift, unsigned int nbits)
- {
- int k;
- unsigned int lim = BITS_TO_LONGS(nbits);
- unsigned int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG;
- for (k = lim - off - 1; k >= 0; --k) {
- unsigned long upper, lower;
-
- if (rem && k > 0)
- lower = src[k - 1] >> (BITS_PER_LONG - rem);
- else
- lower = 0;
- upper = src[k] << rem;
- dst[k + off] = lower | upper;
- }
- if (off)
- memset(dst, 0, off*sizeof(unsigned long));
- }
- EXPORT_SYMBOL(__bitmap_shift_left);
- int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1,
- const unsigned long *bitmap2, unsigned int bits)
- {
- unsigned int k;
- unsigned int lim = bits/BITS_PER_LONG;
- unsigned long result = 0;
- for (k = 0; k < lim; k++)
- result |= (dst[k] = bitmap1[k] & bitmap2[k]);
- if (bits % BITS_PER_LONG)
- result |= (dst[k] = bitmap1[k] & bitmap2[k] &
- BITMAP_LAST_WORD_MASK(bits));
- return result != 0;
- }
- EXPORT_SYMBOL(__bitmap_and);
- void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1,
- const unsigned long *bitmap2, unsigned int bits)
- {
- unsigned int k;
- unsigned int nr = BITS_TO_LONGS(bits);
- for (k = 0; k < nr; k++)
- dst[k] = bitmap1[k] | bitmap2[k];
- }
- EXPORT_SYMBOL(__bitmap_or);
- void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1,
- const unsigned long *bitmap2, unsigned int bits)
- {
- unsigned int k;
- unsigned int nr = BITS_TO_LONGS(bits);
- for (k = 0; k < nr; k++)
- dst[k] = bitmap1[k] ^ bitmap2[k];
- }
- EXPORT_SYMBOL(__bitmap_xor);
- int __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1,
- const unsigned long *bitmap2, unsigned int bits)
- {
- unsigned int k;
- unsigned int lim = bits/BITS_PER_LONG;
- unsigned long result = 0;
- for (k = 0; k < lim; k++)
- result |= (dst[k] = bitmap1[k] & ~bitmap2[k]);
- if (bits % BITS_PER_LONG)
- result |= (dst[k] = bitmap1[k] & ~bitmap2[k] &
- BITMAP_LAST_WORD_MASK(bits));
- return result != 0;
- }
- EXPORT_SYMBOL(__bitmap_andnot);
- int __bitmap_intersects(const unsigned long *bitmap1,
- const unsigned long *bitmap2, unsigned int bits)
- {
- unsigned int k, lim = bits/BITS_PER_LONG;
- for (k = 0; k < lim; ++k)
- if (bitmap1[k] & bitmap2[k])
- return 1;
- if (bits % BITS_PER_LONG)
- if ((bitmap1[k] & bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits))
- return 1;
- return 0;
- }
- EXPORT_SYMBOL(__bitmap_intersects);
- int __bitmap_subset(const unsigned long *bitmap1,
- const unsigned long *bitmap2, unsigned int bits)
- {
- unsigned int k, lim = bits/BITS_PER_LONG;
- for (k = 0; k < lim; ++k)
- if (bitmap1[k] & ~bitmap2[k])
- return 0;
- if (bits % BITS_PER_LONG)
- if ((bitmap1[k] & ~bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits))
- return 0;
- return 1;
- }
- EXPORT_SYMBOL(__bitmap_subset);
- int __bitmap_weight(const unsigned long *bitmap, unsigned int bits)
- {
- unsigned int k, lim = bits/BITS_PER_LONG;
- int w = 0;
- for (k = 0; k < lim; k++)
- w += hweight_long(bitmap[k]);
- if (bits % BITS_PER_LONG)
- w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits));
- return w;
- }
- EXPORT_SYMBOL(__bitmap_weight);
- void bitmap_set(unsigned long *map, unsigned int start, int len)
- {
- unsigned long *p = map + BIT_WORD(start);
- const unsigned int size = start + len;
- int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG);
- unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start);
- while (len - bits_to_set >= 0) {
- *p |= mask_to_set;
- len -= bits_to_set;
- bits_to_set = BITS_PER_LONG;
- mask_to_set = ~0UL;
- p++;
- }
- if (len) {
- mask_to_set &= BITMAP_LAST_WORD_MASK(size);
- *p |= mask_to_set;
- }
- }
- EXPORT_SYMBOL(bitmap_set);
- void bitmap_clear(unsigned long *map, unsigned int start, int len)
- {
- unsigned long *p = map + BIT_WORD(start);
- const unsigned int size = start + len;
- int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG);
- unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start);
- while (len - bits_to_clear >= 0) {
- *p &= ~mask_to_clear;
- len -= bits_to_clear;
- bits_to_clear = BITS_PER_LONG;
- mask_to_clear = ~0UL;
- p++;
- }
- if (len) {
- mask_to_clear &= BITMAP_LAST_WORD_MASK(size);
- *p &= ~mask_to_clear;
- }
- }
- EXPORT_SYMBOL(bitmap_clear);
- unsigned long bitmap_find_next_zero_area_off(unsigned long *map,
- unsigned long size,
- unsigned long start,
- unsigned int nr,
- unsigned long align_mask,
- unsigned long align_offset)
- {
- unsigned long index, end, i;
- again:
- index = find_next_zero_bit(map, size, start);
-
- index = __ALIGN_MASK(index + align_offset, align_mask) - align_offset;
- end = index + nr;
- if (end > size)
- return end;
- i = find_next_bit(map, end, index);
- if (i < end) {
- start = i + 1;
- goto again;
- }
- return index;
- }
- EXPORT_SYMBOL(bitmap_find_next_zero_area_off);
- #define CHUNKSZ 32
- #define nbits_to_hold_value(val) fls(val)
- #define BASEDEC 10
- int __bitmap_parse(const char *buf, unsigned int buflen,
- int is_user, unsigned long *maskp,
- int nmaskbits)
- {
- int c, old_c, totaldigits, ndigits, nchunks, nbits;
- u32 chunk;
- const char __user __force *ubuf = (const char __user __force *)buf;
- bitmap_zero(maskp, nmaskbits);
- nchunks = nbits = totaldigits = c = 0;
- do {
- chunk = 0;
- ndigits = totaldigits;
-
- while (buflen) {
- old_c = c;
- if (is_user) {
- if (__get_user(c, ubuf++))
- return -EFAULT;
- }
- else
- c = *buf++;
- buflen--;
- if (isspace(c))
- continue;
-
- if (totaldigits && c && isspace(old_c))
- return -EINVAL;
-
- if (c == '\0' || c == ',')
- break;
- if (!isxdigit(c))
- return -EINVAL;
-
- if (chunk & ~((1UL << (CHUNKSZ - 4)) - 1))
- return -EOVERFLOW;
- chunk = (chunk << 4) | hex_to_bin(c);
- totaldigits++;
- }
- if (ndigits == totaldigits)
- return -EINVAL;
- if (nchunks == 0 && chunk == 0)
- continue;
- __bitmap_shift_left(maskp, maskp, CHUNKSZ, nmaskbits);
- *maskp |= chunk;
- nchunks++;
- nbits += (nchunks == 1) ? nbits_to_hold_value(chunk) : CHUNKSZ;
- if (nbits > nmaskbits)
- return -EOVERFLOW;
- } while (buflen && c == ',');
- return 0;
- }
- EXPORT_SYMBOL(__bitmap_parse);
- int bitmap_parse_user(const char __user *ubuf,
- unsigned int ulen, unsigned long *maskp,
- int nmaskbits)
- {
- if (!access_ok(VERIFY_READ, ubuf, ulen))
- return -EFAULT;
- return __bitmap_parse((const char __force *)ubuf,
- ulen, 1, maskp, nmaskbits);
- }
- EXPORT_SYMBOL(bitmap_parse_user);
- int bitmap_print_to_pagebuf(bool list, char *buf, const unsigned long *maskp,
- int nmaskbits)
- {
- ptrdiff_t len = PTR_ALIGN(buf + PAGE_SIZE - 1, PAGE_SIZE) - buf;
- int n = 0;
- if (len > 1)
- n = list ? scnprintf(buf, len, "%*pbl\n", nmaskbits, maskp) :
- scnprintf(buf, len, "%*pb\n", nmaskbits, maskp);
- return n;
- }
- EXPORT_SYMBOL(bitmap_print_to_pagebuf);
- static int __bitmap_parselist(const char *buf, unsigned int buflen,
- int is_user, unsigned long *maskp,
- int nmaskbits)
- {
- unsigned int a, b, old_a, old_b;
- unsigned int group_size, used_size;
- int c, old_c, totaldigits, ndigits;
- const char __user __force *ubuf = (const char __user __force *)buf;
- int at_start, in_range, in_partial_range;
- totaldigits = c = 0;
- old_a = old_b = 0;
- group_size = used_size = 0;
- bitmap_zero(maskp, nmaskbits);
- do {
- at_start = 1;
- in_range = 0;
- in_partial_range = 0;
- a = b = 0;
- ndigits = totaldigits;
-
- while (buflen) {
- old_c = c;
- if (is_user) {
- if (__get_user(c, ubuf++))
- return -EFAULT;
- } else
- c = *buf++;
- buflen--;
- if (isspace(c))
- continue;
-
- if (c == '\0' || c == ',')
- break;
-
- if ((totaldigits != ndigits) && isspace(old_c))
- return -EINVAL;
- if (c == '/') {
- used_size = a;
- at_start = 1;
- in_range = 0;
- a = b = 0;
- continue;
- }
- if (c == ':') {
- old_a = a;
- old_b = b;
- at_start = 1;
- in_range = 0;
- in_partial_range = 1;
- a = b = 0;
- continue;
- }
- if (c == '-') {
- if (at_start || in_range)
- return -EINVAL;
- b = 0;
- in_range = 1;
- at_start = 1;
- continue;
- }
- if (!isdigit(c))
- return -EINVAL;
- b = b * 10 + (c - '0');
- if (!in_range)
- a = b;
- at_start = 0;
- totaldigits++;
- }
- if (ndigits == totaldigits)
- continue;
- if (in_partial_range) {
- group_size = a;
- a = old_a;
- b = old_b;
- old_a = old_b = 0;
- }
-
- if (at_start && in_range)
- return -EINVAL;
- if (!(a <= b) || !(used_size <= group_size))
- return -EINVAL;
- if (b >= nmaskbits)
- return -ERANGE;
- while (a <= b) {
- if (in_partial_range) {
- static int pos_in_group = 1;
- if (pos_in_group <= used_size)
- set_bit(a, maskp);
- if (a == b || ++pos_in_group > group_size)
- pos_in_group = 1;
- } else
- set_bit(a, maskp);
- a++;
- }
- } while (buflen && c == ',');
- return 0;
- }
- int bitmap_parselist(const char *bp, unsigned long *maskp, int nmaskbits)
- {
- char *nl = strchrnul(bp, '\n');
- int len = nl - bp;
- return __bitmap_parselist(bp, len, 0, maskp, nmaskbits);
- }
- EXPORT_SYMBOL(bitmap_parselist);
- int bitmap_parselist_user(const char __user *ubuf,
- unsigned int ulen, unsigned long *maskp,
- int nmaskbits)
- {
- if (!access_ok(VERIFY_READ, ubuf, ulen))
- return -EFAULT;
- return __bitmap_parselist((const char __force *)ubuf,
- ulen, 1, maskp, nmaskbits);
- }
- EXPORT_SYMBOL(bitmap_parselist_user);
- static int bitmap_pos_to_ord(const unsigned long *buf, unsigned int pos, unsigned int nbits)
- {
- if (pos >= nbits || !test_bit(pos, buf))
- return -1;
- return __bitmap_weight(buf, pos);
- }
- unsigned int bitmap_ord_to_pos(const unsigned long *buf, unsigned int ord, unsigned int nbits)
- {
- unsigned int pos;
- for (pos = find_first_bit(buf, nbits);
- pos < nbits && ord;
- pos = find_next_bit(buf, nbits, pos + 1))
- ord--;
- return pos;
- }
- void bitmap_remap(unsigned long *dst, const unsigned long *src,
- const unsigned long *old, const unsigned long *new,
- unsigned int nbits)
- {
- unsigned int oldbit, w;
- if (dst == src)
- return;
- bitmap_zero(dst, nbits);
- w = bitmap_weight(new, nbits);
- for_each_set_bit(oldbit, src, nbits) {
- int n = bitmap_pos_to_ord(old, oldbit, nbits);
- if (n < 0 || w == 0)
- set_bit(oldbit, dst);
- else
- set_bit(bitmap_ord_to_pos(new, n % w, nbits), dst);
- }
- }
- EXPORT_SYMBOL(bitmap_remap);
- int bitmap_bitremap(int oldbit, const unsigned long *old,
- const unsigned long *new, int bits)
- {
- int w = bitmap_weight(new, bits);
- int n = bitmap_pos_to_ord(old, oldbit, bits);
- if (n < 0 || w == 0)
- return oldbit;
- else
- return bitmap_ord_to_pos(new, n % w, bits);
- }
- EXPORT_SYMBOL(bitmap_bitremap);
- void bitmap_onto(unsigned long *dst, const unsigned long *orig,
- const unsigned long *relmap, unsigned int bits)
- {
- unsigned int n, m;
- if (dst == orig)
- return;
- bitmap_zero(dst, bits);
-
- m = 0;
- for_each_set_bit(n, relmap, bits) {
-
- if (test_bit(m, orig))
- set_bit(n, dst);
- m++;
- }
- }
- EXPORT_SYMBOL(bitmap_onto);
- void bitmap_fold(unsigned long *dst, const unsigned long *orig,
- unsigned int sz, unsigned int nbits)
- {
- unsigned int oldbit;
- if (dst == orig)
- return;
- bitmap_zero(dst, nbits);
- for_each_set_bit(oldbit, orig, nbits)
- set_bit(oldbit % sz, dst);
- }
- EXPORT_SYMBOL(bitmap_fold);
- enum {
- REG_OP_ISFREE,
- REG_OP_ALLOC,
- REG_OP_RELEASE,
- };
- static int __reg_op(unsigned long *bitmap, unsigned int pos, int order, int reg_op)
- {
- int nbits_reg;
- int index;
- int offset;
- int nlongs_reg;
- int nbitsinlong;
- unsigned long mask;
- int i;
- int ret = 0;
-
- nbits_reg = 1 << order;
- index = pos / BITS_PER_LONG;
- offset = pos - (index * BITS_PER_LONG);
- nlongs_reg = BITS_TO_LONGS(nbits_reg);
- nbitsinlong = min(nbits_reg, BITS_PER_LONG);
-
- mask = (1UL << (nbitsinlong - 1));
- mask += mask - 1;
- mask <<= offset;
- switch (reg_op) {
- case REG_OP_ISFREE:
- for (i = 0; i < nlongs_reg; i++) {
- if (bitmap[index + i] & mask)
- goto done;
- }
- ret = 1;
- break;
- case REG_OP_ALLOC:
- for (i = 0; i < nlongs_reg; i++)
- bitmap[index + i] |= mask;
- break;
- case REG_OP_RELEASE:
- for (i = 0; i < nlongs_reg; i++)
- bitmap[index + i] &= ~mask;
- break;
- }
- done:
- return ret;
- }
- int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order)
- {
- unsigned int pos, end;
- for (pos = 0 ; (end = pos + (1U << order)) <= bits; pos = end) {
- if (!__reg_op(bitmap, pos, order, REG_OP_ISFREE))
- continue;
- __reg_op(bitmap, pos, order, REG_OP_ALLOC);
- return pos;
- }
- return -ENOMEM;
- }
- EXPORT_SYMBOL(bitmap_find_free_region);
- void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order)
- {
- __reg_op(bitmap, pos, order, REG_OP_RELEASE);
- }
- EXPORT_SYMBOL(bitmap_release_region);
- int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order)
- {
- if (!__reg_op(bitmap, pos, order, REG_OP_ISFREE))
- return -EBUSY;
- return __reg_op(bitmap, pos, order, REG_OP_ALLOC);
- }
- EXPORT_SYMBOL(bitmap_allocate_region);
- unsigned int
- bitmap_from_u32array(unsigned long *bitmap, unsigned int nbits,
- const u32 *buf, unsigned int nwords)
- {
- unsigned int dst_idx, src_idx;
- for (src_idx = dst_idx = 0; dst_idx < BITS_TO_LONGS(nbits); ++dst_idx) {
- unsigned long part = 0;
- if (src_idx < nwords)
- part = buf[src_idx++];
- #if BITS_PER_LONG == 64
- if (src_idx < nwords)
- part |= ((unsigned long) buf[src_idx++]) << 32;
- #endif
- if (dst_idx < nbits/BITS_PER_LONG)
- bitmap[dst_idx] = part;
- else {
- unsigned long mask = BITMAP_LAST_WORD_MASK(nbits);
- bitmap[dst_idx] = (bitmap[dst_idx] & ~mask)
- | (part & mask);
- }
- }
- return min_t(unsigned int, nbits, 32*nwords);
- }
- EXPORT_SYMBOL(bitmap_from_u32array);
- unsigned int
- bitmap_to_u32array(u32 *buf, unsigned int nwords,
- const unsigned long *bitmap, unsigned int nbits)
- {
- unsigned int dst_idx = 0, src_idx = 0;
- while (dst_idx < nwords) {
- unsigned long part = 0;
- if (src_idx < BITS_TO_LONGS(nbits)) {
- part = bitmap[src_idx];
- if (src_idx >= nbits/BITS_PER_LONG)
- part &= BITMAP_LAST_WORD_MASK(nbits);
- src_idx++;
- }
- buf[dst_idx++] = part & 0xffffffffUL;
- #if BITS_PER_LONG == 64
- if (dst_idx < nwords) {
- part >>= 32;
- buf[dst_idx++] = part & 0xffffffffUL;
- }
- #endif
- }
- return min_t(unsigned int, nbits, 32*nwords);
- }
- EXPORT_SYMBOL(bitmap_to_u32array);
- #ifdef __BIG_ENDIAN
- void bitmap_copy_le(unsigned long *dst, const unsigned long *src, unsigned int nbits)
- {
- unsigned int i;
- for (i = 0; i < nbits/BITS_PER_LONG; i++) {
- if (BITS_PER_LONG == 64)
- dst[i] = cpu_to_le64(src[i]);
- else
- dst[i] = cpu_to_le32(src[i]);
- }
- }
- EXPORT_SYMBOL(bitmap_copy_le);
- #endif
|