Lines Matching refs:ld_dword

623 static DWORD ld_dword (const BYTE* ptr)	/* Load a 4-byte little-endian word */  in ld_dword()  function
1164 …val = ld_dword(fs->win + clst * 4 % SS(fs)) & 0x0FFFFFFF; /* Simple DWORD array but mask out upper… in get_fat()
1185 val = ld_dword(fs->win + clst * 4 % SS(fs)) & 0x7FFFFFFF; in get_fat()
1250 val = (val & 0x0FFFFFFF) | (ld_dword(fs->win + clst * 4 % SS(fs)) & 0xF0000000); in put_fat()
2155 obj->sclust = ld_dword(fs->dirbuf + XDIR_FstClus); /* Start cluster */
2704 fno->fsize = ld_dword(dp->dir + DIR_FileSize); /* Size */
3033 dp->obj.objsize = ld_dword(fs->dirbuf + XDIR_FileSize);
3200 if (~bcc != ld_dword(gpth + GPTH_Bcc)) return 0;
3201 …if (ld_dword(gpth + GPTH_PteSize) != SZ_GPTE) return 0; /* Table entry size (must be SZ_GPTE bytes…
3202 if (ld_dword(gpth + GPTH_PtNum) > 128) return 0; /* Table size (must be 128 entries or less) */
3266 …&& (ld_word(fs->win + BPB_TotSec16) >= 128 || ld_dword(fs->win + BPB_TotSec32) >= 0x10000) /* Prop…
3299 n_ent = ld_dword(fs->win + GPTH_PtNum); /* Number of entries */
3316 mbr_pt[i] = ld_dword(fs->win + MBR_Table + i * SZ_PTE + PTE_StLba);
3413 fs->fsize = ld_dword(fs->win + BPB_FatSzEx); /* Number of sectors per FAT */
3421 nclst = ld_dword(fs->win + BPB_NumClusEx); /* Number of clusters */
3427 fs->database = bsect + ld_dword(fs->win + BPB_DataOfsEx);
3428 fs->fatbase = bsect + ld_dword(fs->win + BPB_FatOfsEx);
3430 fs->dirbase = ld_dword(fs->win + BPB_RootClusEx);
3443 bcl = ld_dword(fs->win + i + 20); /* Bitmap cluster */
3448 cv = ld_dword(fs->win + bcl % (SS(fs) / 4) * 4);
3463 if (fasize == 0) fasize = ld_dword(fs->win + BPB_FATSz32);
3477 if (tsect == 0) tsect = ld_dword(fs->win + BPB_TotSec32);
3501 fs->dirbase = ld_dword(fs->win + BPB_RootClus32); /* Root directory start cluster */
3522 && ld_dword(fs->win + FSI_LeadSig) == 0x41615252
3523 && ld_dword(fs->win + FSI_StrucSig) == 0x61417272)
3526 fs->free_clst = ld_dword(fs->win + FSI_Free_Count);
3529 fs->last_clst = ld_dword(fs->win + FSI_Nxt_Free);
3792 fp->obj.objsize = ld_dword(dj.dir + DIR_FileSize);
4238 fs->cdir = ld_dword(fs->dirbuf + XDIR_FstClus); /* Sub-directory cluster */
4817 if ((ld_dword(fs->win + i) & 0x0FFFFFFF) == 0) nfree++;
5357 *vsn = ld_dword(fs->win + di);
5875 n_ent = ld_dword(buf + GPTH_PtNum); /* Number of entries */
5894 b_vol = ld_dword(pte + PTE_StLba); /* Get volume start sector */
5895 sz_vol = ld_dword(pte + PTE_SizLba); /* Get volume size */