Lines Matching refs:NULL
62 static char *line = NULL;
63 static share_t *sh = NULL;
68 if (line == NULL) {
70 if (line == NULL)
73 if (sh == NULL) {
75 if (sh == NULL)
80 if (p == NULL)
85 if (sh->sh_path == NULL)
87 sh->sh_res = (char *)strtok_r(NULL, w, &lasts);
88 if (sh->sh_res == NULL)
90 sh->sh_fstype = (char *)strtok_r(NULL, w, &lasts);
91 if (sh->sh_fstype == NULL)
93 sh->sh_opts = (char *)strtok_r(NULL, w, &lasts);
94 if (sh->sh_opts == NULL)
96 sh->sh_descr = (char *)strtok_r(NULL, "", &lasts);
97 if (sh->sh_descr == NULL)
110 if (nsh == NULL)
111 return (NULL);
115 if (nsh->sh_path == NULL)
121 if (nsh->sh_res == NULL)
126 if (nsh->sh_fstype == NULL)
131 if (nsh->sh_opts == NULL)
136 if (nsh->sh_descr == NULL)
143 return (NULL);
149 if (sh->sh_path != NULL)
151 if (sh->sh_res != NULL)
153 if (sh->sh_fstype != NULL)
155 if (sh->sh_opts != NULL)
157 if (sh->sh_descr != NULL)
174 char *val = NULL;
177 if (b == NULL)
178 return (NULL);
180 while ((p = strtok_r(b, ",", &lasts)) != NULL) {
181 b = NULL;
182 if ((pe = strchr(p, '=')) != NULL) {