Searched defs:NULL (Results 76 - 100 of 191) sorted by relevance

12345678

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddnode_sync.c57 ASSERT(db != NULL);
64 (void) dbuf_read(db, NULL, DB_RF_MUST_SUCCEED|DB_RF_HAVESTRUCT);
77 if (child == NULL)
91 ASSERT(child->db_parent == NULL ||
99 child->db_blkptr = NULL;
173 ASSERT(db->db_blkptr != NULL);
194 ASSERT(dr == NULL || dr->dr_txg == txg);
214 if (buf != NULL && child->db_state != DB_FILL &&
215 child->db_last_dirty == NULL) {
249 (void) dbuf_read(db, NULL, DB_RF_MUST_SUCCEE
719 ASSERT3P(list_head(list), ==, NULL); local
[all...]
H A Dvdev_queue.c247 mutex_init(&vq->vq_lock, NULL, MUTEX_DEFAULT, NULL);
302 if (spa->spa_iokstat != NULL)
319 if (spa->spa_iokstat != NULL)
335 if (spa->spa_iokstat != NULL)
352 if (spa->spa_iokstat != NULL) {
372 zio_link_t *zl = NULL;
373 while ((pio = zio_walk_parents(aio, &zl)) != NULL) {
517 return (NULL);
537 mandatory = (first->io_flags & ZIO_FLAG_OPTIONAL) ? NULL
672 VERIFY3P(avl_find(tree, &search, &idx), ==, NULL); local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dsys_bsd.c182 (void) ioctl(fileno(stdout), TIOCFLUSH, NULL); local
782 (poll == 0) ? NULL : &TimeValue)) < 0) {
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7clogd.c121 static log_buf_t *log = NULL;
122 static log_buf_t **logv = NULL;
154 if (_p == NULL) { \
184 log = NULL;
241 (void) VOP_RWLOCK(vp, V_WRITELOCK_TRUE, NULL);
251 ret = VOP_WRITE(vp, &uio, 0, kcred, NULL);
252 VOP_RWUNLOCK(vp, V_WRITELOCK_TRUE, NULL);
281 1, (offset_t)0, kcred, NULL);
282 nca_fio_vp(&fio) = NULL;
322 DIRECTIO_ON, 0, kcred, NULL, NUL local
328 (void) VOP_REMOVE(nca_fio_dvp(&fio), symlink, kcred, NULL, 0); local
541 DIRECTIO_ON, 0, kcred, NULL, NULL); local
[all...]
H A Dsockcommon.c71 struct sockparams *sp = NULL;
80 if (sp == NULL) {
86 if (devpath != NULL) {
90 } else if (mod != NULL) {
98 if (sp == NULL) {
102 return (NULL);
106 ASSERT(sp->sp_smod_info != NULL);
111 if (so == NULL) {
114 if ((*errorp = SOP_INIT(so, NULL, cr, flags)) == 0) {
116 (void) VOP_OPEN(&SOTOV(so), FREAD|FWRITE, cr, NULL); local
157 (void) VOP_OPEN(&SOTOV(so), FREAD|FWRITE, cr, NULL); local
[all...]
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c126 if (vp == NULL)
127 return (NULL);
146 rc = VOP_GETATTR(vp, &va, 0, cr, NULL); /* XXX may block! */
149 if ((sp = sfind(dev, type, vp)) == NULL) {
157 sp->s_commonvp = NULL;
159 sp->s_dip = NULL;
160 sp->s_nextr = NULL;
161 sp->s_list = NULL;
162 sp->s_plcy = NULL;
214 * table hashed by <dev, NULL>
866 (size_t)0, B_INVAL|B_FORCE, cr, NULL); local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dpid.c62 NULL, /* pid_pglink */
63 NULL, /* pid_pgtail */
64 NULL, /* pid_link */
169 if ((flags & PID_ALLOC_PROC) && (pep = procentfree) == NULL) {
179 VERIFY3P(pid_lookup(pid), ==, NULL); local
193 if (pid_lookup(newpid) == NULL)
242 ASSERT(*pidpp != NULL);
278 * Exit process group. If it is NULL, it's because fork failed
281 ASSERT(prp->p_pgidp != NULL || prp->p_stat == SIDL);
282 if (prp->p_pgidp != NULL)
[all...]
H A Dlogsubr.c121 /* lp will be NULL if the queue was created via log_makeq */
122 while ((mp = getq_noenab(q, 0)) != NULL)
123 log_sendmsg(mp, lp == NULL ? GLOBAL_ZONEID : lp->log_zoneid);
142 mutex_init(QLOCK(q), NULL, MUTEX_DRIVER, ibc); local
177 if (lzp == NULL)
193 log_backlogq = log_consq = log_makeq(0, LOG_HIWAT, NULL);
212 log_recentq = log_makeq(0, LOG_RECENTSIZE, NULL);
229 zone_key_create(&log_zone_key, log_zoneinit, NULL, log_zonefree);
240 NULL, NULL, NUL
[all...]
/illumos-gate/usr/src/lib/libadm/common/
H A Dgetdev.c63 * NULL Nil address
68 #ifndef NULL
69 #define NULL 0 macro
228 return (NULL);
233 return (NULL);
234 } else searchlist = NULL;
317 NULL : *devices;
320 devtabentry : NULL;
343 (devicelist.head)->next = NULL;
504 rtnbuf = NULL; /* Nothin
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnex.c118 NULL, /* NO OP */
119 NULL, /* NO OP */
120 NULL, /* NO OP */
124 NULL,
125 NULL,
126 NULL,
127 NULL,
128 NULL,
129 NULL,
132 NULL, /* (*bus_get_eventcooki
506 (ddi_intr_handler_t *)vnex_intr_wrapper, (caddr_t)vid_p, NULL); local
[all...]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_intr.c606 (i_ddi_get_msix(rdip) == NULL)) {
637 i_ddi_set_msix(rdip, NULL);
802 if (msi_state_p->msi_pool_p == NULL) {
803 *(ddi_irm_pool_t **)result = NULL;
912 ASSERT(ih_p->ih_ksp == NULL);
925 if (ih_p->ih_ksp != NULL) {
967 ipil_list = ino_p ? ino_p->ino_ipil_p : NULL;
993 if (ipil_list != NULL) {
1028 (ddi_intr_handler_t *)px_intx_intr, (caddr_t)ipil_p, NULL); local
1046 if (ipil_list == NULL) {
1230 (ddi_intr_handler_t *)px_msiq_intr, (caddr_t)ipil_p, NULL); local
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSSL.c150 /* secret is NULL for IV's in exportable ciphersuites */
151 if (secret == NULL) {
154 S1 = NULL;
155 S2 = NULL;
381 if (param->pOutput == NULL || param->pulOutputLen == 0)
386 param->pSeed, param->ulSeedLen, NULL, 0, param->pOutput, local
451 if (mkd_params == NULL ||
523 if (new_tmpl == NULL)
630 uchar_t key_block[MAX_KEYBLOCK], *kb, *export_keys = NULL;
648 if (km_params == NULL ||
[all...]
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibevchannel.c81 return (subp != NULL && subp->ev_subhead == hdl ? B_TRUE : B_FALSE);
123 if (scpp == NULL || misaligned(scpp)) {
128 *scpp = NULL;
130 if (channel == NULL ||
145 if (scp == NULL) {
191 (void) mutex_init(EV_LOCK(scp), USYNC_THREAD, NULL); local
208 if (scp == NULL || misaligned(scp))
220 uargs.sid.name = NULL;
233 while ((subp = EV_SUB_NEXT(scp)) != NULL) {
274 if (scp == NULL || misaligne
[all...]
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dmks.h186 /* if M_NULL defined in <mkslocal.h> then want to redefine NULL */
187 #undef NULL macro
188 #define NULL (M_NULL) macro
426 * Regular EOF (same as NULL from fgets).
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dctl_clnt.c60 #define donefunc_p(ctx) ((ctx).donefunc != NULL)
129 return (NULL);
157 if (logger == NULL)
160 if (ctx == NULL) {
170 ctx->coID.opaque = NULL;
171 ctx->tiID.opaque = NULL;
172 ctx->rdID.opaque = NULL;
173 ctx->wrID.opaque = NULL;
187 if (cap != NULL) {
206 if (ctx != NULL) {
380 (*this->donefunc)(ctx, this->uap, NULL, 0); local
[all...]
/illumos-gate/usr/src/cmd/vi/port/
H A Dexrecover.c34 #undef NULL macro
107 if (pp == NULL) {
193 setbuf(stdin, (char *)NULL);
316 if ((dir = opendir((char *)dirname)) == NULL)
331 while ((direntry = readdir64(dir)) != NULL)
525 if ((dir = opendir((char *)dirname)) == NULL)
527 while ((direntry = readdir64(dir)) != NULL)
845 setbuf(stdin, (char*)NULL);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyp_b_subr.c54 #ifndef NULL
55 #define NULL 0 macro
180 for (pdom = known_domains; pdom != (struct domain *)NULL;
219 ypbindproc_setdom_3(&req, (struct svc_req *)NULL,
220 (SVCXPRT *)NULL);
222 gettimeofday(&(pdom->lastping), NULL);
265 (struct domain *)NULL) {
270 (void) gettimeofday(&tp, NULL);
426 if (resp_3 == NULL)
427 return (NULL);
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/mdbmod/common/
H A Drtld.c78 { NULL, 0, 0}
103 { NULL, 0, 0}
125 { NULL, 0, 0}
139 { NULL, 0, 0}
146 { NULL, 0, 0}
157 { NULL, 0, 0}
167 { NULL, 0, 0}
174 { NULL, 0, 0}
350 &flg, NULL) != argc)
367 if (DEPENDS(&rtmap) == NULL)
505 MSG_ORIG(MSG_RTMAP_STR), addr, DCMD_ADDRSPEC, NULL, NULL); local
[all...]
/illumos-gate/usr/src/cmd/lms/
H A DLMEConnection.h140 AuthMethodData *methodData = NULL) :
180 UINT32 dataLength = 0, UINT8 *data = NULL) :
186 if ((data != NULL) && (dataLength != 0)) {
190 Data = NULL;
197 if (Data != NULL) {
199 Data = NULL;
274 UINT8 *data = NULL) :
279 if ((data != NULL) && (dataLength != 0)) {
283 Data = NULL;
289 if (Data != NULL) {
137 LMEUserAuthRequestMessage(std::string username = �, std::string serviceName = �, std::string methodName = �, AuthMethodData *methodData = NULL) argument
179 LMEUdpSendToMessage(std::string address = �, UINT32 port = 0, UINT32 dataLength = 0, UINT8 *data = NULL) argument
272 LMEChannelDataMessage(UINT32 recipientChannel = 0, UINT32 dataLength = 0, UINT8 *data = NULL) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_trans.c81 if ((ufsvfsp->vfs_vfs == NULL) ||
101 if (ufsvfsp == NULL)
111 lockfs.lf_comment = NULL;
236 if (bp == NULL)
511 * Lock the quota subsystem (ufsvfsp can be NULL
549 dqp->dq_mof, (int)sizeof (struct dqblk), NULL, 0); local
/illumos-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_vnops.c283 vap, flags, cr, NULL);
301 &vattr, flags, cr, NULL) == 0) {
350 struct vattr *free_vattr = NULL;
351 struct vattr *vattrp = NULL;
455 vattrp = NULL;
466 vattrp = NULL;
525 dv->dv_attrvp = NULL;
539 if (dv->dv_attrvp == NULL) {
542 NULL, NULLVP, cr,
552 flags, cr, NULL);
670 NULL, NULLVP, cr, DV_SHADOW_CREATE | DV_SHADOW_WRITE_HELD); local
[all...]
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_io.c84 if (d == NULL) {
93 if (*d == NULL)
110 ASSERT(tad != NULL);
111 ASSERT(d != NULL);
112 ASSERT(kctx != NULL);
114 if ((dchain = (token_t *)*d) == (token_t *)NULL)
117 *d = NULL;
143 ASSERT(tad != NULL);
153 if (attr == NULL) {
158 attr->audi_next = NULL;
873 attr->audi_e_type, attr->audi_e_mod, NULL); local
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kp.c197 ASSERT(seg != NULL && seg->s_as == &kas);
213 kpsd->kpsd_arena = vmem_create("segkp", NULL, 0, PAGESIZE,
216 segkp_bitmap = NULL;
219 seg->s_size, PAGESIZE, NULL, NULL, NULL, 5 * PAGESIZE,
280 segkp_cache[i].kpf_list = NULL;
284 while (kpd != NULL) {
304 struct segkp_data *kpd = NULL;
306 if (segkp_get_internal(seg, len, flags, &kpd, NULL) !
1252 B_ASYNC | B_FREE, kcred, NULL); local
[all...]
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/xpv/
H A Dxpv_support.c95 NULL,
98 NULL,
99 NULL
112 NULL, /* struct bus_ops */
113 NULL, /* power */
127 NULL /* null termination */
167 return (NULL);
174 return (NULL);
317 for (; dip != NULL; dip = ddi_get_next_sibling(dip)) {
320 if (ddi_get_driver(dip) == NULL)
454 ddi_walk_devs(ddi_root_node(), check_xpvd, NULL); local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsddi.c109 ldi_handle_t rds_transport_handle = NULL;
110 rds_transport_ops_t *rds_transport_ops = NULL;
139 ddi_remove_minor_node(devi, NULL);
152 if (rds_dev_info != NULL) {
159 *result = NULL;
187 if (rds_transport_handle == NULL) {
205 if (q->q_ptr != NULL) {
211 if (rds == NULL) {
229 (void) proto_set_rx_hiwat(q, NULL, rds_recv_hiwat);
230 (void) proto_set_rx_lowat(q, NULL, rds_recv_lowa
602 (void) proto_set_rx_hiwat(RD(q), NULL, local
[all...]

Completed in 3264 milliseconds

12345678