TAILIEUCHUNG - UNIX Filesystems Evolution Design and Implementation PHẦN 10

Khi đọc thông qua danh sách này, nó xuất hiện mà RFS có thêm nhiều tính năng cung cấp và do đó sẽ được cung cấp tốt hơn trong lĩnh vực phân phối hệ thống tập tin NFS. Tuy nhiên, các mục tiêu của cả hai dự án khác nhau trong đó hỗ trợ RFS đầy đủ ngữ nghĩa UNIX trong khi cho NFS, giao thức | Developing a Filesystem for the Linux Kernel 397 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 ux_prepare_write struct file file struct page page unsigned from unsigned to return block_prepare_write page from to ux_get_block int ux_bmap struct address_space mapping long block return generic_block_bmap mapping block ux_get_block struct address_space_operations ux_aops readpage writepage sync_page prepare_write commit_write bmap ux_readpage ux_writepage block_sync_page ux_prepare_write generic_commit_write ux_bmap struct inode_operations link unlink ux_file_inops ux_link uxunlink ----------------------------------------------------------------- -------------------------- ----------------------------------------------------------------- include include include include include include include include linux linux linux linux linux linux asm MODULE_AUTHOR Steve Pate spate@ MODULE_DESCRIPTION A primitive filesystem for Linux MODULE_LICENSE GPL This function looks for name in the directory dip . If found the inode number is returned. int ux_find_entry struct inode dip char name struct ux_inode uip struct ux_inode dip- i_private struct super_block sb dip- i_sb struct buffer_head bh 398 UNIX Filesystems Evolution Design and Implementation 1038 struct ux_dirent dirent 1039 int i blk 0 1040 1041 for blk 0 blk uip- i_blocks blk 1042 bh sb_ bread sb uip- i_addr blk 1043 dirent struct ux_dirent bh- b_data 1044 for i 0 i UX_DIRS_PER_BLOCK i 1045 if strcmp dirent- d_name name 0 1046 brelse bh 1047 return dirent- d_ino 1048 1049 dirent 1050 1051 1052 brelse bh 1053 return 0 1054 1055 1056 1057 This function is called in response to an iget . For 1058 example we .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.