Lines Matching refs:NULL
228 if (cl_mtxp == NULL)
310 if ((rap = ubc->cl_rahead) == NULL) {
319 if (ubc->cl_rahead == NULL)
331 return ((struct cl_readahead *)NULL);
356 if ((wbp = ubc->cl_wbehind) == NULL) {
359 return ((struct cl_writebehind *)NULL);
368 if (ubc->cl_wbehind == NULL)
389 if ((wbp = cluster_get_wbp(vp, 0)) != NULL) {
422 if (vp->v_mount != NULL)
545 if (cbp_next == NULL)
565 if (cliodone_func != NULL) {
646 if (bp == NULL || bp->b_datap == 0) {
744 *cbp_head = (buf_t)NULL;
759 buf_t cbp_head = NULL;
760 buf_t cbp_tail = NULL;
919 if ((error = VNOP_BLOCKMAP(vp, f_offset, io_size, &blkno, (size_t *)&io_size, NULL, bmap_flags, NULL)))
1025 cbp_head = NULL;
1031 last_cbp->b_trans_next = NULL;
1049 if (vnode_pageout(vp, upl, trunc_page(upl_offset), trunc_page_64(f_offset), PAGE_SIZE, pageout_flags, NULL) != PAGER_SUCCESS) {
1292 cbp->b_trans_next = (buf_t)NULL;
1319 real_bp = (buf_t)NULL;
1386 cbp_head = NULL;
1459 panic("%s(): cbp_head is not NULL.\n", __FUNCTION__);
1582 return cluster_pageout_ext(vp, upl, upl_offset, f_offset, size, filesize, flags, NULL, NULL);
1662 local_flags, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg));
1670 return cluster_pagein_ext(vp, upl, upl_offset, f_offset, size, filesize, flags, NULL, NULL);
1684 if (upl == NULL || size < 0)
1685 panic("cluster_pagein: NULL upl passed in");
1724 local_flags | CL_READ | CL_PAGEIN, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
1733 return cluster_bp_ext(bp, NULL, NULL);
1755 return (cluster_io(bp->b_vp, bp->b_upl, 0, f_offset, bp->b_bcount, flags, bp, (struct clios *)NULL, callback, callback_arg));
1763 return cluster_write_ext(vp, uio, oldEOF, newEOF, headOff, tailOff, xflags, NULL, NULL);
1789 if (uio == NULL) {
1794 retval = cluster_write_copy(vp, NULL, (u_int32_t)0, oldEOF, newEOF, headOff, tailOff, flags, callback, callback_arg);
2008 NULL,
2083 ubc_range_op(vp, uio->uio_offset, uio->uio_offset + io_size, UPL_ROP_DUMP, NULL);
2099 msleep((caddr_t)&iostate.io_wanted, cl_mtxp, PRIBIO + 1, "cluster_write_direct", NULL);
2124 io_size, io_flag, (buf_t)NULL, &iostate, callback, callback_arg);
2165 msleep((caddr_t)&iostate.io_wanted, cl_mtxp, PRIBIO + 1, "cluster_write_direct", NULL);
2249 &upl_size, &upl[cur_upl], NULL, &pages_in_pl, &upl_flags, 0);
2331 msleep((caddr_t)&iostate.io_wanted, cl_mtxp, PRIBIO + 1, "cluster_write_contig", NULL);
2351 xsize, CL_DEV_MEMORY | CL_ASYNC | bflag, (buf_t)NULL, (struct clios *)&iostate, callback, callback_arg);
2388 msleep((caddr_t)&iostate.io_wanted, cl_mtxp, PRIBIO + 1, "cluster_write_contig", NULL);
2609 CL_READ | bflag, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
2645 CL_READ | bflag, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
2675 cluster_zero(upl, io_offset, bytes_to_zero, NULL);
2683 cluster_zero(upl, io_offset, bytes_to_zero, NULL);
2687 cluster_zero(upl, io_offset, bytes_to_zero, NULL);
2723 cluster_zero(upl, io_offset, bytes_to_zero, NULL);
2731 cluster_zero(upl, io_offset, bytes_to_zero, NULL);
2734 cluster_zero(upl, io_offset, bytes_to_zero, NULL);
2756 cluster_zero(upl, io_size, upl_size - io_size, NULL);
3041 return cluster_read_ext(vp, uio, filesize, xflags, NULL, NULL);
3184 rap = NULL;
3192 if ((rap = cluster_get_rap(vp)) == NULL)
3200 if (rap != NULL && rap->cl_ralen && (rap->cl_lastr == extent.b_addr || (rap->cl_lastr + 1) == extent.b_addr)) {
3306 if (rap != NULL) {
3390 io_size, CL_READ | CL_ASYNC | bflag, (buf_t)NULL, &iostate, callback, callback_arg);
3463 if (rap != NULL) {
3476 msleep((caddr_t)&iostate.io_wanted, cl_mtxp, PRIBIO + 1, "cluster_read_copy", NULL);
3557 if (rap != NULL)
3567 if (rap != NULL) {
3805 &upl_size, &upl, NULL, &pages_in_pl, &upl_flags);
3866 msleep((caddr_t)&iostate.io_wanted, cl_mtxp, PRIBIO + 1, "cluster_read_direct", NULL);
3893 retval = cluster_io(vp, upl, upl_offset, uio->uio_offset, io_size, io_flag, (buf_t)NULL, &iostate, callback, callback_arg);
3933 msleep((caddr_t)&iostate.io_wanted, cl_mtxp, PRIBIO + 1, "cluster_read_direct", NULL);
4030 &upl_size, &upl[cur_upl], NULL, &pages_in_pl, &upl_flags, 0);
4112 msleep((caddr_t)&iostate.io_wanted, cl_mtxp, PRIBIO + 1, "cluster_read_contig", NULL);
4130 (buf_t)NULL, &iostate, callback, callback_arg);
4166 msleep((caddr_t)&iostate.io_wanted, cl_mtxp, PRIBIO + 1, "cluster_read_contig", NULL);
4225 &upl_size, &upl, NULL, NULL, &upl_flags, 0)) != KERN_SUCCESS) {
4262 return advisory_read_ext(vp, filesize, f_offset, resid, NULL, NULL, CL_PASSIVE);
4417 CL_ASYNC | CL_READ | CL_COMMIT | CL_AGE | bflag, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
4443 return cluster_push_ext(vp, flags, NULL, NULL);
4461 if ((wbp = cluster_get_wbp(vp, CLW_RETURNLOCKED)) == NULL) {
4465 if (wbp->cl_number == 0 && wbp->cl_scmap == NULL) {
4511 if (wbp != NULL) {
4519 ubc->cl_rahead = NULL;
4520 ubc->cl_wbehind = NULL;
4852 io_flags, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
4875 if (wbp->cl_scmap == NULL)
4884 if (ubc_page_op(vp, (off_t)(cl.b_addr * PAGE_SIZE_64), 0, NULL, &flags) == KERN_SUCCESS) {
5016 CL_READ | bflag, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
5044 bflag, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
5227 if (ubc_page_op(vp, f_offset, 0, NULL, &flags) == KERN_SUCCESS) {
5442 ocmap = NULL;
5443 if (cmapp != NULL)
5449 if (ocmap == NULL) {
5507 if (ocmap != NULL) {
5536 if (ocmap != NULL) {
5681 if (setcountp != NULL)
5685 if (cmap == NULL) {
5713 if (setcountp != NULL)
5751 if (setcountp != NULL)
5766 * this must either be NULL or a value set by this function.
5794 return(vfs_drt_do_mark_pages(cmapp, offset, length, NULL, 0));
5805 * be NULL or a value set by drt_mark_pages.
5828 if ((cmapp == NULL) || (*cmapp == NULL))
5860 vfs_drt_do_mark_pages(cmapp, offset, length, NULL, 0);
5882 *cmapp = NULL;
5894 if ((cmapp == NULL) || (*cmapp == NULL))
5908 *cmapp = NULL;