Searched refs:ISSET (Results 1 - 22 of 22) sorted by relevance

/xnu-2422.115.4/bsd/kern/
H A Dtty.c229 #define ISSET(t, f) ((t) & (f)) macro
353 if (!ISSET(tp->t_state, TS_ISOPEN)) {
355 if (ISSET(tp->t_cflag, CLOCAL)) {
509 if (ISSET(lflag, PENDIN))
514 if (ISSET(lflag, ICANON)) {
531 (!ISSET(lflag, ICANON) || tp->t_canq.c_cc != 0) &&
532 (ISSET(tp->t_cflag, CRTS_IFLOW) || ISSET(iflag, IXOFF)) &&
533 !ISSET(tp->t_state, TS_TBLOCK))
538 err = (ISSET(
[all...]
H A Dmach_process.c104 #define ISSET(t, f) ((t) & (f)) macro
132 if (ISSET(p->p_lflag, P_LTRACED)) {
176 if (ISSET(p->p_lflag, P_LTRACED)) {
245 if (ISSET(t->p_lflag, P_LNOATTACH)) {
259 if (!ISSET(t->p_lflag, P_LTRACED)) {
452 if (ISSET(traced_procp->p_lflag, P_LTRACED)) {
462 ISSET(traced_procp->p_flag, P_SUGID)) &&
473 if (ISSET(traced_procp->p_lflag, P_LNOATTACH)) {
H A Dtty_ptmx.c1035 if (ISSET(tp->t_lflag, PENDIN))
1038 if (!ISSET(tp->t_lflag, ICANON)) {
1064 if (ISSET(tp->t_state, TS_ZOMBIE)) {
1077 if (ISSET(tp->t_state, TS_ZOMBIE)) {
1083 ISSET(tp->t_state, TS_CONNECTED)) {
1314 if (cdevsw[major(dev)].d_open == ptmx_open && ISSET(tp->t_state, TS_IOCTL_NOT_OK))
1622 if (ISSET(tp->t_state, TS_ZOMBIE)) {
1628 ISSET(tp->t_state, TS_CONNECTED)) {
1632 if (ISSET(tp->t_state, TS_ZOMBIE)) {
H A Dubc_subr.c1728 while (ISSET(uip->ui_flags, UI_MAPBUSY)) {
1744 if ( !ISSET(uip->ui_flags, UI_ISMAPPED))
1753 if (ISSET(uip->ui_flags, UI_MAPWAITING)) {
1926 while (ISSET(uip->ui_flags, UI_MAPBUSY)) {
1933 if (ISSET(uip->ui_flags, UI_ISMAPPED)) {
1947 if (ISSET(uip->ui_flags, UI_MAPWAITING)) {
H A Dkern_sig.c1766 if (ISSET(sig_proc->p_flag, P_REBOOT) ||
1767 ISSET(sig_proc->p_lflag, P_LEXIT))
/xnu-2422.115.4/bsd/hfs/
H A Dhfs_chash.c165 if (ISSET(cp->c_hflag, H_ALLOC | H_TRANSIT | H_ATTACH)) {
266 if (!ISSET(cp->c_hflag, H_ALLOC | H_TRANSIT | H_ATTACH)) {
316 if (ISSET(cp->c_hflag, H_ALLOC | H_ATTACH | H_TRANSIT)) {
377 if (ISSET(cp->c_hflag, H_WAITING)) {
441 if (ISSET(cp->c_hflag, H_WAITING)) {
477 if (ISSET(cp->c_hflag, H_ATTACH)) {
505 if (ISSET(cp->c_hflag, H_WAITING)) {
545 if (cp && ISSET(cp->c_hflag, H_ALLOC | H_TRANSIT | H_ATTACH)) {
H A Dhfs_cnode.c242 (!ISSET(cp->c_flag, C_DELETED)) &&
243 (!ISSET(cp->c_flag, C_NOEXISTS)) &&
586 if ((!ISSET(cp->c_flag, C_NOEXISTS)) &&
878 if (!ISSET(cp->c_flag, C_NOEXISTS)) {
1148 if (ISSET(cp->c_hflag, H_ALLOC)) {
H A Dhfs_lookup.c297 !(ISSET(dcp->c_flag, C_DELETED | C_NOEXISTS))) {
H A Dhfs_vnops.c2784 !ISSET(cp->c_flag, C_DELETED | C_NOEXISTS)) {
5660 if (ISSET(cp->c_flag, C_FORCEUPDATE) == 0 &&
5661 (ISSET(cp->c_flag, C_DELETED) ||
/xnu-2422.115.4/bsd/nfs/
H A Dnfs_bio.c270 if (ISSET(fbp->nb_flags, NB_META) && fbp->nb_data)
286 if (ISSET(bp->nb_flags, NB_DELWRI)) {
289 } else if (ISSET(bp->nb_flags, NB_META)) {
326 if (!ISSET(bp->nb_flags, NB_INVAL)) {
357 if (ISSET(bp->nb_lflags, NBL_BUSY)) {
399 if (ISSET(bp->nb_flags, NB_PAGELIST))
403 if (!ISSET(bp->nb_flags, NB_READ)) {
441 if (!ISSET(bp->nb_flags, NB_PAGELIST))
468 if (ISSET(bp->nb_flags, NB_CACHE)) {
491 if (!ISSET(b
[all...]
H A Dnfs_node.c1131 while (ISSET(np->n_flag, NBUSY)) {
1149 wanted = ISSET(np->n_flag, NBUSYWANT);
1256 if (updatesize && ISSET(np->n_flag, NUPDATESIZE))
1262 if (updatesize && ISSET(np->n_flag, NUPDATESIZE))
1286 if (updatesize && mine && ISSET(np->n_flag, NUPDATESIZE))
1290 if (updatesize && !mine && ISSET(np->n_flag, NUPDATESIZE))
1313 if (error || !ISSET(np->n_flag, NUPDATESIZE)) {
H A Dnfs_vnops.c744 if (ISSET(np->n_flag, NUPDATESIZE))
979 if (ISSET(np->n_flag, NUPDATESIZE))
1364 if (ISSET(np->n_flag, NUPDATESIZE))
1382 if (!ISSET(np->n_flag, NGETATTRINPROG))
1399 } else if (!ISSET(np->n_flag, NGETATTRINPROG)) {
1456 wanted = ISSET(np->n_flag, NGETATTRWANT);
1882 if (ISSET(np->n_flag, NUPDATESIZE)) {
2323 if (!ISSET(bp->nb_flags, NB_CACHE)) {
2786 if ((lbn == eofbn) && ISSET(bp->nb_flags, NB_CACHE)) {
2885 if (!ISSET(b
[all...]
H A Dnfs4_vnops.c7542 if (ISSET(anp->n_flag, NUPDATESIZE))
7586 } else if ((retlen < rlen) && !ISSET(bp->nb_flags, NB_ERROR)) {
7999 if (!ISSET(bp->nb_flags, NB_CACHE) || !ISSET(ndbhp->ndbh_flags, NDB_FULL)) {
8000 if (!ISSET(bp->nb_flags, NB_CACHE)) { /* initialize the buffer */
8046 if (ISSET(ndbhp->ndbh_flags, NDB_EOF))
H A Dnfs_socket.c1931 if (!error && ISSET(np->n_flag, NUPDATESIZE)) /* update quickly to avoid multiple events */
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_bio.c339 if (!ISSET(bp->b_flags, B_DELWRI)) {
351 if (ISSET(bp->b_flags, B_DELWRI)) {
851 if (bp->b_shadow_ref == 0 || bp->b_data_ref == 0 || ISSET(bp->b_lflags, BL_SHADOW)) {
865 if ( !ISSET(bp->b_lflags, BL_EXTERNAL))
885 if ( !ISSET(t_bp->b_lflags, BL_EXTERNAL))
1164 if (!ISSET(bp->b_flags, B_READ))
1496 if ((flags & BUF_SKIP_META) && (bp->b_lblkno < 0 || ISSET(bp->b_flags, B_META)))
1567 if ((flags & BUF_SKIP_META) && (bp->b_lblkno < 0 || ISSET(bp->b_flags, B_META)))
1609 if (ISSET(bp->b_flags, B_DELWRI) && (flags & BUF_WRITE_DATA))
1895 if (ISSET(b
[all...]
H A Dvfs_cluster.c826 while (!ISSET(cbp->b_flags, B_TDONE)) {
830 if (!ISSET(cbp->b_flags, B_TDONE)) {
H A Dvfs_syscalls.c1106 if (ISSET(vp->v_flag, VMOUNT) && (vp->v_mountedhere != NULL)) {
/xnu-2422.115.4/bsd/sys/
H A Dkernel_types.h40 #define ISSET(t, f) ((t) & (f)) macro
H A Dbuf.h1190 #define ISSET(t, f) ((t) & (f)) macro
/xnu-2422.115.4/bsd/dev/i386/
H A Dfasttrap_isa.c739 if (ISSET(current_proc()->p_lflag, P_LNOATTACH)) {
1056 if (ISSET(current_proc()->p_lflag, P_LNOATTACH)) {
1598 if (ISSET(current_proc()->p_lflag, P_LNOATTACH)) {
/xnu-2422.115.4/bsd/miscfs/specfs/
H A Dspec_vnops.c819 while (!ISSET(n, 1)) {
1782 if(!ISSET(flags, B_PASSIVE)) {
/xnu-2422.115.4/bsd/dev/dtrace/
H A Ddtrace.c1316 if (ISSET(current_proc()->p_lflag, P_LNOATTACH))
1344 if (ISSET(current_proc()->p_lflag, P_LNOATTACH))
1368 if (ISSET(current_proc()->p_lflag, P_LNOATTACH))

Completed in 323 milliseconds