Searched refs:dss_path (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs_server.c | 3065 rfs4_dss_path_t *dss_path; in hanfsv4_failover() local 3084 dss_path = rfs4_dss_pathlist; in hanfsv4_failover() 3087 char *path = dss_path->path; in hanfsv4_failover() 3091 dss_path = dss_path->next; in hanfsv4_failover() 3115 unsigned index = dss_path->index; in hanfsv4_failover() 3116 rfs4_servinst_t *sip = dss_path->sip; in hanfsv4_failover() 3117 rfs4_dss_path_t *path_next = dss_path->next; in hanfsv4_failover() 3125 ASSERT(dss_path == sip->dss_paths[index]); in hanfsv4_failover() 3129 remque(dss_path); in hanfsv4_failover() 3131 kmem_free(dss_path->path, strlen(dss_path->path) + 1); in hanfsv4_failover() [all …]
|
H A D | nfs4_state.c | 952 rfs4_dss_path_t *dss_path = sip->dss_paths[i]; in rfs4_ss_clid_write() local 955 if (dss_path == NULL) in rfs4_ss_clid_write() 958 rfs4_ss_clid_write_one(cp, dss_path->path, leaf); in rfs4_ss_clid_write() 969 rfs4_ss_clid_write_one(rfs4_client_t *cp, char *dss_path, char *leaf) in rfs4_ss_clid_write_one() argument 982 dirlen = strlen(dss_path) + strlen(NFS4_DSS_STATE_LEAF) + 2; in rfs4_ss_clid_write_one() 984 (void) sprintf(dir, "%s/%s", dss_path, NFS4_DSS_STATE_LEAF); in rfs4_ss_clid_write_one() 1167 char *dss_path = NFS4_DSS_VAR_DIR; in rfs4_state_init() local 1205 rfs4_servinst_create(start_grace, 1, &dss_path); in rfs4_state_init() 1607 rfs4_dss_path_t *dss_path = sip->dss_paths[i]; in rfs4_dss_remove_leaf() local 1612 if (dss_path == NULL) in rfs4_dss_remove_leaf() [all …]
|
H A D | nfs4_srv.c | 685 rfs4_dss_path_t *dss_path; in rfs4_dss_newpath() local 687 dss_path = kmem_alloc(sizeof (rfs4_dss_path_t), KM_SLEEP); in rfs4_dss_newpath() 695 dss_path->path = kmem_alloc(len, KM_SLEEP); in rfs4_dss_newpath() 696 (void) strlcpy(dss_path->path, path, len); in rfs4_dss_newpath() 699 dss_path->sip = sip; in rfs4_dss_newpath() 700 dss_path->index = index; in rfs4_dss_newpath() 710 dss_path->next = dss_path->prev = dss_path; in rfs4_dss_newpath() 712 rfs4_dss_pathlist = dss_path; in rfs4_dss_newpath() 714 insque(dss_path, rfs4_dss_pathlist); in rfs4_dss_newpath() 717 return (dss_path); in rfs4_dss_newpath()
|