Compare commits
32 Commits
master
...
OpenHarmon
Author | SHA1 | Date |
---|---|---|
|
30d6d3c088 | |
|
65a8243fb1 | |
|
4b34b96700 | |
|
066a984a97 | |
|
f9ccc6e5fd | |
|
66228974c5 | |
|
572022f542 | |
|
439633c93b | |
|
020edcb1b7 | |
|
562c5d93d3 | |
|
898e71eb54 | |
|
07be40d1f3 | |
|
20820bd0f7 | |
|
20cf25498f | |
|
a502da19c0 | |
|
dc523053cd | |
|
f264fa6b13 | |
|
1bb7968775 | |
|
017822c2fd | |
|
fef87f5da8 | |
|
a0088a2e53 | |
|
08b1ab779c | |
|
03a2bf2c68 | |
|
589820d05a | |
|
4e90ebdd73 | |
|
6241f722f3 | |
|
b7a35ec4bb | |
|
50410f66fb | |
|
26a187ede7 | |
|
4e62fec983 | |
|
25a4c3f13a | |
|
7dc3f24815 |
2
OAT.xml
2
OAT.xml
|
@ -65,8 +65,6 @@
|
||||||
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
|
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
|
||||||
</filefilter>
|
</filefilter>
|
||||||
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
|
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
|
||||||
<filteritem type="filepath" name="figures/architecture-of-the-openharmony-liteos-cortex-a-kernel.png" desc="architecture-of-the-openharmony-liteos-cortex-a-kernel"/>
|
|
||||||
<filteritem type="filepath" name="figures/OpenHarmony-LiteOS-A内核架构图.png" desc="LiteOS-A内核架构图"/>
|
|
||||||
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||||
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||||
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
|
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
|
||||||
|
|
|
@ -8668,7 +8668,7 @@ diff -Nupr old/fs/jffs2/writev.c new/fs/jffs2/writev.c
|
||||||
diff -Nupr old/fs/jffs2/xattr.c new/fs/jffs2/xattr.c
|
diff -Nupr old/fs/jffs2/xattr.c new/fs/jffs2/xattr.c
|
||||||
--- old/fs/jffs2/xattr.c 2022-05-09 17:15:24.360000000 +0800
|
--- old/fs/jffs2/xattr.c 2022-05-09 17:15:24.360000000 +0800
|
||||||
+++ new/fs/jffs2/xattr.c 1970-01-01 08:00:00.000000000 +0800
|
+++ new/fs/jffs2/xattr.c 1970-01-01 08:00:00.000000000 +0800
|
||||||
@@ -1,1352 +0,0 @@
|
@@ -1,1347 +0,0 @@
|
||||||
-/*
|
-/*
|
||||||
- * JFFS2 -- Journalling Flash File System, Version 2.
|
- * JFFS2 -- Journalling Flash File System, Version 2.
|
||||||
- *
|
- *
|
||||||
|
@ -9443,10 +9443,10 @@ diff -Nupr old/fs/jffs2/xattr.c new/fs/jffs2/xattr.c
|
||||||
-}
|
-}
|
||||||
-
|
-
|
||||||
-#define XREF_TMPHASH_SIZE (128)
|
-#define XREF_TMPHASH_SIZE (128)
|
||||||
-int jffs2_build_xattr_subsystem(struct jffs2_sb_info *c)
|
-void jffs2_build_xattr_subsystem(struct jffs2_sb_info *c)
|
||||||
-{
|
-{
|
||||||
- struct jffs2_xattr_ref *ref, *_ref;
|
- struct jffs2_xattr_ref *ref, *_ref;
|
||||||
- struct jffs2_xattr_ref **xref_tmphash;
|
- struct jffs2_xattr_ref *xref_tmphash[XREF_TMPHASH_SIZE];
|
||||||
- struct jffs2_xattr_datum *xd, *_xd;
|
- struct jffs2_xattr_datum *xd, *_xd;
|
||||||
- struct jffs2_inode_cache *ic;
|
- struct jffs2_inode_cache *ic;
|
||||||
- struct jffs2_raw_node_ref *raw;
|
- struct jffs2_raw_node_ref *raw;
|
||||||
|
@ -9455,12 +9455,9 @@ diff -Nupr old/fs/jffs2/xattr.c new/fs/jffs2/xattr.c
|
||||||
-
|
-
|
||||||
- BUG_ON(!(c->flags & JFFS2_SB_FLAG_BUILDING));
|
- BUG_ON(!(c->flags & JFFS2_SB_FLAG_BUILDING));
|
||||||
-
|
-
|
||||||
- xref_tmphash = kcalloc(XREF_TMPHASH_SIZE,
|
|
||||||
- sizeof(struct jffs2_xattr_ref *), GFP_KERNEL);
|
|
||||||
- if (!xref_tmphash)
|
|
||||||
- return -ENOMEM;
|
|
||||||
-
|
|
||||||
- /* Phase.1 : Merge same xref */
|
- /* Phase.1 : Merge same xref */
|
||||||
|
- for (i=0; i < XREF_TMPHASH_SIZE; i++)
|
||||||
|
- xref_tmphash[i] = NULL;
|
||||||
- for (ref=c->xref_temp; ref; ref=_ref) {
|
- for (ref=c->xref_temp; ref; ref=_ref) {
|
||||||
- struct jffs2_xattr_ref *tmp;
|
- struct jffs2_xattr_ref *tmp;
|
||||||
-
|
-
|
||||||
|
@ -9558,8 +9555,6 @@ diff -Nupr old/fs/jffs2/xattr.c new/fs/jffs2/xattr.c
|
||||||
- "%u of xref (%u dead, %u orphan) found.\n",
|
- "%u of xref (%u dead, %u orphan) found.\n",
|
||||||
- xdatum_count, xdatum_unchecked_count, xdatum_orphan_count,
|
- xdatum_count, xdatum_unchecked_count, xdatum_orphan_count,
|
||||||
- xref_count, xref_dead_count, xref_orphan_count);
|
- xref_count, xref_dead_count, xref_orphan_count);
|
||||||
- kfree(xref_tmphash);
|
|
||||||
- return 0;
|
|
||||||
-}
|
-}
|
||||||
-
|
-
|
||||||
-struct jffs2_xattr_datum *jffs2_setup_xattr_datum(struct jffs2_sb_info *c,
|
-struct jffs2_xattr_datum *jffs2_setup_xattr_datum(struct jffs2_sb_info *c,
|
||||||
|
|
|
@ -103,7 +103,7 @@ STATIC VOID SortQueueIndexArray(UINT32 *indexArray, UINT32 count)
|
||||||
IpcSortParam queueSortParam;
|
IpcSortParam queueSortParam;
|
||||||
queueSortParam.buf = (CHAR *)g_queueDebugArray;
|
queueSortParam.buf = (CHAR *)g_queueDebugArray;
|
||||||
queueSortParam.ipcDebugCBSize = sizeof(QueueDebugCB);
|
queueSortParam.ipcDebugCBSize = sizeof(QueueDebugCB);
|
||||||
queueSortParam.ipcDebugCBCnt = LOSCFG_BASE_IPC_QUEUE_LIMIT;
|
queueSortParam.ipcDebugCBCnt = LOSCFG_BASE_IPC_SEM_LIMIT;
|
||||||
queueSortParam.sortElemOff = LOS_OFF_SET_OF(QueueDebugCB, lastAccessTime);
|
queueSortParam.sortElemOff = LOS_OFF_SET_OF(QueueDebugCB, lastAccessTime);
|
||||||
|
|
||||||
if (count > 0) {
|
if (count > 0) {
|
||||||
|
|
|
@ -887,7 +887,7 @@ STATIC UINT32 OsMemPoolInit(VOID *pool, UINT32 size)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef LOSCFG_MEM_MUL_POOL
|
#ifdef LOSCFG_MEM_MUL_POOL
|
||||||
STATIC VOID OsMemPoolDeInit(const VOID *pool, UINT32 size)
|
STATIC VOID OsMemPoolDeinit(const VOID *pool, UINT32 size)
|
||||||
{
|
{
|
||||||
#ifdef LOSCFG_KERNEL_LMS
|
#ifdef LOSCFG_KERNEL_LMS
|
||||||
if (g_lms != NULL) {
|
if (g_lms != NULL) {
|
||||||
|
|
|
@ -261,7 +261,7 @@ STATIC UINT32 GetDirtySize(LosFilePage *fpage, struct Vnode *vnode)
|
||||||
|
|
||||||
STATIC INT32 OsFlushDirtyPage(LosFilePage *fpage)
|
STATIC INT32 OsFlushDirtyPage(LosFilePage *fpage)
|
||||||
{
|
{
|
||||||
ssize_t ret;
|
UINT32 ret;
|
||||||
size_t len;
|
size_t len;
|
||||||
char *buff = NULL;
|
char *buff = NULL;
|
||||||
struct Vnode *vnode = fpage->mapping->host;
|
struct Vnode *vnode = fpage->mapping->host;
|
||||||
|
|
Loading…
Reference in New Issue