Searched defs:NULL (Results 151 - 175 of 191) sorted by relevance

12345678

/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c98 * First the library calls this with a NULL devpath. If this fails
119 if (devpath != NULL) {
129 so = socket_create(family, type, protocol, buf, NULL,
133 so = socket_create(family, type, protocol, NULL, NULL,
136 if (so == NULL)
179 if ((fp = getf(sock)) == NULL) {
182 return (NULL);
190 return (NULL);
205 return (NULL);
3087 (void) VOP_OPEN(&SOTOV(so), FREAD|FWRITE, CRED(), NULL); local
[all...]
/illumos-gate/usr/src/uts/common/fs/doorfs/
H A Ddoor_sys.c141 NULL
153 NULL, NULL
160 mutex_init(&door_knob, NULL, MUTEX_DEFAULT, NULL);
171 VFS_INIT(&door_vfs, door_vfsops, NULL);
219 if (drdp != NULL) {
226 return (door_return((caddr_t)arg1, arg2, NULL,
278 if (drdp != NULL) {
289 arg2, NULL,
2166 (void) door_upcall(DTOV(dp), &unref_args, NULL, SIZE_MAX, 0); local
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_dev.c110 static struct devmap_ctx *devmapctx_list = NULL;
111 static struct devmap_softlock *devmap_slist = NULL;
203 (size_t (*)(struct seg *))NULL, /* swapout */
308 ASSERT(dip != NULL);
311 for (devctx = devmapctx_list; devctx != NULL; devctx = devctx->next)
315 if (devctx == NULL) {
319 mutex_init(&devctx->lock, NULL, MUTEX_DEFAULT, NULL);
320 cv_init(&devctx->cv, NULL, CV_DEFAULT, NULL);
718 sdp->prot, sdp->maxprot, sdp->type, CRED(), NULL); local
917 &dhp->dh_pvtp, NULL, NULL); local
937 dhp->dh_uoff, mlen, NULL, local
938 NULL, dhp, &dhp->dh_pvtp); local
1069 dhp->dh_uoff, len, NULL, NULL, dhp, &dhp->dh_pvtp); local
1109 &dhph->dh_pvtp, NULL, NULL); local
[all...]
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibsysevent.c86 if (attr_list != NULL) {
89 return (NULL);
112 if (ev == NULL) {
113 return (NULL);
131 if (attr_list == NULL) {
142 return (NULL);
159 if (ev == NULL) {
188 nvlist_t *nvl, *cnvl = NULL;
198 if (copy == NULL)
199 return (NULL);
1804 (void) mutex_init(SH_LOCK(shp), USYNC_THREAD, NULL); local
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c91 NULL, /* bus_ops */
92 NULL /* power */
108 NULL
113 static fct_i_local_port_t *fct_iport_list = NULL;
126 mutex_init(&fct_global_mutex, NULL, MUTEX_DRIVER, NULL);
246 *ibuf = NULL;
247 *abuf = NULL;
248 *obuf = NULL;
279 *obuf = NULL;
2889 s, NULL); local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dcmlb.c249 {NULL}
273 struct cmlb_lun *cmlb_debug_cl = NULL;
284 MODREV_1, (void *)&modlmisc, NULL
379 mutex_init(&cmlb_log_mutex, NULL, MUTEX_DRIVER, NULL);
413 ASSERT(cl != NULL);
415 ASSERT(dev != NULL);
419 * cmlb_debug_cl is set to NULL.
431 ((cmlb_debug_cl == NULL) || (cmlb_debug_cl == cl))) {
538 ASSERT(cmlbhandlep != NULL);
542 mutex_init(CMLB_MUTEX(cl), NULL, MUTEX_DRIVER, NULL); local
766 ddi_remove_minor_node(CMLB_DEVINFO(cl), NULL); local
767 i_ddi_prop_dyn_driver_set(CMLB_DEVINFO(cl), NULL); local
1502 ddi_remove_minor_node(CMLB_DEVINFO(cl), NULL); local
1516 ddi_remove_minor_node(CMLB_DEVINFO(cl), NULL); local
1524 ddi_remove_minor_node(CMLB_DEVINFO(cl), NULL); local
1571 cl->cl_node_type, NULL, internal); local
1574 cl->cl_node_type, NULL, internal); local
1581 cl->cl_node_type, NULL, internal); local
1584 cl->cl_node_type, NULL, internal); local
2129 ddi_remove_minor_node(CMLB_DEVINFO(cl), NULL); local
2143 ddi_remove_minor_node(CMLB_DEVINFO(cl), NULL); local
[all...]
H A Dgld.c79 if ((vstats) != NULL) \
98 if ((vstats) != NULL) { \
217 (macinfo)->gldm_send_tagged != NULL)
283 NULL,
297 NULL,
311 NULL,
401 MODREV_1, &modlmisc, NULL
410 mutex_init(&gld_device_list.gld_devlock, NULL, MUTEX_DRIVER, NULL);
521 ASSERT(devinfo != NULL);
1636 (void) gld_unbind(WR(q), NULL); local
1646 (void) gldunattach(WR(q), NULL); local
[all...]
/illumos-gate/usr/src/common/ficl/
H A Dficl.h598 #if !defined NULL
599 #define NULL ((void *)0) macro
1108 * interpreter's output function. If the input string is NULL
1350 * makes use of this fact. Smudge is initially NULL.
1550 * oldXT - if NULL, this breakpoint is unused. Otherwise it stores the xt
1556 * Note: address is NULL when this breakpoint is empty
1646 * address of the VM, or NULL if an error occurs.
1663 * dictionary with the given name, or NULL if no match.
/illumos-gate/usr/src/uts/common/c2/
H A Daudit.c108 if (tad->tad_flag != 0 && flag == ENOENT && pvp != NULL &&
114 if (VOP_GETATTR(pvp, &attr, 0, CRED(), NULL) == 0) {
185 if (tad->tad_aupath != NULL) {
187 tad->tad_aupath = NULL;
209 ASSERT(tad != NULL);
211 ASSERT(pad != NULL);
218 if (tad->tad_aupath != NULL) {
221 ASSERT(tad->tad_atpath != NULL);
311 if (tad->tad_aupath != NULL) {
313 tad->tad_aupath = NULL;
828 AUE_CLOSE, evmod, NULL); local
2002 NULL); local
2075 NULL); local
2208 NULL); local
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_client.c146 if ((rp->r_serial != NULL && rp->r_serial != curthread) ||
150 while ((rp->r_serial != NULL && rp->r_serial != curthread) ||
229 ASSERT(tsd_get(nfs4_tsd_key) == NULL);
272 rp->r_symlink.contents = NULL;
275 rp->r_xattr_dir = NULL;
286 if (contents != NULL) {
291 if (xattr != NULL)
325 (void) zthread_create(NULL, 0,
349 error = VOP_PUTPAGE(vp, (u_offset_t)0, 0, B_INVAL, cr, NULL);
369 ASSERT(rp->r_pgflush == NULL);
849 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_GETATTR, local
855 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_GETATTR, &recov_state, 0); local
1026 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_GETATTR, &recov_state, local
1039 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_GETATTR, &recov_state, local
1064 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_GETATTR, &recov_state, local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddbuf.c142 mutex_init(&db->db_mtx, NULL, MUTEX_DEFAULT, NULL);
143 cv_init(&db->db_changed, NULL, CV_DEFAULT, NULL);
202 for (db = h->hash_table[idx]; db != NULL; db = db->db_hash_next) {
213 return (NULL);
220 dmu_buf_impl_t *db = NULL;
224 if (dn->dn_bonus != NULL) {
238 * Otherwise returns NULL.
253 for (dbf = h->hash_table[idx]; dbf != NULL; db
467 ASSERT3P(tsd_get(zfs_dbuf_evict_key), ==, NULL); local
[all...]
H A Dzvol.c241 if (zv == NULL)
247 return (NULL);
265 if (bp == NULL || BP_IS_HOLE(bp) ||
492 if (zvol_minor_lookup(name) != NULL) {
549 mutex_init(&zv->zv_znode.z_range_lock, NULL, MUTEX_DEFAULT, NULL);
566 zv->zv_objset = NULL;
612 if ((zv = zvol_minor_lookup(name)) == NULL) {
653 NULL) == 0);
666 zv->zv_zilog = NULL;
1926 zfs_mvdev_dump_activate_feature_sync, NULL, local
[all...]
H A Dzio.c113 vmem_t *data_alloc_arena = NULL;
119 sizeof (zio_t), 0, NULL, NULL, NULL, NULL, NULL, 0);
121 sizeof (zio_link_t), 0, NULL, NULL, NULL, NULL, NUL
373 VERIFY3P(zio_walk_parents(cio, &zl), ==, NULL); local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c46 static void *fcsm_state = NULL;
49 static dev_info_t *fcsm_dip = NULL;
50 static fcsm_t *fcsm_port_head = NULL;
51 static kmem_cache_t *fcsm_job_cache = NULL;
86 NULL, /* streams info */
103 NULL, /* bus operations for nexus driver */
104 NULL /* power management */
117 NULL
205 FCSM_DEBUG(SMDL_TRACE, (CE_CONT, SM_LOG, NULL, NULL, "_ini
734 pinfo->port_flags, NULL, 0, s_id); local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c91 { NULL, 0, 0 }
345 { 0, 0, NULL },
353 static ni_t *ni_list = NULL;
397 default_ip_str = NULL;
511 ifconfig(argc, argv, af, NULL);
540 istatus = ipadm_addr_info(iph, NULL, &ainfo, IPADM_OPT_ZEROADDR,
549 for (ainfop = ainfo; ainfop != NULL; ainfop = IA_NEXT(ainfop)) {
600 ifconfig(argc, argv, af, NULL);
689 &g_netmask, NULL);
737 if (setaddr && ipaddr != NULL) {
1478 (*afp->af_getaddr)(addr, (struct sockaddr *)&lifr.lifr_addr, NULL); local
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspdsock.c147 (ss)->spdsock_dump_cur_rule = NULL; \
171 NULL, (pfi_t)spdsock_rsrv, spdsock_open, spdsock_close,
172 NULL, &info
176 (pfi_t)spdsock_wput, (pfi_t)spdsock_wsrv, NULL, NULL, NULL, &info
202 #define ITP_NAME(itp) (itp != NULL ? itp->itp_name : NULL)
241 if (ddi_strtoul(value, NULL, 10, &new_value) != 0)
272 NULL, NUL
3334 (void) proto_set_rx_hiwat(RD(q), NULL, *i1); local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dhubdi.c113 NULL, /* bus_get_intrspec */
114 NULL, /* bus_add_intrspec */
115 NULL, /* bus_remove_intrspec */
117 NULL, /* bus_dma_map */
130 NULL, /* bus_post_event */
131 NULL, /* bus_intr_ctl */
134 NULL, /* bus_fm_init */
135 NULL, /* bus_fm_fini */
136 NULL, /* bus_fm_access_enter */
137 NULL, /* bus_fm_access_exi
1931 mutex_init(HUBD_MUTEX(hubd), NULL, MUTEX_DRIVER, local
[all...]
/illumos-gate/usr/src/uts/sun4/os/
H A Dstartup.c127 char *cache_mode = NULL;
243 caddr_t mpo_heap32_buf = NULL;
573 if (func != NULL) {
639 if (!panicstr && (curthread->t_panic_trap == NULL)) {
642 ti.trap_addr = NULL;
777 caddr_t aligned_end = NULL;
833 ASSERT(aligned_end != NULL);
1059 if ((&ndata_alloc_mmfsa != NULL) && (ndata_alloc_mmfsa(&ndata) != 0))
1360 if (memspace == NULL)
1371 (caddr_t)sysbase + PAGESIZE, NULL, NUL
2672 roundup(base + num, kpmpnpgs) - 1, NULL) == NULL); local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c57 #ifndef NULL
58 #define NULL ((void *) 0) macro
717 if (strm->next_out != NULL) {
1549 ct_data *static_tree; /* static tree or NULL */
1550 intf *extra_bits; /* extra bits for each code or NULL */
2283 charf *buf; /* input block, or NULL if too old */
2361 /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE.
4344 if (p != NULL) {
4372 if (p != NULL) {
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/
H A Dlm_defs.h53 #ifndef NULL
54 #define NULL ((void *) 0) macro
/illumos-gate/usr/src/uts/common/os/
H A Dmodctl.c242 if (mod_getsysname(callnum) != NULL) {
245 rw_init(callp->sy_lock, NULL, RW_DEFAULT, NULL);
278 if (mod_getsysname(callnum) != NULL) {
281 rw_init(callp->sy_lock, NULL, RW_DEFAULT, NULL);
343 rw_init(execsw[exectype].exec_lock, NULL, RW_DEFAULT, NULL);
349 tsd_create(&mod_autounload_key, NULL);
370 if (modp == NULL)
2867 (void) devfs_clean(ddi_root_node(), NULL, 0); local
3814 (void) devfs_clean(ddi_root_node(), NULL, 0); local
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_subr.c417 ui->ui_owner = NULL;
498 io->io_owner = NULL;
659 if ((s = mddb_setenter(i, MDDB_MUSTEXIST, &err)) == NULL)
763 ASSERT(lock != NULL);
775 ASSERT(lock != NULL);
784 ASSERT(lock != NULL);
793 ASSERT(lock != NULL);
801 ASSERT(lock != NULL);
809 ASSERT(lock != NULL);
868 if (ui != (mdi_unit_t *)NULL) {
3366 sema_init(PROBE_SEMA(p), 0, NULL, SEMA_DRIVER, NULL); local
3367 mutex_init(PROBE_MX(p), NULL, MUTEX_DEFAULT, NULL); local
[all...]
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Ddrmach.c312 NULL
331 mutex_init(&drmach_i_lock, NULL, MUTEX_DRIVER, NULL);
429 return (NULL);
564 while ((rv = drmach_array_get(arr, *idx, val)) == 0 && *val == NULL)
576 while ((rv = drmach_array_get(arr, *idx, val)) == 0 && *val == NULL)
633 ASSERT(ap->dip == NULL);
645 dev_info_t *fdip = NULL;
648 return (drerr_new(0, ESTF_INAPPROP, NULL));
653 ca.err = NULL; /* wil
3747 (uint64_t)drmach_cpu_shutdown_self, NULL); local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c400 void *emlxs_soft_state = NULL;
453 NULL, /* devo_bus_ops */
486 NULL /* end of driver linkage */
1027 if ((void *)emlxs_modsym.fc_fca_attach == NULL) {
1038 if ((void *)emlxs_modsym.fc_fca_detach == NULL) {
1048 if ((void *)emlxs_modsym.fc_fca_init == NULL) {
1074 emlxs_modsym.fc_fca_attach = NULL;
1075 emlxs_modsym.fc_fca_detach = NULL;
1076 emlxs_modsym.fc_fca_init = NULL;
1104 mutex_init(&emlxs_device.lock, NULL, MUTEX_DRIVE
6193 mutex_init(&EMLXS_CMD_RING_LOCK(i), NULL, MUTEX_DRIVER, local
6199 mutex_init(&EMLXS_QUE_LOCK(i), NULL, MUTEX_DRIVER, local
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c205 if (pri->sys_nargs < 1 || (offset = pri->sys_args[0]) == NULL)
333 if (pri->sys_nargs < 1 || (offset = pri->sys_args[0]) == NULL)
383 if (offset != NULL &&
402 if (offset != NULL &&
420 if (offset != NULL &&
783 const char *s = NULL;
797 if (s == NULL)
866 if (sp->buf == NULL || sp->len <= 0)
902 if (sp->buf == NULL || sp->len <= 0)
1143 { 0, NULL }
5334 "new", NULL); local
[all...]

Completed in 273 milliseconds

12345678