|
TacOS
0.2
|
dentry cache Plus de détails...

Structures de données | |
| struct | key_t |
Fonctions | |
| void | dcache_init () |
| void | dcache_remove (struct _fs_instance_t *instance, struct _dentry_t *dentry, const char *name) |
| struct _dentry_t * | dcache_get (struct _fs_instance_t *instance, struct _dentry_t *dentry, const char *name) |
| void | dcache_set (struct _fs_instance_t *instance, struct _dentry_t *pdentry, const char *name, struct _dentry_t *dentry) |
Copyright (C) 2010-2014 TacOS developers.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org/copyleft/gpl.html
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.
| struct _dentry_t* dcache_get | ( | struct _fs_instance_t * | instance, |
| struct _dentry_t * | dentry, | ||
| const char * | name | ||
| ) |
Cherche une valeur dans le cache.
| instance | Instance de FS. |
| dentry | Dentry parent. |
| name | Nom de l'entrée. |

| void dcache_init | ( | ) |
Initialisation du cache.


| void dcache_remove | ( | struct _fs_instance_t * | instance, |
| struct _dentry_t * | dentry, | ||
| const char * | name | ||
| ) |
Supprime une valeur du cache.
| instance | Instance de FS. |
| dentry | Dentry parent. |
| name | Nom de l'entrée. |


| void dcache_set | ( | struct _fs_instance_t * | instance, |
| struct _dentry_t * | pdentry, | ||
| const char * | name, | ||
| struct _dentry_t * | dentry | ||
| ) |
Insert une valeur dans le cache.
| instance | Instance de FS. |
| pdentry | Dentry parent. |
| name | Nom de l'entrée. |
| dentry | Dentry à mettre en cache. |

1.8.7