/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | fhtab.c | 87 static void fh_print_all_keys(char *fhpath, fhandle_t *fh); 89 static fhlist_ent *fh_lookup(char *fhpath, fhandle_t *fh, fhlist_ent *fhrecp, 91 static int fh_remove_mc_link(char *fhpath, fhandle_t *dfh, char *name, 93 static int fh_remove(char *fhpath, fhandle_t *dfh, char *name, char **pathp); 94 static int fh_rename(char *fhpath, fhandle_t *from_dfh, char *from_name, 97 static fhlist_ent *fh_lookup_link(char *fhpath, fhandle_t *dfh, fhandle_t *fh, 103 static char *update_export_point(char *fhpath, fhandle_t *fh, char *path); 104 static char *fh_print_absolute(char *fhpath, fhandle_t *fh, char *name); 106 char *fhpath, char **pathp1, char **pathp2); 108 char *fhpath, char **pathp1, char **pathp2, char *str); [all …]
|
H A D | fhtab.h | 141 int db_add(char *fhpath, fhandle_t *dfh, char *name, fhandle_t *fh, 143 fhlist_ent *db_lookup(char *fhpath, fhandle_t *fh, fhlist_ent *fhrecp, 145 fhlist_ent *db_lookup_link(char *fhpath, fhandle_t *dfh, char *name, 147 int db_delete(char *fhpath, fhandle_t *fh); 148 int db_delete_link(char *fhpath, fhandle_t *dfh, char *name); 149 int db_rename_link(char *fhpath, fhandle_t *from_dfh, char *from_name, 151 void db_print_all_keys(char *fhpath, fsid_t *fsidp, FILE *fp); 153 char *nfslog_get_path(fhandle_t *fh, char *name, char *fhpath, char *prtstr);
|
H A D | nfslog_trans.c | 555 char *fhpath, in trans_read() argument 573 NULL, fhpath, "trans_read"); in trans_read() 625 char *fhpath, in trans_write() argument 643 NULL, fhpath, "trans_write"); in trans_write() 697 char *fhpath, in trans_setattr() argument 725 fhpath, "trans_setattr2"); in trans_setattr() 762 char *fhpath, in trans_create() argument 782 fhpath, "trans_create2"); in trans_create() 831 char *fhpath, in trans_remove() argument 851 fhpath, "trans_remove2"); in trans_remove() [all …]
|
H A D | dbtab.c | 86 static struct db_list *db_get_db(char *fhpath, fsid_t *fsid, int *errorp, 88 static struct db_list *db_get_all_databases(char *fhpath, bool_t getall); 217 db_get_db(char *fhpath, fsid_t *fsid, int *errorp, int create_flag) in db_get_db() argument 240 if ((newp->path = malloc(strlen(fhpath) + 2 + strlen(fsidstr))) in db_get_db() 248 (void) sprintf(newp->path, "%s.%s", fhpath, fsidstr); in db_get_db() 305 db_get_all_databases(char *fhpath, bool_t getall) in db_get_all_databases() argument 315 if (strncmp(fhpath, dbp->path, strlen(fhpath)) == 0) in db_get_all_databases() 327 if ((fhdir = strdup(fhpath)) == NULL) { in db_get_all_databases() 330 fhpath, strerror(errno)); in db_get_all_databases() 367 dbp = db_get_db(fhpath, &fsid, &error, 0); in db_get_all_databases() [all …]
|
/titanic_41/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfslog_config.c | 240 char *tag, *defaultdir, *bufferpath, *rpclogpath, *fhpath, *logpath; in getconfiglist() local 295 &rpclogpath, &fhpath, &logpath, &logformat)) in getconfiglist() 304 bufferpath, rpclogpath, fhpath, logpath, in getconfiglist() 313 bufferpath, rpclogpath, fhpath, in getconfiglist() 369 char *fhpath, in create_config() argument 384 fhpath, logpath, logformat, complete, B_TRUE); in create_config() 414 char *fhpath, in update_config() argument 423 if (complete && !is_complete_config(tag, bufferpath, fhpath, logpath)) { in update_config() 470 &config->nc_fhpath, fhpath, defaultdir, &updated)) in update_config() 496 bufferpath, rpclogpath, fhpath, logpath, logformat, in update_config() [all …]
|