Lines Matching refs:cpu_to_be16
91 if (mdb->drSigWord == cpu_to_be16(HFS_SUPER_MAGIC))
128 if (mdb->drSigWord != cpu_to_be16(HFS_SUPER_MAGIC))
157 if (mdb2->drSigWord == cpu_to_be16(HFS_SUPER_MAGIC)) {
205 if (!(attrib & cpu_to_be16(HFS_SB_ATTRIB_UNMNT))) {
210 if ((attrib & cpu_to_be16(HFS_SB_ATTRIB_SLOCK))) {
216 attrib &= cpu_to_be16(~HFS_SB_ATTRIB_UNMNT);
217 attrib |= cpu_to_be16(HFS_SB_ATTRIB_INCNSTNT);
266 mdb->drFreeBks = cpu_to_be16(HFS_SB(sb)->free_ablocks);
268 mdb->drNmFls = cpu_to_be16(HFS_SB(sb)->root_files);
269 mdb->drNmRtDirs = cpu_to_be16(HFS_SB(sb)->root_dirs);
287 HFS_SB(sb)->alt_mdb->drAtrb |= cpu_to_be16(HFS_SB_ATTRIB_UNMNT);
288 HFS_SB(sb)->alt_mdb->drAtrb &= cpu_to_be16(~HFS_SB_ATTRIB_INCNSTNT);
327 HFS_SB(sb)->mdb->drAtrb |= cpu_to_be16(HFS_SB_ATTRIB_UNMNT);
328 HFS_SB(sb)->mdb->drAtrb &= cpu_to_be16(~HFS_SB_ATTRIB_INCNSTNT);