search for: bswap_32

Displaying 12 results from an estimated 12 matches for "bswap_32".

Did you mean: bswap32
2012 Jul 19
1
kernel panic caused by zfs/sa.c
Hello, I'm experiencing a kernel panic that appears to be caused by zfs. No errors are making it into /var/log/messages, but here is the error message that appears on my screen after panic (transcribed): panic solaris assert BSWAP_32(sa_hdr_phys->sa_magic) == SA_MAGIC, file: /src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/sa.c, line 1262 I can reproduce this by running "cd /usr/ports/www/webkit-ghtk2; make clean" I looked at line 1262 in sa.c and it's part of a bit of code that checks if...
2009 Aug 03
9
[PATCH 0/9] Quota support for ocfs2-tools (version 3)
Hi, below comes a new version of the series of patches implementing quota support for ocfs2-tools. I've fixed the calls of ocfs2_malloc_blocks() which were given number of bytes instead of number of blocks. Besides that the series should be the same. Honza
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...V_ENCODE_XDR || nvlist[1] != HOST_ENDIAN) return (1); - nvlist += 4; - *out = nvlist; + *out = nvlist + 4; return (0); } @@ -1033,7 +1173,7 @@ nvlist_array(char *nvlist, int index) /* skip the header, nvl_version, and nvl_nvflag */ nvlist = nvlist + 4 * 2; - while ((encode_size = BSWAP_32(*(uint32_t *)nvlist))) + while (encode_size = BSWAP_32(*(uint32_t *)nvlist)) nvlist += encode_size; /* goto the next nvpair */ nvlist = nvlist + 4 * 2; /* skip the ending 2 zeros - 8 bytes */ @@ -1042,69 +1182,159 @@ nvlist_array(char *nvlist, int index) return (nvlist); } +/* + * Th...
2017 Nov 14
1
Building dovecot 2.2.33.2 is broken with uclibc-ng
Am Mon, 13 Nov 2017 15:40:14 -0500 schrieb Josef 'Jeff' Sipek: > What happens if in dovecot's byteorder.h you add this before line 30: > > #undef bswap_8 > #undef bswap_16 > #undef bswap_32 > #undef bswap_64 > > Hopefully that does it. Hi Jeff, adding these four lines fixes the build error, thanks! Regards, Bernd
2009 Jul 27
11
[PATCH 0/8] Quota support for ocfs2-tools
Hi, I'm sending a series of patches implementing quota support into ocfs2-tools. It's the same as the original huge patch I've sent but now it's split as Joel asked. I've also realized that when disabling SPARSE feature, we should update quota information. That piece of code is missing, I'll implement it soon. Comments welcome. Honza
2017 Nov 13
2
Building dovecot 2.2.33.2 is broken with uclibc-ng
...include/bits/waitstatus.h:72, from /home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/include/stdlib.h:41, from ../../src/lib/lib.h:11, from test-common.c:3: ../../src/lib/byteorder.h:104:24: error: redefinition of '__bswap_32' static inline uint32_t bswap_32(uint32_t in) ^ In file included from /home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:55:0, from /home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysr...
2009 Jul 30
11
[PATCH 0/9] Quota support for ocfs2-tools (version 2)
Hi, this is the next version of quota support for quota tools. I've addressed all the comments of Tao, Joel and others. Sparse feature disabling also correctly updates quota information now and the patch is merged into the tunefs support patch. Honza
2013 Oct 16
1
[Hivex] [PATCH] lib: Promote byte_conversions.h #include to hivex-internal.h
...ode 5), but the headers are both found in Fedora 19 and Ubuntu 13.04. This patch to configure.ac further logs that only ntohl is available for byte swaps: @@ -153,6 +153,8 @@ AC_REPLACE_FUNCS([mmap]) dnl Functions. AC_CHECK_FUNCS([bindtextdomain]) +AC_CHECK_FUNCS([le32toh ntohl bswap_32 __bswap_32]) + (As an aside, it's curious that a missing byteswap.h didn't cause hivex-internal.h to fail to build.) (As another aside, this is an interesting example of lazy symbol binding failing with an inline function.) The problem is resolved by having hivex-internal.h include by...
2017 Nov 13
0
Building dovecot 2.2.33.2 is broken with uclibc-ng
...dded code which can not be compiled with uclibc-ng 1.0.26 using buildroot: Hrm... ok. It'll be probably faster for you to try a test build instead of me setting up buildroot... What happens if in dovecot's byteorder.h you add this before line 30: #undef bswap_8 #undef bswap_16 #undef bswap_32 #undef bswap_64 Hopefully that does it. Jeff. > > make[3]: Entering directory '/home/bernd/buildroot/br4/output/build/dovecot-2.2.33.2/src/lib-test' > /bin/bash ../../libtool --tag=CC --mode=compile /home/bernd/buildroot/br4/output/host/bin/i586-buildroot-linux-uclibc-gcc -...
2023 Mar 01
6
[libnbd PATCH 0/6] common: catch up with nbdkit
...series will be resumed even later. Laszlo Eric Blake (1): tests: Avoid odd test behavior under NDEBUG [partial port] Richard W.M. Jones (5): common/include: Add unit tests [byte-swapping, isaligned, iszero] common/include: Add further unit tests [minmax] common: include: Define bswap_16, bswap_32 and bswap_64 [finish port] vector: Add vector_duplicate function common/include: Fix MIN and MAX macros so they can be nested [finish port] .gitignore | 4 + common/include/Makefile.am | 20 +++ common/include/test-byte-swapping.c | 108 ++++++++++++ c...
2013 Apr 19
8
[PATCH 0 of 8] blktap3/libvhd: Introduce VHD library.
This patch series introduces the VHD library. It is based on the blktap2 one, with changes coming from the blktap2.5 one. Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
2012 Nov 20
52
[PATCH RFC] stubdom: Change vTPM shared page ABI
Since the vTPM implementations are being incorproated into Xen and possibly upstream Linux, I would like to see if this protocol change could be added before we have significant legacy implementations. If not, I still think it would be useful as either a v2 or negotiated protocol change. The current vTPM protocol is a copy of the network protocol. This was likely done for ease of implementation,