search for: other_function

Displaying 8 results from an estimated 8 matches for "other_function".

2012 Sep 25
0
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v3)
..., + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_DEPRECATED], [ + CC_CHECK_ATTRIBUTE( + [deprecated], , + [void some_function(void *foo, ...) __attribute__((deprecated));], + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_ALIAS], [ + CC_CHECK_ATTRIBUTE( + [alias], [weak, alias], + [void other_function(void *foo) { } + void some_function(void *foo) __attribute__((weak, alias("other_function")));], + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_MALLOC], [ + CC_CHECK_ATTRIBUTE( + [malloc], , + [void * __attribute__((malloc)) my_alloc(int n);], + [$1], [$2]) +]) + +AC_DEFUN([...
2012 Sep 25
3
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v2)
..., + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_DEPRECATED], [ + CC_CHECK_ATTRIBUTE( + [deprecated], , + [void some_function(void *foo, ...) __attribute__((deprecated));], + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_ALIAS], [ + CC_CHECK_ATTRIBUTE( + [alias], [weak, alias], + [void other_function(void *foo) { } + void some_function(void *foo) __attribute__((weak, alias("other_function")));], + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_MALLOC], [ + CC_CHECK_ATTRIBUTE( + [malloc], , + [void * __attribute__((malloc)) my_alloc(int n);], + [$1], [$2]) +]) + +AC_DEFUN([...
2012 Sep 29
2
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v4)
..., + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_DEPRECATED], [ + CC_CHECK_ATTRIBUTE( + [deprecated], , + [void some_function(void *foo, ...) __attribute__((deprecated));], + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_ALIAS], [ + CC_CHECK_ATTRIBUTE( + [alias], [weak, alias], + [void other_function(void *foo) { } + void some_function(void *foo) __attribute__((weak, alias("other_function")));], + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_MALLOC], [ + CC_CHECK_ATTRIBUTE( + [malloc], , + [void * __attribute__((malloc)) my_alloc(int n);], + [$1], [$2]) +]) + +AC_DEFUN(...
2018 Mar 23
5
RFC: Speculative Load Hardening (a Spectre variant #1 mitigation)
...the stack). This region is guaranteed to be preserved across interrupts and context switches, making the return address used in returning to the current code remain on the stack and valid to read. We can emit code in the caller to verify that a return edge was not mispredicted: ``` callq other_function return_addr: testq -8(%rsp), return_addr # Validate return address. cmovneq %r8, %rax # Update predicate state. ``` For an ABI without a "red zone" (and thus unable to read the return address from the stack), mitigating returns face similar problems to c...
2018 Dec 14
2
[WIP PATCH 03/15] drm/dp_mst: Introduce new refcounting scheme for mstbs and ports
...lies to the unconditional kref_get below) - malloc_ref is enough to call this function, but then it can fail > + * > + * See also: > + * drm_dp_mst_topology_ref_mstb() I'd write out when you should use this one instead: "If you already have a topology reference you should use other_function() instead." > + * drm_dp_mst_topology_get_mstb() This is this function itself :-) > + * > + * Returns: > + * * 1: A topology reference was grabbed successfully > + * * 0: @port is no longer in the topology, no reference was grabbed > + */ > +static int __must_check >...
2018 Dec 19
1
[WIP PATCH 03/15] drm/dp_mst: Introduce new refcounting scheme for mstbs and ports
...function, but then it can fail > > > > > + * > > > + * See also: > > > + * drm_dp_mst_topology_ref_mstb() > > > > I'd write out when you should use this one instead: > > > > "If you already have a topology reference you should use other_function() > > instead." > > > > > + * drm_dp_mst_topology_get_mstb() > > > > This is this function itself :-) > > > > > + * > > > + * Returns: > > > + * * 1: A topology reference was grabbed successfully > > > + * * 0: @port...
2018 Dec 18
0
[WIP PATCH 03/15] drm/dp_mst: Introduce new refcounting scheme for mstbs and ports
...gt; - malloc_ref is enough to call this function, but then it can fail > > > + * > > + * See also: > > + * drm_dp_mst_topology_ref_mstb() > > I'd write out when you should use this one instead: > > "If you already have a topology reference you should use other_function() > instead." > > > + * drm_dp_mst_topology_get_mstb() > > This is this function itself :-) > > > + * > > + * Returns: > > + * * 1: A topology reference was grabbed successfully > > + * * 0: @port is no longer in the topology, no reference was gr...
2018 Dec 14
22
[WIP PATCH 00/15] MST refcounting/atomic helpers cleanup
This is a WIP version of the series I've been working on for a while now to get all of the atomic DRM drivers in the tree to use the atomic MST helpers, and to make the atomic MST helpers actually idempotent. Turns out it's a lot more difficult to do that without also fixing how port and branch device refcounting works so that it actually makes sense, since the current upstream