Lines Matching refs:NULL

49 	setname = NULL;
51 ((sp = metasetnosetname(setno, &status)) != NULL)) {
64 if (uname == NULL)
65 return (NULL);
71 if (uname == NULL)
72 return (NULL);
80 md_sr = NULL;
81 if (setname != NULL) {
84 if ((md_sr != NULL) && (md_sr->sr_nodes[mnum] != NULL)) {
97 if (setname == NULL) {
104 if ((setname = get_devname(setno, dev)) != NULL) {
113 return (NULL);
210 if (node_ptr == NULL) {
229 static void *se_handle = NULL, *nv_handle = NULL;
231 nvlist_t *, sysevent_id_t *) = NULL;
232 static int (*_nvlist_alloc)(nvlist_t **, uint_t, int) = NULL;
233 static void (*_nvlist_free)(nvlist_t *) = NULL;
234 static int (*_nvlist_add_uint32)(nvlist_t *, char *, uint32_t) = NULL;
235 static int (*_nvlist_add_uint64)(nvlist_t *, char *, uint64_t) = NULL;
236 static int (*_nvlist_add_string)(nvlist_t *, char *, char *) = NULL;
245 if (se_handle == NULL) {
248 if (se_handle != NULL) {
249 if ((_sysevent_post_event == NULL) &&
252 dlsym(se_handle, "sysevent_post_event")) == NULL) {
260 if (nv_handle == NULL) {
263 if (nv_handle != NULL) {
264 if ((_nvlist_alloc == NULL) &&
266 dlsym(nv_handle, "nvlist_alloc")) == NULL) {
269 if ((_nvlist_free == NULL) &&
271 "nvlist_free")) == NULL) {
274 if ((_nvlist_add_uint32 == NULL) &&
277 "nvlist_add_uint32")) == NULL) {
280 if ((_nvlist_add_uint64 == NULL) &&
283 "nvlist_add_uint64")) == NULL) {
286 if ((_nvlist_add_string == NULL) &&
289 "nvlist_add_string")) == NULL) {
297 if ((se_handle != NULL) && (dlclose(se_handle) == 0)) {
298 se_handle = NULL;
301 if ((nv_handle != NULL) && (dlclose(nv_handle) == 0)) {
302 nv_handle = NULL;
305 _sysevent_post_event = NULL;
306 _nvlist_alloc = NULL;
307 _nvlist_free = NULL;
308 _nvlist_add_uint32 = NULL;
309 _nvlist_add_uint64 = NULL;
310 _nvlist_add_string = NULL;
372 if (devname != NULL) {