Searched refs:mdb (Results 1 - 18 of 18) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/hfs/
H A Dmdb.c69 struct hfs_mdb *mdb; local
76 if (!HFS_NEW(mdb)) {
81 memset(mdb, 0, sizeof(*mdb));
82 mdb->magic = HFS_MDB_MAGIC;
83 mdb->sys_mdb = sys_mdb;
84 INIT_LIST_HEAD(&mdb->entry_dirty);
85 hfs_init_waitqueue(&mdb->rename_wait);
86 hfs_init_waitqueue(&mdb->bitmap_wait);
92 HFS_DELETE(mdb);
222 hfs_mdb_commit(struct hfs_mdb *mdb, int backup) argument
273 hfs_mdb_put(struct hfs_mdb *mdb, int readonly) argument
[all...]
H A Dbitmap.c12 * the hfs MDB starting at bit number 'start'. 'mdb' had better
16 * struct hfs_mdb *mdb: Pointer to the hfs MDB
23 * 'mdb' points to a "valid" (struct hfs_mdb).
27 hfs_u16 hfs_vbm_count_free(const struct hfs_mdb *mdb, hfs_u16 start) argument
37 if (!mdb) {
43 max_block = (mdb->fs_ablocks + HFS_BM_BPB - 1) / HFS_BM_BPB - 1;
50 max_bits = mdb->fs_ablocks % HFS_BM_BPB;
53 len=hfs_count_zero_bits(hfs_buffer_data(mdb->bitmap[block_nr]),
68 hfs_u16 hfs_vbm_search_free(const struct hfs_mdb *mdb, hfs_u16 *num_bits) argument
86 if (!mdb) {
163 hfs_set_vbm_bits(struct hfs_mdb *mdb, hfs_u16 start, hfs_u16 count) argument
279 hfs_clear_vbm_bits(struct hfs_mdb *mdb, hfs_u16 start, hfs_u16 count) argument
[all...]
H A Dextent.c37 static inline void lock_bitmap(struct hfs_mdb *mdb) { argument
38 while (mdb->bitmap_lock) {
39 hfs_sleep_on(&mdb->bitmap_wait);
41 mdb->bitmap_lock = 1;
49 static inline void unlock_bitmap(struct hfs_mdb *mdb) { argument
50 mdb->bitmap_lock = 0;
51 hfs_wake_up(&mdb->bitmap_wait);
191 struct hfs_btree *tr= entry->mdb->ext_tree;
296 struct hfs_mdb *mdb = fork->entry->mdb; local
432 zero_blocks(struct hfs_mdb *mdb, int start, int num) argument
458 struct hfs_mdb *mdb = fork->entry->mdb; local
516 struct hfs_mdb *mdb = entry->mdb; local
[all...]
H A Dsuper.c70 struct hfs_mdb *mdb = HFS_SB(sb)->s_mdb; local
79 hfs_mdb_commit(mdb, 0);
93 struct hfs_mdb *mdb = HFS_SB(sb)->s_mdb; local
96 hfs_mdb_commit(mdb, 0);
101 hfs_mdb_put(mdb, sb->s_flags & MS_RDONLY);
118 struct hfs_mdb *mdb = HFS_SB(sb)->s_mdb; local
122 buf->f_blocks = mdb->alloc_blksz * mdb->fs_ablocks;
123 buf->f_bfree = mdb->alloc_blksz * mdb
371 struct hfs_mdb *mdb; local
[all...]
H A Dcatalog.c107 * hash an (struct mdb *) and a (struct hfs_cat_key *) to an integer.
109 static inline unsigned int hashfn(const struct hfs_mdb *mdb, argument
114 hash = (unsigned long) mdb | (unsigned long) key->ParID[3] |
123 * hash an (struct mdb *) and a (struct hfs_cat_key *)
126 static inline struct list_head *hash(struct hfs_mdb *mdb, argument
129 return hash_table + hashfn(mdb, key);
134 struct list_head *head = hash(entry->mdb, &entry->key);
182 /* put entry on mdb dirty list. */
185 struct hfs_mdb *mdb = entry->mdb; local
459 find_entry(struct hfs_mdb *mdb, const struct hfs_cat_key *key) argument
486 get_new_entry(struct hfs_mdb *mdb, const struct hfs_cat_key *key, const int read) argument
563 get_entry(struct hfs_mdb *mdb, const struct hfs_cat_key *key, const int read) argument
589 new_cnid(struct hfs_mdb *mdb) argument
600 update_dir(struct hfs_mdb *mdb, struct hfs_cat_entry *dir, int is_dir, int count) argument
672 struct hfs_mdb *mdb = parent->mdb; local
832 hfs_cat_get(struct hfs_mdb *mdb, const struct hfs_cat_key *key) argument
839 invalidate_list(struct list_head *head, struct hfs_mdb *mdb, struct list_head *dispose) argument
895 hfs_cat_invalidate(struct hfs_mdb *mdb) argument
917 hfs_cat_commit(struct hfs_mdb *mdb) argument
1118 struct hfs_mdb *mdb = entry->mdb; local
1217 struct hfs_mdb *mdb = parent->mdb; local
1294 struct hfs_mdb *mdb; local
[all...]
H A DMakefile14 dir_nat.o extent.o file.o file_cap.o file_hdr.o inode.o mdb.o \
H A Dbtree.c114 * struct hfs_mdb *mdb: pointer to the MDB
124 * 'mdb' points to a "valid" (struct hfs_mdb)
137 struct hfs_btree * hfs_btree_init(struct hfs_mdb *mdb, ino_t cnid, argument
149 if (!mdb || !ext || !HFS_NEW(bt)) {
154 bt->sys_mdb = mdb->sys_mdb;
162 bt->entry.mdb = mdb;
166 bt->entry.u.file.clumpablks = (csize / mdb->alloc_blksz)
295 /* hfs_buffer_dirty(mdb->buf); (Done by caller) */
H A Dballoc.c345 struct hfs_mdb *mdb = entry->mdb; local
394 hfs_mdb_commit(mdb, 1);
H A Ddir.c239 if (!(victim = hfs_cat_get(entry->mdb, &key)))
281 if (!(victim = hfs_cat_get(entry->mdb, &key)))
328 if (!(victim = hfs_cat_get(old_parent->mdb, &key)))
H A Ddir_dbl.c77 if ((victim = hfs_cat_get(entry->mdb, &key))) {
120 inode = hfs_iget(hfs_cat_get(entry->mdb, &key), HFS_DBL_NORM, dentry);
127 inode = hfs_iget(hfs_cat_get(entry->mdb, &key),
H A Ddir_nat.c123 inode = hfs_iget(hfs_cat_get(entry->mdb, &key),
364 victim = hfs_cat_get(entry->mdb, &key);
415 victim = hfs_cat_get(entry->mdb, &key);
H A Ddir_cap.c121 inode = hfs_iget(hfs_cat_get(entry->mdb, &key),
H A Dfile_hdr.c514 struct hfs_mdb *mdb = entry->mdb; local
516 HFS_SB(mdb->sys_mdb)->s_reserved2;
523 hfs_put_hl(mdb->next_id, tmp);
H A Dfile.c48 struct super_block *sb = fork->entry->mdb->sys_mdb;
H A Dhfs.h358 struct hfs_mdb *mdb; member in struct:hfs_cat_entry
493 /* mdb.c */
H A Dinode.c246 sb = entry->mdb->sys_mdb;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/s390/char/
H A Dhwc.h136 mdb_t mdb; member in struct:__anon2095
H A Dhwc_rw.c652 hwcb->msgbuf.mdb.length += mto_size;
912 hwcb->msgbuf.mdb.mdb_body.go.general_msg_flags |= GMF_SndAlrm;

Completed in 177 milliseconds