Home
last modified time | relevance | path

Searched refs:orig_dev (Results 1 – 7 of 7) sorted by relevance

/external/mtools/
Ddevices.c74 static int compare_geom(struct device *dev, struct device *orig_dev) in compare_geom() argument
76 if(IS_MFORMAT_ONLY(orig_dev)) in compare_geom()
78 if(!orig_dev || !orig_dev->tracks || !dev || !dev->tracks) in compare_geom()
80 return(orig_dev->tracks != dev->tracks || in compare_geom()
81 orig_dev->heads != dev->heads || in compare_geom()
82 orig_dev->sectors != dev->sectors); in compare_geom()
863 int init_geom(int fd, struct device *dev, struct device *orig_dev, in init_geom() argument
982 int init_geom(int fd, struct device *dev, struct device *orig_dev, in init_geom() argument
999 return compare_geom(dev, orig_dev); in init_geom()
1094 int init_geom(int fd, struct device *dev, struct device *orig_dev, in init_geom() argument
[all …]
Dstream.h56 #define SET_GEOM(stream, dev, orig_dev, media, boot) \ argument
57 (stream)->Class->set_geom( (stream), (dev), (orig_dev), (media), (boot) )
Dplain_io.h31 Stream_t *SimpleFileOpen(struct device *dev, struct device *orig_dev,
Dplain_io.c174 struct device *orig_dev, in file_geom() argument
251 ret = init_geom(This->fd,dev, orig_dev, &This->statbuf); in file_geom()
485 Stream_t *SimpleFileOpen(struct device *dev, struct device *orig_dev, in SimpleFileOpen() argument
656 init_geom(This->fd, dev, orig_dev, &This->statbuf)){ in SimpleFileOpen()
Dmtools.h146 int init_geom(int fd, struct device *dev, struct device *orig_dev,
Dfloppyd_io.c405 struct device *orig_dev UNUSEDP, in floppyd_geom()
Dxdf_io.c572 struct device *orig_dev UNUSEDP, int media, in config_geom()