search for: mp_size

Displaying 9 results from an estimated 9 matches for "mp_size".

Did you mean: map_size
2010 Jun 13
2
[LLVMdev] Bignum development
...> > #include <stdlib.h> > #include <stdio.h> > > #define BITS 64 > > /**************************************** > >   Types > > ****************************************/ > > typedef unsigned long ul; > typedef __uint128_t ull; > typedef ulong mp_size; > typedef const ulong * mp_src; > typedef ulong * mp_dst; > typedef ulong * mp_ptr; > > > /**************************************** > >   Random routines > > ****************************************/ > > ull __randval = (ull) 13993185049168412078UL; > const u...
2010 Jun 12
0
[LLVMdev] Bignum development
...the carry and do an add with carry. Consider this short C program: #include <stdlib.h> #include <stdio.h> #define BITS 64 /**************************************** Types ****************************************/ typedef unsigned long ul; typedef __uint128_t ull; typedef ulong mp_size; typedef const ulong * mp_src; typedef ulong * mp_dst; typedef ulong * mp_ptr; /**************************************** Random routines ****************************************/ ull __randval = (ull) 13993185049168412078UL; const ull __randprime = (ull) 9223372036854775814UL * 2 + 1; const...
2010 Jun 13
0
[LLVMdev] Bignum development
...t;stdio.h> >> >> #define BITS 64 >> >> /**************************************** >> >> Types >> >> ****************************************/ >> >> typedef unsigned long ul; >> typedef __uint128_t ull; >> typedef ulong mp_size; >> typedef const ulong * mp_src; >> typedef ulong * mp_dst; >> typedef ulong * mp_ptr; >> >> >> /**************************************** >> >> Random routines >> >> ****************************************/ >> >> ull _...
2010 Jun 13
2
[LLVMdev] Bignum development
...fine BITS 64 >>> >>> /**************************************** >>> >>>   Types >>> >>> ****************************************/ >>> >>> typedef unsigned long ul; >>> typedef __uint128_t ull; >>> typedef ulong mp_size; >>> typedef const ulong * mp_src; >>> typedef ulong * mp_dst; >>> typedef ulong * mp_ptr; >>> >>> >>> /**************************************** >>> >>>   Random routines >>> >>> ******************************...
2010 Jun 11
3
[LLVMdev] Bignum development
On Fri, Jun 11, 2010 at 3:28 PM, Bill Hart <goodwillhart at googlemail.com> wrote: > Hi Eli, > > On 11 June 2010 22:44, Eli Friedman <eli.friedman at gmail.com> wrote: >> On Fri, Jun 11, 2010 at 10:37 AM, Bill Hart <goodwillhart at googlemail.com> wrote: >>> a) What plans are there to support addition, subtraction, >>> multiplication, division,
2010 Jun 11
4
[LLVMdev] Bignum development
Hi all, After searching for a decent compiler backend for ages (google sometimes isn't helpful), I recently stumbled upon LLVM. Woot!! I work on bignum arithmetic (I'm a professional mathematician) and have recently decided to switch from developing GPL'd bignum code to BSD licensed code. (See http://www.mpir.org/ which I contributed to for a while - a fork of GMP). Please bear with
2013 Oct 25
8
[PATCH] btrfs: add framework to read fs info from btrfs-control
This adds ioctl BTRFS_IOC_GET_FSIDS which reads the fs info through the btrfs-control Signed-off-by: Anand Jain <anand.jain@oracle.com> --- fs/btrfs/super.c | 47 ++++++++++++++++++++++++++++++++++++++----- fs/btrfs/volumes.c | 33 ++++++++++++++++++++++++++++++ fs/btrfs/volumes.h | 2 + include/uapi/linux/btrfs.h | 19 +++++++++++++++++ 4 files changed,
2013 Dec 17
9
[PATCH] Btrfs-progs: receive: fix the case that we can not find subvolume
...d, * subvols of the same fs/fsid can be mounted * so here this picks and lowest subvol id diff --git a/utils.h b/utils.h index 00f1c18..9b2f79c 100644 --- a/utils.h +++ b/utils.h @@ -98,5 +98,6 @@ int btrfs_scan_lblkid(int update_kernel); int get_btrfs_mount(const char *dev, char *mp, size_t mp_size); int get_fslist(struct btrfs_ioctl_fslist **out_fslist, u64 *out_count); int fsid_to_mntpt(__u8 *fsid, char *mntpt, int *mnt_cnt); +int mnt_to_dev(const char *mnt, char **dev); #endif -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body...
2013 Nov 16
16
[PATCH] BTRFS-PROG: recursively subvolume snapshot and delete
Hi All, the following patches implement the recursively snapshotting and deleting of a subvolume. To snapshot recursively you must pass the -R switch: # btrfs subvolume create sub1 Create subvolume ''./sub1'' # btrfs subvolume create sub1/sub2 Create subvolume ''sub1/sub2'' # btrfs subvolume snapshot -R sub1 sub1-snap Create a snapshot of