Home
last modified time | relevance | path

Searched refs:mdb (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/fs/hfs/
Dmdb.c70 struct hfs_mdb *mdb, *mdb2; in hfs_mdb_get() local
87 bh = sb_bread512(sb, part_start + HFS_MDB_BLK, mdb); in hfs_mdb_get()
91 if (mdb->drSigWord == cpu_to_be16(HFS_SUPER_MAGIC)) in hfs_mdb_get()
102 HFS_SB(sb)->alloc_blksz = size = be32_to_cpu(mdb->drAlBlkSiz); in hfs_mdb_get()
112 sect = be16_to_cpu(mdb->drAlBlSt) + part_start; in hfs_mdb_get()
125 bh = sb_bread512(sb, part_start + HFS_MDB_BLK, mdb); in hfs_mdb_get()
128 if (mdb->drSigWord != cpu_to_be16(HFS_SUPER_MAGIC)) in hfs_mdb_get()
132 HFS_SB(sb)->mdb = mdb; in hfs_mdb_get()
136 HFS_SB(sb)->fs_ablocks = be16_to_cpu(mdb->drNmAlBlks); in hfs_mdb_get()
138 HFS_SB(sb)->clumpablks = be32_to_cpu(mdb->drClpSiz) / in hfs_mdb_get()
[all …]
Dbtree.c42 struct hfs_mdb *mdb = HFS_SB(sb)->mdb; in hfs_btree_open() local
47 hfs_inode_read_fork(tree->inode, mdb->drXTExtRec, mdb->drXTFlSize, in hfs_btree_open()
48 mdb->drXTFlSize, be32_to_cpu(mdb->drXTClpSiz)); in hfs_btree_open()
52 hfs_inode_read_fork(tree->inode, mdb->drCTExtRec, mdb->drCTFlSize, in hfs_btree_open()
53 mdb->drCTFlSize, be32_to_cpu(mdb->drCTClpSiz)); in hfs_btree_open()
DMakefile8 catalog.o dir.o extent.o inode.o attr.o mdb.o \
Dsuper.c122 if (!(HFS_SB(sb)->mdb->drAtrb & cpu_to_be16(HFS_SB_ATTRIB_UNMNT))) { in hfs_remount()
127 } else if (HFS_SB(sb)->mdb->drAtrb & cpu_to_be16(HFS_SB_ATTRIB_SLOCK)) { in hfs_remount()
Dhfs_fs.h87 struct hfs_mdb *mdb; member
/linux-2.6.39/net/bridge/
Dbr_multicast.c63 static inline int __br_ip4_hash(struct net_bridge_mdb_htable *mdb, __be32 ip) in __br_ip4_hash() argument
65 return jhash_1word(mdb->secret, (__force u32)ip) & (mdb->max - 1); in __br_ip4_hash()
69 static inline int __br_ip6_hash(struct net_bridge_mdb_htable *mdb, in __br_ip6_hash() argument
72 return jhash2((__force u32 *)ip->s6_addr32, 4, mdb->secret) & (mdb->max - 1); in __br_ip6_hash()
76 static inline int br_ip_hash(struct net_bridge_mdb_htable *mdb, in br_ip_hash() argument
81 return __br_ip4_hash(mdb, ip->u.ip4); in br_ip_hash()
84 return __br_ip6_hash(mdb, &ip->u.ip6); in br_ip_hash()
91 struct net_bridge_mdb_htable *mdb, struct br_ip *dst, int hash) in __br_mdb_ip_get() argument
96 hlist_for_each_entry_rcu(mp, p, &mdb->mhash[hash], hlist[mdb->ver]) { in __br_mdb_ip_get()
105 struct net_bridge_mdb_htable *mdb, struct br_ip *dst) in br_mdb_ip_get() argument
[all …]
Dbr_private.h239 struct net_bridge_mdb_htable __rcu *mdb; member
/linux-2.6.39/drivers/s390/char/
Dsclp_rw.c72 sccb->msg_buf.mdb.header.length = sizeof(struct mdb); in sclp_make_buffer()
73 sccb->msg_buf.mdb.header.type = 1; in sclp_make_buffer()
74 sccb->msg_buf.mdb.header.tag = 0xD4C4C240; /* ebcdic "MDB " */ in sclp_make_buffer()
75 sccb->msg_buf.mdb.header.revision_code = 1; in sclp_make_buffer()
76 sccb->msg_buf.mdb.go.length = sizeof(struct go); in sclp_make_buffer()
77 sccb->msg_buf.mdb.go.type = 1; in sclp_make_buffer()
161 sccb->msg_buf.mdb.header.length += mto_size; in sclp_finalize_mto()
221 buffer->sccb->msg_buf.mdb.go.general_msg_flags |= in sclp_write()
Dsclp_rw.h45 struct mdb { struct
52 struct mdb mdb; member
/linux-2.6.39/arch/s390/kernel/
Dsclp.S229 lh %r9,.LmdbS4-.LwritesccbS4(%r8) # update mdb length
313 # mdb