Lines Matching refs:NULL
129 if (jnl == NULL) {\
132 if (jnl->jdev == NULL) { \
135 if (jnl->fsdev == NULL) { \
162 if (tr == NULL) {\
165 if (tr->jnl == NULL) {\
380 ret = VNOP_IOCTL(jnl->jdev, DKIOCSYNCHRONIZECACHE, NULL, FWRITE, &context);
420 VNOP_IOCTL(jnl->jdev, DKIOCSYNCHRONIZECACHE, NULL, FWRITE, &context);
443 jnl->tr_freeme = NULL;
466 transaction *ctr, *prev=NULL, *next;
479 if (tr == NULL) {
569 ctr = NULL;
573 ctr = NULL;
589 ctr = NULL;
603 prev = NULL;
608 if (ctr == NULL && prev == NULL) {
610 tr->next = NULL;
677 struct buf *oblock_bp=NULL;
686 oblock_bp = NULL;
691 if (oblock_bp == NULL) {
733 if ((MALLOC(newBuf, struct bucket *, new_size*sizeof(struct bucket), M_TEMP, M_WAITOK)) == NULL) {
1009 char *buff, *block_ptr=NULL;
1036 if ((MALLOC(co_buf, struct bucket *, num_buckets*sizeof(struct bucket), M_TEMP, M_WAITOK)) == NULL) {
1168 block_ptr = NULL;
1245 block_ptr = NULL;
1342 block_ptr = NULL;
1347 co_buf = NULL;
1492 if (jdev_name == NULL) {
1526 return NULL;
1532 return NULL;
1538 return NULL;
1596 jnl->jhdr = NULL;
1598 return NULL;
1625 return NULL;
1631 return NULL;
1637 return NULL;
1813 return NULL;
1955 jnl->cur_tr = NULL;
1956 end_transaction(tr, 1, NULL, NULL); // force it to get flushed
1989 jnl->active_tr = NULL;
1992 jnl->cur_tr = NULL;
2175 jnl->active_tr = NULL;
2212 if (jnl->active_tr == NULL) {
2213 panic("jnl: start_tr: active_tr is NULL (jnl @ %p, owner %p, current_thread %p\n",
2222 if (jnl->owner != NULL || jnl->nested_count != 0 || jnl->active_tr != NULL) {
2246 jnl->cur_tr = NULL;
2261 jnl->owner = NULL;
2348 if (tr == NULL) {
2392 if (blhdr == NULL) {
2407 block_list_header *blhdr, *prev=NULL;
2453 if (blhdr == NULL
2458 } else if (blhdr == NULL) {
2461 if (prev == NULL) {
2462 panic("jnl: modify block end: no way man, prev == NULL?!?, jnl %p, bp %p\n", jnl, bp);
2510 if (func == NULL) {
2528 void *old_func=NULL, *old_arg=NULL;
2531 if (old_func != NULL) {
2601 blhdr->binfo[i].b.bp = NULL;
2627 if (bi_a->b.bp == NULL) {
2630 if (bi_b->b.bp == NULL) {
2666 * callback See description above. Pass NULL for no callback.
2681 block_list_header *blhdr=NULL, *next=NULL;
2780 buf_setfilter(bp, NULL, NULL, (void **)&func, &arg);
2806 } else { // bp == NULL, only true if a block was "killed"
2808 panic("jnl: inconsistent binfo (NULL bp w/bnum %lld; jnl @ %p, tr %p)\n",
2822 if (vp == NULL && lblkno == blkno) {
2840 if (VNOP_BLOCKMAP(vp, f_offset, buf_count(bp), &blkno, &contig_bytes, NULL, 0, NULL)) {
2917 if (callback != NULL && callback(callback_arg) != 0) {
2926 tr->tbuffer = NULL;
2927 tr->blhdr = NULL;
2942 if (blhdr->binfo[i].b.bp == NULL) {
2969 buf_setfilter(bp, buffer_flushed_callback, tr, &cur_filter, NULL);
3026 if (blhdr->binfo[i].b.bp == NULL) {
3029 if ( (buf_vnode(blhdr->binfo[i].b.bp) == NULL) ||
3069 tr->tbuffer = NULL;
3070 tr->blhdr = NULL;
3084 if ((jnl->flags & JOURNAL_INVALID) && jnl->owner == NULL) {
3104 if (jnl->cur_tr != NULL) {
3110 jnl->active_tr = NULL;
3114 jnl->owner = NULL;
3128 jnl->active_tr = NULL;
3129 ret = end_transaction(tr, 0, NULL, NULL);
3131 jnl->owner = NULL;
3160 if (jnl->active_tr == NULL && jnl->cur_tr) {
3163 jnl->cur_tr = NULL;
3164 end_transaction(tr, 1, NULL, NULL); // force it to get flushed
3184 return (jnl->active_tr == NULL) ? 0 : 1;
3245 * Pass NULL for no callback.
3298 jnl->active_tr = NULL;
3316 jnl->active_tr = NULL;