Home
last modified time | relevance | path

Searched refs:cfp_t (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libdscfg/common/
H A Dcfg_impl.h205 } cfp_t; typedef
209 cfp_t cf[2]; /* local & optional cluster file */
215 cfp_t *(*open)(cfp_t *, char *); /* Open device */
216 void (*close)(cfp_t *); /* Close device */
217 int (*seek)(cfp_t *, int, int); /* Seek */
218 int (*read)(cfp_t *, void *, int); /* read */
219 int (*write)(cfp_t *, void *, int); /* write */
220 char *(*readcf)(cfp_t *, char *, int, int); /* Read mem config */
221 int (*addcf)(cfp_t *, char *, int); /* add to mem config */
222 int (*remcf)(cfp_t *, int, int); /* remove an entry */
[all …]
H A Dcfg_local.h33 char *readcfline(cfp_t *cfp, char *buf, int table_index, int offset);
34 int addcfline(cfp_t *cfp, char *line, int table_index);
35 int replacecfline(cfp_t *cfp, char *line, int table_index, int offset);
36 int remcfline(cfp_t *cfp, int table_index, int offset);
H A Dcfg_local.c64 get_bsize(cfp_t *cfp, char *name) in get_bsize()
148 localcf_close(cfp_t *cfp) in localcf_close()
161 cfp_t *
162 localcf_open(cfp_t *cfp, char *name) in localcf_open()
227 localcf_seekblk(cfp_t *cfp, int off, int mode) in localcf_seekblk()
239 localcf_readblk(cfp_t *cfp, void *buf, int size) in localcf_readblk()
251 localcf_writeblk(cfp_t *cfp, void *buf, int size) in localcf_writeblk()
263 localcf_seek(cfp_t *cfp, int off, int mode) in localcf_seek()
282 localcf_read(cfp_t *cfp, void *buf, int size) in localcf_read()
303 localcf_write(cfp_t *cfp, void *buf, int size) in localcf_write()
[all …]
H A Dcfg.c88 static int cfg_read(cfp_t *);
89 static void cfg_read_parser_config(cfp_t *);
93 void cfg_replace_lists(cfp_t *);
96 int cfg_map_cfglists(cfp_t *);
97 int cfg_hdrcmp(cfp_t *);
98 void cfg_free_cfglist(cfp_t *);
106 dump_status(cfp_t *cfp, char *str) in dump_status()
394 cfp_t *cfp; in cfg_get_cstring()
688 cfp_t *cfp; in cfg_put_cstring()
1463 cfg_set_memorymap(cfp_t *cfp) in cfg_set_memorymap()
[all …]
H A Dcfg.h44 typedef struct cfp cfp_t; typedef
138 void cfp_unlock(cfp_t *); /* unlock the configuration */
/titanic_41/usr/src/cmd/avs/dscfg/
H A Ddscfg.c249 cfp_t *cfp = FP_SUN_CLUSTER(cfg); in dump_status()
658 cfp_t *cfp;