Displaying 9 results from an estimated 9 matches for "ptag".
Did you mean:
pag
2020 Feb 14
0
[PATCH AUTOSEL 5.5 441/542] drm/nouveau/mmu: fix comptag memory leak
...ore/memory.c
index e85a08ecd9da5..4cc186262d344 100644
--- a/drivers/gpu/drm/nouveau/nvkm/core/memory.c
+++ b/drivers/gpu/drm/nouveau/nvkm/core/memory.c
@@ -91,8 +91,8 @@ nvkm_memory_tags_get(struct nvkm_memory *memory, struct nvkm_device *device,
}
refcount_set(&tags->refcount, 1);
+ *ptags = memory->tags = tags;
mutex_unlock(&fb->subdev.mutex);
- *ptags = tags;
return 0;
}
--
2.20.1
2020 Feb 14
0
[PATCH AUTOSEL 5.4 379/459] drm/nouveau/mmu: fix comptag memory leak
...ore/memory.c
index e85a08ecd9da5..4cc186262d344 100644
--- a/drivers/gpu/drm/nouveau/nvkm/core/memory.c
+++ b/drivers/gpu/drm/nouveau/nvkm/core/memory.c
@@ -91,8 +91,8 @@ nvkm_memory_tags_get(struct nvkm_memory *memory, struct nvkm_device *device,
}
refcount_set(&tags->refcount, 1);
+ *ptags = memory->tags = tags;
mutex_unlock(&fb->subdev.mutex);
- *ptags = tags;
return 0;
}
--
2.20.1
2020 Feb 14
0
[PATCH AUTOSEL 4.19 208/252] drm/nouveau/mmu: fix comptag memory leak
...ore/memory.c
index e85a08ecd9da5..4cc186262d344 100644
--- a/drivers/gpu/drm/nouveau/nvkm/core/memory.c
+++ b/drivers/gpu/drm/nouveau/nvkm/core/memory.c
@@ -91,8 +91,8 @@ nvkm_memory_tags_get(struct nvkm_memory *memory, struct nvkm_device *device,
}
refcount_set(&tags->refcount, 1);
+ *ptags = memory->tags = tags;
mutex_unlock(&fb->subdev.mutex);
- *ptags = tags;
return 0;
}
--
2.20.1
2012 Jul 30
1
why querying Sybase IQ using RODBC returns error ?
...ot;42000 -131 [Sybase][ODBC Driver][Sybase IQ]Syntax error near 'order' on
line 1"
[2] "[RODBC] ERROR: Could not SQLExecDirect 'select * from syagprd1.order
where tradedate='120727' and acct='DVW' and ptag=-1 and sym='BHP.AX''"
This is same behavior for empty datasets also
R> x <- agora.query.iq("select * from syagprd1.orders where 1=2")
Error in .Call(C_RODBCFetchRows, attr(channel, "handle_ptr"), max, buffsize,
:
negative length vectors are not a...
2019 May 17
4
drm/nouveau/core/memory: kmemleak 684 new suspected memory leaks
...;
void
nvkm_memory_tags_put(struct nvkm_memory *memory, struct nvkm_device *device,
@@ -92,6 +93,7 @@ nvkm_memory_tags_get(struct nvkm_memory *memory, struct nvkm_device *device,
refcount_set(&tags->refcount, 1);
mutex_unlock(&fb->subdev.mutex);
+ kmemleak_not_leak(tags);
*ptags = tags;
return 0;
}
--
2.21.0
2011 May 25
1
[GIT PULL] elflink ldlinux
...-#include <syslinux/adv.h>
-#include <klibc/compiler.h>
-#include <inttypes.h>
-
-const void *syslinux_getadv(int tag, size_t * size)
-{
- const uint8_t *p;
- size_t left;
-
- p = syslinux_adv_ptr();
- left = syslinux_adv_size();
-
- while (left >= 2) {
- uint8_t ptag = *p++;
- size_t plen = *p++;
- left -= 2;
-
- if (ptag == ADV_END)
- return NULL; /* Not found */
-
- if (left < plen)
- return NULL; /* Item overrun */
-
- if (ptag == tag) {
- *size = plen;
- return p;
- }
-
- p += plen;
- left -= plen;
- }
-
- return NULL;
-}
diff --git...
2012 Mar 13
0
111 FIXMEs in main/src
...cs.c:/* FIXME: reorganize this as a memcpy */
graphics.c-
--
grep.c:/* FIXME: make more robust, and public */
grep.c-static SEXP mkCharWLen(const wchar_t *wc, int nc)
--
grep.c: strings, but <MBCS-FIXME> it would be more
grep.c- efficient to skip along by chars.
--
grep.c: if (ptag.rm_eo == 0) { /* empty string matched => trouble;
FIXME: we may want to consider just advancing anyway */
grep.c- int infinite_match = 1;
--
grep.c:/* FIXME: use UCP for upper/lower conversion */
grep.c-static
--
grep.c: /* FIXME perhaps we ought to check validity here */
grep.c- len = strl...
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com>
Since we can't use __intcall() for EFI, and since we can now have the
ELF module code resolve all our symbols at runtime, we should delete
as many references to __intcall() as possible and just access the
symbols directly.
The most interesting patch is the support for weak symbols. We need to
be able to reference derivative-specific
2012 Aug 14
1
[GIT PULL] elflink fixes
...alue */
- }
-
- if (size > 255) {
- errno = ENOSPC; /* Max 255 bytes for a data item */
- return -1;
- }
-
- rleft = left = syslinux_adv_size();
- p = advtmp = alloca(left);
- memcpy(p, syslinux_adv_ptr(), left); /* Make working copy */
-
- while (rleft >= 2) {
- uint8_t ptag = p[0];
- size_t plen = p[1] + 2;
-
- if (ptag == ADV_END)
- break;
-
- if (ptag == tag) {
- /* Found our tag. Delete it. */
-
- if (plen >= rleft) {
- /* Entire remainder is our tag */
- break;
- }
- memmove(p, p + plen, rleft - plen);
- rleft -= plen; /* Fewer bytes...