Searched defs:NULL (Results 1 - 25 of 191) sorted by last modified time

12345678

/illumos-gate/usr/src/uts/intel/sys/acpi/
H A Dactypes.h360 #define ACPI_ALLOCATE(a) NULL
361 #define ACPI_ALLOCATE_ZEROED(a) NULL
436 /* Logical defines and NULL */
448 #ifndef NULL
449 #define NULL (void *) 0 macro
494 #define ACPI_ROOT_OBJECT ACPI_ADD_PTR (ACPI_HANDLE, NULL, ACPI_MAX_PTR)
546 #define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void, (void *) NULL,(ACPI_SIZE) i)
547 #define ACPI_TO_INTEGER(p) ACPI_PTR_DIFF (p, (void *) NULL)
548 #define ACPI_OFFSET(d, f) ACPI_PTR_DIFF (&(((d *) 0)->f), (void *) NULL)
929 * Note: Type == ACPI_TYPE_ANY (0) is used to indicate a NULL packag
[all...]
/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...]
H A Dnfs4_vnops.c444 NULL, NULL
477 if (open_owner->lock_owner.owner_val != NULL) {
489 if (lowner->owner_val != NULL) {
514 ASSERT(rp != NULL);
555 error = vattr_to_fattr4(vap, NULL, attr, 0, op, supp);
587 wargs->mblk = NULL;
620 vnode_t *dvp = NULL;
685 error = nfs4open_otw(dvp, fn, NULL, vpp, cr, 0, flag, 0,
729 * The vp (if it is not NULL) an
3247 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_WRITE, local
3269 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_WRITE, local
3313 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_WRITE, local
3324 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_WRITE, local
3339 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_WRITE, local
3354 nfs4_end_fop(VTOMI4(vp), vp, NULL, local
3391 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_WRITE, &recov_state, local
3898 nfs4_end_op(VTOMI4(vp), vp, NULL, &recov_state, needrecov); local
3938 nfs4_end_op(VTOMI4(vp), vp, NULL, &recov_state, local
3974 nfs4_end_op(VTOMI4(vp), vp, NULL, &recov_state, local
3988 nfs4_end_op(VTOMI4(vp), vp, NULL, &recov_state, local
4001 nfs4_end_op(VTOMI4(vp), vp, NULL, &recov_state, local
4020 nfs4_end_op(VTOMI4(vp), vp, NULL, &recov_state, local
4066 nfs4_end_op(VTOMI4(vp), vp, NULL, &recov_state, needrecov); local
4412 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_ACCESS, local
4573 nfs4_end_op(VTOMI4(vp), vp, NULL, &recov_state, local
4579 nfs4_end_op(VTOMI4(vp), vp, NULL, &recov_state, needrecov); local
4933 nfs4_end_op(VTOMI4(unldvp), unldvp, NULL, local
4938 nfs4_end_op(VTOMI4(unldvp), unldvp, NULL, &recov_state, FALSE); local
6429 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, needrecov); local
6440 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, needrecov); local
6467 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, local
6484 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, needrecov); local
6519 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, needrecov); local
7407 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, local
7420 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, needrecov); local
8785 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, local
8802 nfs4_end_op(VTOMI4(dvp), dvp, NULL, local
8838 nfs4_end_op(VTOMI4(dvp), dvp, NULL, &recov_state, needrecov); local
9379 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_READDIR, local
9424 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_READDIR, local
11797 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_COMMIT, &recov_state, local
11810 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_COMMIT, local
11818 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_COMMIT, local
11832 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_COMMIT, local
11865 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_COMMIT, local
11879 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_COMMIT, &recov_state, needrecov); local
13617 nfs4_end_fop(VTOMI4(vp), vp, NULL, op_hint, recov_statep, local
13739 nfs4_end_fop(VTOMI4(vp), vp, NULL, op_hint, recov_statep, local
13849 nfs4_end_fop(VTOMI4(vp), vp, NULL, op_hint, local
14306 nfs4_end_fop(VTOMI4(vp), vp, NULL, op_hint, local
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dvnode.c140 static list_t *vsd_list = NULL;
170 if ((vsp = vfsp->vfs_fstypevsp) != NULL) { \
187 if ((vsp = vfsp->vfs_fstypevsp) != NULL) { \
196 * If the vfsp is NULL, perhaps we should also map?
200 if (vfsp != NULL && (vfsp->vfs_flag & VFS_XID) == 0) \
373 NULL, 0, NULL, NULL
395 * structure. Otherwise, returns NULL.
400 xoptattr_t *xoap = NULL;
912 vp, TQ_SLEEP) != NULL); local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Darc.c91 * NULL for the mutex if the buffer was not in the table.
178 * +-----------+ | |-----------| |b_next +-->NULL
219 * | b_pdata +-+ |---------| |b_next +-->NULL
982 #define ARC_BUF_LAST(buf) ((buf)->b_next == NULL)
1162 for (hdr = buf_hash_table.ht_table[idx]; hdr != NULL;
1170 *lockp = NULL;
1171 return (NULL);
1178 * Otherwise returns NULL.
1179 * If lockp == NULL, the caller is assumed to already hold the hash lock.
1193 if (lockp != NULL) {
4646 callback_list != NULL); local
[all...]
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 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 Dspa.c135 { ZTI_ONE, ZTI_NULL, ZTI_ONE, ZTI_NULL }, /* NULL */
186 if (strval != NULL)
210 if (rvd != NULL) {
214 spa_prop_add_list(*nvp, ZPOOL_PROP_SIZE, NULL, size, src);
215 spa_prop_add_list(*nvp, ZPOOL_PROP_ALLOCATED, NULL, alloc, src);
216 spa_prop_add_list(*nvp, ZPOOL_PROP_FREE, NULL,
219 spa_prop_add_list(*nvp, ZPOOL_PROP_FRAGMENTATION, NULL,
221 spa_prop_add_list(*nvp, ZPOOL_PROP_EXPANDSZ, NULL,
223 spa_prop_add_list(*nvp, ZPOOL_PROP_READONLY, NULL,
227 spa_prop_add_list(*nvp, ZPOOL_PROP_CAPACITY, NULL, ca
2917 dsl_destroy_inconsistent, NULL, DS_FIND_CHILDREN); 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...]
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 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...]
H A Dspa_config.c78 void *buf = NULL;
91 (rootdir != NULL) ? "./" : "", spa_config_path);
122 nvpair = NULL;
123 while ((nvpair = nvlist_next_nvpair(nvlist, nvpair)) != NULL) {
129 if (spa_lookup(nvpair_name(nvpair)) != NULL)
131 (void) spa_add(nvpair_name(nvpair), child, NULL); local
138 if (buf != NULL)
155 * If the nvlist is empty (NULL), then remove the old cachefile.
157 if (nvl == NULL) {
178 0, RLIM64_INFINITY, kcred, NULL);
[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...]
H A Dfcp.c844 NULL, /* bus_ops */
845 NULL, /* power */
861 NULL
895 static fc_trace_logq_t *fcp_logq = NULL;
896 static struct fcp_black_list_entry *fcp_lun_blacklist = NULL;
963 static void *fcp_softstate = NULL; /* for soft state */
967 static dev_info_t *fcp_global_dip = NULL;
985 static struct fcp_port *fcp_port_head = NULL;
1143 mutex_init(&fcp_global_mutex, NULL, MUTEX_DRIVER, NULL);
13458 (void) mdi_prop_remove(PIP(cip), NULL); local
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c95 uint64_t *zopt_object = NULL;
249 if (shp == NULL)
447 if (bpop == NULL)
633 if (sm != NULL &&
653 if (sm != NULL &&
693 if (sm == NULL)
781 if (dump_opt['m'] > 1 && sm != NULL &&
972 zpool_dump_ddt(NULL, &ddt->ddt_histogram[type][class]);
1046 (void) spa_vdev_state_exit(spa, NULL, 0);
1076 nvlist_t **events = NULL;
3077 NULL, DS_FIND_SNAPSHOTS | DS_FIND_CHILDREN); local
[all...]
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c169 * message. An empty command (one with a NULL name) indicates an empty line in
175 { NULL },
182 { NULL },
184 { NULL },
191 { NULL },
196 { NULL },
199 { NULL },
201 { NULL },
203 { NULL },
348 if ((data = calloc(1, size)) == NULL)
1541 pl->pl_user_prop, buf, sourcetype, source, NULL); local
1552 pl->pl_user_prop, buf, sourcetype, source, NULL); local
[all...]
/illumos-gate/usr/src/boot/sys/sys/
H A D_null.h29 #ifndef NULL
32 #define NULL ((void *)0) macro
35 #define NULL nullptr macro
37 #define NULL __null macro
40 #define NULL (0L) macro
42 #define NULL 0 macro
/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/boot/sys/boot/efi/include/
H A Defidef.h42 #ifndef NULL
43 #define NULL ((VOID *) 0) macro
/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...]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Daligned_alloc.c40 VERIFY3P(aligned_alloc(sizeof (void *) - 1, 16), ==, NULL); local
43 VERIFY3P(aligned_alloc(sizeof (void *) + 1, 16), ==, NULL); local
47 VERIFY3P(aligned_alloc(23, 16), ==, NULL);
51 VERIFY3P(buf, !=, NULL);
64 if (malloc(16) == NULL)
69 if (aligned_alloc(sizeof (void *), 16) == NULL)
73 VERIFY3P(aligned_alloc(sizeof (void *), 16), ==, NULL); local
H A Dc11_tss.c42 VERIFY3P(tss_get(ct_key), ==, NULL); local
77 VERIFY3S(thrd_join(threads[i], NULL), ==, thrd_success);
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c154 * message. An empty command (one with a NULL name) indicates an empty line in
160 { NULL },
163 { NULL },
165 { NULL },
169 { NULL },
174 { NULL },
179 { NULL },
181 { NULL },
186 { NULL },
293 if (zpool_prop_values(prop) == NULL)
5158 NULL, NULL); local
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_vn.c268 rw_init(&svd->lock, NULL, RW_DEFAULT, NULL);
269 mutex_init(&svd->segfree_syncmtx, NULL, MUTEX_DEFAULT, NULL);
270 svd->svn_trnext = svd->svn_trprev = NULL;
363 * (unmap segment's address range and set svd->amp to NULL).
384 static svntr_bucket_t *svntr_hashtab = NULL;
418 segvn_cache_constructor, segvn_cache_destructor, NULL,
419 NULL, NULL,
5312 svd->cred, NULL); local
[all...]

Completed in 317 milliseconds

12345678