nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields

Node information 를 정의한다. More...

#include <vfs.h>

Collaboration diagram for ninfo:
Collaboration graph
[legend]

Data Fields

struct list_head child
 
int deleted
 
int head_sibling
 
ino_t id
 
char * name
 
struct ninfo_ops nops
 
void * priv
 
int refcnt
 
struct sinfosi
 
struct list_head sibling
 
struct list_head sinfo
 
unsigned long size
 
enum ntype type
 

Detailed Description

Node information 를 정의한다.

Definition at line 70 of file vfs.h.

Field Documentation

struct list_head child

자식 노드 링크

Definition at line 85 of file vfs.h.

Referenced by vfs_del_ninfo(), vfs_get_ninfo_child(), vfs_get_ninfo_parent(), vfs_init(), vfs_new_dev_ninfo(), and vfs_new_ninfo().

int deleted

삭제 여부

Definition at line 74 of file vfs.h.

Referenced by vfs_init(), vfs_new_dev_ninfo(), and vfs_new_ninfo().

int head_sibling
ino_t id

Definition at line 75 of file vfs.h.

Referenced by load_rootfs(), and vfs_init().

char* name

노드의 이름 (파일/폴더 이름)

Definition at line 71 of file vfs.h.

Referenced by vfs_get_ninfo(), vfs_new_dev_ninfo(), and vfs_new_ninfo().

struct ninfo_ops nops

Definition at line 88 of file vfs.h.

Referenced by ioctl(), lseek(), read(), vfs_init(), vfs_new_dev_ninfo(), and write().

void* priv

실제 파일 시스템이 사용할 데이터 포인터

Definition at line 78 of file vfs.h.

Referenced by fdc_open(), load_rootfs(), serial_close(), serial_open(), vfs_init(), vfs_new_dev_ninfo(), and vfs_new_ninfo().

int refcnt

Reference count

Definition at line 73 of file vfs.h.

Referenced by vfs_init(), vfs_new_dev_ninfo(), and vfs_new_ninfo().

struct sinfo* si

ninfo 가 저장된 장치 정보

Definition at line 77 of file vfs.h.

Referenced by vfs_del_ninfo(), vfs_get_ninfo_child(), vfs_get_ninfo_parent(), vfs_init(), vfs_new_dev_ninfo(), and vfs_new_ninfo().

struct list_head sibling

형제 노드 링크

Definition at line 83 of file vfs.h.

Referenced by vfs_get_ninfo(), vfs_get_ninfo_next_sibling(), vfs_get_ninfo_prev_sibling(), vfs_init(), vfs_new_dev_ninfo(), and vfs_new_ninfo().

struct list_head sinfo

연결 된 스토리지의 디스크 정보 링크

Definition at line 86 of file vfs.h.

Referenced by vfs_attach_storage(), vfs_get_last_sinfo(), vfs_init(), vfs_new_dev_ninfo(), and vfs_new_ninfo().

unsigned long size

ninfo 의 크기

Definition at line 80 of file vfs.h.

Referenced by fdc_lseek(), keyboard_init(), keyboard_lseek(), vfs_init(), video_init(), video_lseek(), video_read(), and video_write().

enum ntype type

현재 노드의 종류

Definition at line 72 of file vfs.h.

Referenced by fat_load(), load_rootfs(), vfs_get_last_sinfo(), vfs_get_ninfo_child(), vfs_init(), vfs_new_dev_ninfo(), and vfs_new_ninfo().


The documentation for this struct was generated from the following file: