Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pintos_forked_resit
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
s2-alsaloumi
Pintos_forked_resit
Commits
b2403c0e
Commit
b2403c0e
authored
1 year ago
by
h2-addad
Browse files
Options
Downloads
Patches
Plain Diff
Update
parent
082e4936
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/filesys/inode.h
+23
-0
23 additions, 0 deletions
src/filesys/inode.h
with
23 additions
and
0 deletions
src/filesys/inode.h
0 → 100644
+
23
−
0
View file @
b2403c0e
#ifndef FILESYS_INODE_H
#define FILESYS_INODE_H
#include
<stdbool.h>
#include
"filesys/off_t.h"
#include
"devices/block.h"
struct
bitmap
;
void
inode_init
(
void
);
bool
inode_create
(
block_sector_t
,
off_t
);
struct
inode
*
inode_open
(
block_sector_t
);
struct
inode
*
inode_reopen
(
struct
inode
*
);
block_sector_t
inode_get_inumber
(
const
struct
inode
*
);
void
inode_close
(
struct
inode
*
);
void
inode_remove
(
struct
inode
*
);
off_t
inode_read_at
(
struct
inode
*
,
void
*
,
off_t
size
,
off_t
offset
);
off_t
inode_write_at
(
struct
inode
*
,
const
void
*
,
off_t
size
,
off_t
offset
);
void
inode_deny_write
(
struct
inode
*
);
void
inode_allow_write
(
struct
inode
*
);
off_t
inode_length
(
const
struct
inode
*
);
#endif
/* filesys/inode.h */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment