Lines Matching refs:buf

35 fat_read_fragments (PedFileSystem* fs, char* buf, FatFragment frag,
44 return ped_geometry_read (fs->geom, buf, sector, sector_count);
48 fat_read_fragment (PedFileSystem* fs, char* buf, FatFragment frag)
50 return fat_read_fragments (fs, buf, frag, 1);
54 fat_write_fragments (PedFileSystem* fs, char* buf, FatFragment frag,
63 return ped_geometry_write (fs->geom, buf, sector, sector_count);
67 fat_write_fragment (PedFileSystem* fs, char* buf, FatFragment frag)
69 return fat_write_fragments (fs, buf, frag, 1);
73 fat_write_sync_fragments (PedFileSystem* fs, char* buf, FatFragment frag,
76 if (!fat_write_fragments (fs, buf, frag, count))
84 fat_write_sync_fragment (PedFileSystem* fs, char* buf, FatFragment frag)
86 return fat_write_sync_fragments (fs, buf, frag, 1);
90 fat_read_clusters (PedFileSystem* fs, char *buf, FatCluster cluster,
101 return ped_geometry_read (fs->geom, buf, sector, sector_count);
105 fat_read_cluster (PedFileSystem* fs, char *buf, FatCluster cluster)
107 return fat_read_clusters (fs, buf, cluster, 1);
111 fat_write_clusters (PedFileSystem* fs, char *buf, FatCluster cluster,
122 return ped_geometry_write (fs->geom, buf, sector, sector_count);
126 fat_write_cluster (PedFileSystem* fs, char *buf, FatCluster cluster)
128 return fat_write_clusters (fs, buf, cluster, 1);
132 fat_write_sync_clusters (PedFileSystem* fs, char *buf, FatCluster cluster,
135 if (!fat_write_clusters (fs, buf, cluster, count))
143 fat_write_sync_cluster (PedFileSystem* fs, char *buf, FatCluster cluster)
145 if (!fat_write_cluster (fs, buf, cluster))