Displaying 20 results from an estimated 37 matches for "free_".
Did you mean:
free
2019 Jul 16
2
[PATCH libnbd] generator: Swap parameters of nbd_add_close_callback.
..._close_callback cb);
";
@@ -4195,7 +4195,7 @@ let print_python_binding name { args; ret } =
| Closure (false, _) -> ()
| Closure (true, _) ->
pr " /* This ensures the callback data is freed eventually. */\n";
- pr " nbd_add_close_callback (h, free_%s_user_data, user_data);\n" name
+ pr " nbd_add_close_callback (h, user_data, free_%s_user_data);\n" name
| Flags _ -> ()
| Int _ -> ()
| Int64 _ -> ()
@@ -4862,7 +4862,7 @@ let print_ocaml_binding (name, { args; ret }) =
(match has_closures with...
2012 Oct 04
8
[PATCH][BTRFS-PROGS][V3] btrfs filesystem df
...formation for a mount point(s).
-k Set KB (1024 bytes) as unit
$ ./btrfs filesystem df /
Path: /
Summary:
Disk_size: 72.57GB
Disk_allocated: 25.10GB
Disk_unallocated: 47.48GB
Logical_size: 23.06GB
Used: 11.01GB
Free_(Estimated): 55.66GB (Max: 59.52GB, Min: 35.78GB)
Data_to_disk_ratio: 92 %
Details:
Chunk_type Mode Size_(disk) Size_(logical) Used
Data Single 21.01GB 21.01GB 10.34GB
System DUP 80.00MB 40.00MB 4.00KB
System...
2016 Mar 25
3
RFC: New support for triaging optimization-related failures in front ends
...ss related optimization problems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
clang -c -O2 -num-fn=-1 test.c
Optimizing function (1) prune_match
Optimizing function (2) free_S
Optimizing function (3) hash_S
Optimizing function (4) insert_S
Optimizing function (5) zero_S
Optimizing function (6) init_S
Optimizing function (7) matches_S
Optimizing function (8) clean_up
The developer would then use a binary search, recompiling with selective optimization and re-running the...
2019 Jul 16
1
[libnbd PATCH] generator: Prefer closure opaque after function pointer in C
...", %s_i64" n
@@ -4195,7 +4196,7 @@ let print_python_binding name { args; ret } =
| Closure (false, _) -> ()
| Closure (true, _) ->
pr " /* This ensures the callback data is freed eventually. */\n";
- pr " nbd_add_close_callback (h, user_data, free_%s_user_data);\n" name
+ pr " nbd_add_close_callback (h, free_%s_user_data, user_data);\n" name
| Flags _ -> ()
| Int _ -> ()
| Int64 _ -> ()
@@ -4342,7 +4343,7 @@ class NBD (object):
| BytesIn (n, _) | BytesPersistIn (n, _) -> [n, None]...
2019 Jul 24
0
[PATCH libnbd 1/3] generator: Change Closure so it describes single callbacks.
...\n";
-
+ | Closure (persistent, { cbname; cbargs }) ->
(* Persistent closures need an explicit function to decrement
* the closure refcounts and free the user_data struct.
*)
if persistent then (
pr "static void\n";
- pr "free_%s_user_data (void *vp)\n" name;
+ pr "free_%s_%s_user_data (void *vp)\n" name cbname;
pr "{\n";
- pr " struct %s_user_data *user_data = vp;\n" name;
+ pr " PyObject *user_data = vp;\n";
pr "\n";
-...
2016 Mar 25
0
RFC: New support for triaging optimization-related failures in front ends
...blems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>
> clang -c -O2 -num-fn=-1 test.c
>
> Optimizing function (1) prune_match
> Optimizing function (2) free_S
> Optimizing function (3) hash_S
> Optimizing function (4) insert_S
> Optimizing function (5) zero_S
> Optimizing function (6) init_S
> Optimizing function (7) matches_S
> Optimizing function (8) clean_up
>
> The developer would then use a binary search, recompiling with...
2016 Mar 25
3
RFC: New support for triaging optimization-related failures in front ends
...se which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>
>> clang -c -O2 -num-fn=-1 test.c
>>
>> Optimizing function (1) prune_match
>> Optimizing function (2) free_S
>> Optimizing function (3) hash_S
>> Optimizing function (4) insert_S
>> Optimizing function (5) zero_S
>> Optimizing function (6) init_S
>> Optimizing function (7) matches_S
>> Optimizing function (8) clean_up
>>
>> The developer would then use a...
2016 Mar 25
6
RFC: New support for triaging optimization-related failures in front ends
...ss related optimization problems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
clang -c -O2 -num-fn=-1 test.c
Optimizing function (1) prune_match
Optimizing function (2) free_S
Optimizing function (3) hash_S
Optimizing function (4) insert_S
Optimizing function (5) zero_S
Optimizing function (6) init_S
Optimizing function (7) matches_S
Optimizing function (8) clean_up
The developer would then use a binary search, recompiling with selective optimization and re-running the...
2016 Mar 25
0
RFC: New support for triaging optimization-related failures in front ends
...blems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>
> clang -c -O2 -num-fn=-1 test.c
>
> Optimizing function (1) prune_match
> Optimizing function (2) free_S
> Optimizing function (3) hash_S
> Optimizing function (4) insert_S
> Optimizing function (5) zero_S
> Optimizing function (6) init_S
> Optimizing function (7) matches_S
> Optimizing function (8) clean_up
>
> The developer would then use a binary search, recompiling with...
2016 Mar 25
0
RFC: New support for triaging optimization-related failures in front ends
...compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>>
>>> clang -c -O2 -num-fn=-1 test.c
>>>
>>> Optimizing function (1) prune_match
>>> Optimizing function (2) free_S
>>> Optimizing function (3) hash_S
>>> Optimizing function (4) insert_S
>>> Optimizing function (5) zero_S
>>> Optimizing function (6) init_S
>>> Optimizing function (7) matches_S
>>> Optimizing function (8) clean_up
>>>
>>>...
2016 Mar 25
1
RFC: New support for triaging optimization-related failures in front ends
...(assuming a case which fails when compiled with -O2 but passes when
> compiled with -O0) would begin by using the '-num-fn=-1' option to see the
> functioning numbering.
>
> clang -c -O2 -num-fn=-1 test.c
>
> Optimizing function (1) prune_match
> Optimizing function (2) free_S
> Optimizing function (3) hash_S
> Optimizing function (4) insert_S
> Optimizing function (5) zero_S
> Optimizing function (6) init_S
> Optimizing function (7) matches_S
> Optimizing function (8) clean_up
>
> The developer would then use a binary search, recompiling with se...
2016 Mar 25
0
RFC: New support for triaging optimization-related failures in front ends
...blems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>
> clang -c -O2 -num-fn=-1 test.c
>
> Optimizing function (1) prune_match
> Optimizing function (2) free_S
> Optimizing function (3) hash_S
> Optimizing function (4) insert_S
> Optimizing function (5) zero_S
> Optimizing function (6) init_S
> Optimizing function (7) matches_S
> Optimizing function (8) clean_up
>
> The developer would then use a binary search, recompiling with...
2016 Mar 25
2
RFC: New support for triaging optimization-related failures in front ends
...ss related optimization problems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
clang -c -O2 -num-fn=-1 test.c
Optimizing function (1) prune_match
Optimizing function (2) free_S
Optimizing function (3) hash_S
Optimizing function (4) insert_S
Optimizing function (5) zero_S
Optimizing function (6) init_S
Optimizing function (7) matches_S
Optimizing function (8) clean_up
The developer would then use a binary search, recompiling with selective optimization and re-running the...
2019 Jul 24
6
[PATCH libnbd 0/3] Implement closure lifetimes.
This implements most of what I wrote here:
https://www.redhat.com/archives/libguestfs/2019-July/msg00213.html
2016 Mar 25
2
RFC: New support for triaging optimization-related failures in front ends
...se which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>
>> clang -c -O2 -num-fn=-1 test.c
>>
>> Optimizing function (1) prune_match
>> Optimizing function (2) free_S
>> Optimizing function (3) hash_S
>> Optimizing function (4) insert_S
>> Optimizing function (5) zero_S
>> Optimizing function (6) init_S
>> Optimizing function (7) matches_S
>> Optimizing function (8) clean_up
>>
>> The developer would then use a...
2016 Mar 25
3
RFC: New support for triaging optimization-related failures in front ends
...se which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>
>> clang -c -O2 -num-fn=-1 test.c
>>
>> Optimizing function (1) prune_match
>> Optimizing function (2) free_S
>> Optimizing function (3) hash_S
>> Optimizing function (4) insert_S
>> Optimizing function (5) zero_S
>> Optimizing function (6) init_S
>> Optimizing function (7) matches_S
>> Optimizing function (8) clean_up
>>
>> The developer would then use a...
2016 Mar 25
0
RFC: New support for triaging optimization-related failures in front ends
...blems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>
> clang -c -O2 -num-fn=-1 test.c
>
> Optimizing function (1) prune_match
> Optimizing function (2) free_S
> Optimizing function (3) hash_S
> Optimizing function (4) insert_S
> Optimizing function (5) zero_S
> Optimizing function (6) init_S
> Optimizing function (7) matches_S
> Optimizing function (8) clean_up
>
> The developer would then use a binary search, recompiling with...
2016 Mar 26
2
RFC: New support for triaging optimization-related failures in front ends
...t passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>>>
>>>> clang -c -O2 -num-fn=-1 test.c
>>>>
>>>> Optimizing function (1) prune_match
>>>> Optimizing function (2) free_S
>>>> Optimizing function (3) hash_S
>>>> Optimizing function (4) insert_S
>>>> Optimizing function (5) zero_S
>>>> Optimizing function (6) init_S
>>>> Optimizing function (7) matches_S
>>>> Optimizing function (8) clean_up
>...
2016 Mar 25
0
RFC: New support for triaging optimization-related failures in front ends
...compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>>
>>> clang -c -O2 -num-fn=-1 test.c
>>>
>>> Optimizing function (1) prune_match
>>> Optimizing function (2) free_S
>>> Optimizing function (3) hash_S
>>> Optimizing function (4) insert_S
>>> Optimizing function (5) zero_S
>>> Optimizing function (6) init_S
>>> Optimizing function (7) matches_S
>>> Optimizing function (8) clean_up
>>>
>>>...
2016 Mar 26
0
RFC: New support for triaging optimization-related failures in front ends
...ed with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>>>>
>>>>> clang -c -O2 -num-fn=-1 test.c
>>>>>
>>>>> Optimizing function (1) prune_match
>>>>> Optimizing function (2) free_S
>>>>> Optimizing function (3) hash_S
>>>>> Optimizing function (4) insert_S
>>>>> Optimizing function (5) zero_S
>>>>> Optimizing function (6) init_S
>>>>> Optimizing function (7) matches_S
>>>>> Optimizing f...