Home
last modified time | relevance | path

Searched refs:Flags (Results 1 – 25 of 223) sorted by relevance

123456789

/linux/rust/kernel/
H A Dalloc.rs34 pub struct Flags(u32); struct
36 impl Flags { implementation
43 pub fn contains(self, flags: Flags) -> bool { in contains()
48 impl core::ops::BitOr for Flags { implementation
55 impl core::ops::BitAnd for Flags { implementation
62 impl core::ops::Not for Flags { implementation
73 use super::Flags;
78 pub const __GFP_ZERO: Flags = Flags(bindings::__GFP_ZERO);
86 pub const __GFP_HIGHMEM: Flags = Flags(bindings::__GFP_HIGHMEM);
93 pub const GFP_ATOMIC: Flags = Flags(bindings::GFP_ATOMIC);
[all …]
H A Dinit.rs129 alloc::{AllocError, Flags},
146 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Self::PinnedSelf, E> in try_pin_init()
154 fn pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> error::Result<Self::PinnedSelf> in pin_init()
166 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
171 fn init<E>(init: impl Init<T, E>, flags: Flags) -> error::Result<Self> in init()
H A Did_pool.rs7 use crate::alloc::{AllocError, Flags};
89 pub fn realloc(&self, flags: Flags) -> Result<PoolResizer, AllocError> { in realloc()
114 pub fn with_capacity(num_ids: usize, flags: Flags) -> Result<Self, AllocError> { in with_capacity()
/linux/rust/kernel/io/
H A Dresource.rs54 let release_fn = if flags.contains(Flags::IORESOURCE_MEM) { in drop()
106 flags: Flags, in request_region() argument
162 pub fn flags(&self) -> Flags { in flags() argument
167 Flags(flags) in flags()
186 pub struct Flags(c_ulong); struct
188 impl Flags { implementation
190 pub fn contains(self, flags: Flags) -> bool { in contains()
195 impl core::ops::BitOr for Flags { implementation
202 impl core::ops::BitAnd for Flags { implementation
209 impl core::ops::Not for Flags { implementation
[all …]
/linux/drivers/isdn/mISDN/
H A Dlayer1.c20 u_long Flags; member
120 if (test_bit(FLG_L1_ACTIVATING, &l1->Flags)) in l1_deact_cnf()
131 test_and_set_bit(FLG_L1_DEACTTIMER, &l1->Flags); in l1_deact_req_s()
139 if (test_bit(FLG_L1_ACTIVATING, &l1->Flags)) { in l1_power_up_s()
174 if (test_and_clear_bit(FLG_L1_DEACTTIMER, &l1->Flags)) in l1_info4_ind()
176 if (!test_bit(FLG_L1_ACTIVATED, &l1->Flags)) { in l1_info4_ind()
177 if (test_and_clear_bit(FLG_L1_T3RUN, &l1->Flags)) in l1_info4_ind()
180 test_and_set_bit(FLG_L1_ACTTIMER, &l1->Flags); in l1_info4_ind()
189 test_and_clear_bit(FLG_L1_T3RUN, &l1->Flags); in l1_timer3()
190 if (test_and_clear_bit(FLG_L1_ACTIVATING, &l1->Flags)) { in l1_timer3()
[all …]
H A Dhwchannel.c20 if (test_and_clear_bit(FLG_RECVQUEUE, &dch->Flags)) { in dchannel_bh()
30 if (test_and_clear_bit(FLG_PHCHANGE, &dch->Flags)) { in dchannel_bh()
43 if (test_and_clear_bit(FLG_RECVQUEUE, &bch->Flags)) { in bchannel_bh()
59 test_and_set_bit(FLG_HDLC, &ch->Flags); in mISDN_initdchannel()
78 ch->Flags = 0; in mISDN_initbchannel()
131 test_and_clear_bit(FLG_TX_BUSY, &ch->Flags); in mISDN_clear_bchannel()
132 test_and_clear_bit(FLG_TX_NEXT, &ch->Flags); in mISDN_clear_bchannel()
133 test_and_clear_bit(FLG_ACTIVE, &ch->Flags); in mISDN_clear_bchannel()
134 test_and_clear_bit(FLG_FILLEMPTY, &ch->Flags); in mISDN_clear_bchannel()
135 test_and_clear_bit(FLG_TX_EMPTY, &ch->Flags); in mISDN_clear_bchannel()
[all …]
/linux/drivers/isdn/hardware/mISDN/
H A DmISDNisar.c419 if (test_bit(FLG_RX_OFF, &ch->bch.Flags)) { in isar_rcv_frame()
586 if (!test_bit(FLG_TX_EMPTY, &ch->bch.Flags) || in isar_fill_fifo()
614 &ch->bch.Flags); in isar_fill_fifo()
619 &ch->bch.Flags); in isar_fill_fifo()
682 if (test_bit(FLG_LASTDATA, &ch->bch.Flags)) { in send_next()
684 test_and_set_bit(FLG_NMD_DATA, &ch->bch.Flags); in send_next()
687 if (test_bit(FLG_DLEETX, &ch->bch.Flags)) { in send_next()
688 test_and_set_bit(FLG_LASTDATA, &ch->bch.Flags); in send_next()
689 test_and_set_bit(FLG_NMD_DATA, &ch->bch.Flags); in send_next()
696 test_and_clear_bit(FLG_TX_EMPTY, &ch->bch.Flags); in send_next()
[all …]
H A Dw6692.c295 if (test_and_set_bit(FLG_BUSY_TIMER, &dch->Flags)) { in W6692_fill_Dfifo()
313 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in d_retransmit()
316 if (test_and_clear_bit(FLG_L1_BUSY, &dch->Flags)) in d_retransmit()
319 if (test_bit(FLG_TX_BUSY, &dch->Flags)) { in d_retransmit()
325 test_and_set_bit(FLG_TX_BUSY, &dch->Flags); in d_retransmit()
374 if (test_and_clear_bit(FLG_BUSY_TIMER, &card->dch.Flags)) in handle_txD()
460 if (test_bit(FLG_RX_OFF, &wch->bch.Flags)) { in W6692_empty_Bfifo()
493 if (!test_bit(FLG_TX_EMPTY, &wch->bch.Flags)) in W6692_fill_Bfifo()
506 else if (test_bit(FLG_HDLC, &wch->bch.Flags)) in W6692_fill_Bfifo()
537 !test_bit(FLG_TRANSPARENT, &wch->bch.Flags))
[all …]
H A DmISDNipac.c159 if (test_and_set_bit(FLG_BUSY_TIMER, &isac->dch.Flags)) { in isac_fill_fifo()
208 if (test_and_clear_bit(FLG_BUSY_TIMER, &isac->dch.Flags)) in isac_xpr_irq()
222 if (test_and_clear_bit(FLG_BUSY_TIMER, &isac->dch.Flags)) in isac_retransmit()
224 if (test_bit(FLG_TX_BUSY, &isac->dch.Flags)) { in isac_retransmit()
230 test_and_set_bit(FLG_TX_BUSY, &isac->dch.Flags); in isac_retransmit()
580 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in isac_l1hw()
666 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in isac_l1cmd()
667 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in isac_l1cmd()
676 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in isac_l1cmd()
681 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in isac_l1cmd()
[all …]
H A Dhfcpci.c311 if (test_bit(FLG_ACTIVE, &hc->bch[0].Flags) && in Sel_BCS()
314 else if (test_bit(FLG_ACTIVE, &hc->bch[1].Flags) && in Sel_BCS()
565 if (test_bit(FLG_RX_OFF, &bch->Flags)) { in hfcpci_empty_fifo_trans()
650 } else if (test_bit(FLG_TRANSPARENT, &bch->Flags)) { in main_rec_hfcpci()
754 if (!test_bit(FLG_FILLEMPTY, &bch->Flags) && in hfcpci_fill_fifo()
755 !test_bit(FLG_TRANSPARENT, &bch->Flags)) in hfcpci_fill_fifo()
769 if (test_bit(FLG_TRANSPARENT, &bch->Flags)) { in hfcpci_fill_fifo()
779 if (test_bit(FLG_FILLEMPTY, &bch->Flags)) { in hfcpci_fill_fifo()
944 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in handle_nt_timer3()
948 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in handle_nt_timer3()
[all …]
H A Davmfritz.c251 if (test_bit(FLG_ACTIVE, &fc->bch[0].Flags) && in Sel_BCS()
254 else if (test_bit(FLG_ACTIVE, &fc->bch[1].Flags) && in Sel_BCS()
360 test_and_clear_bit(FLG_HDLC, &bch->Flags); in modehdlc()
361 test_and_clear_bit(FLG_TRANSPARENT, &bch->Flags); in modehdlc()
371 test_and_set_bit(FLG_TRANSPARENT, &bch->Flags); in modehdlc()
381 test_and_set_bit(FLG_HDLC, &bch->Flags); in modehdlc()
400 if (test_bit(FLG_RX_OFF, &bch->Flags)) { in hdlc_empty_fifo()
451 if (!test_bit(FLG_TX_EMPTY, &bch->Flags)) in hdlc_fill_fifo()
466 if (test_bit(FLG_HDLC, &bch->Flags)) in hdlc_fill_fifo()
516 test_and_clear_bit(FLG_TX_EMPTY, &bch->Flags); in HDLC_irq_xpr()
[all …]
H A Dhfcsusb.c220 if (!test_and_set_bit(FLG_ACTIVE, &bch->Flags)) { in hfcusb_l2l1B()
257 phi->dch.ch.Flags = dch->Flags; in hfcsusb_ph_info()
262 phi->bch[i].Flags = hw->bch[i].Flags; in hfcsusb_ph_info()
307 if (test_bit(FLG_ACTIVE, &dch->Flags)) { in hfcusb_l2l1D()
315 &dch->Flags); in hfcusb_l2l1D()
327 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in hfcusb_l2l1D()
345 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in hfcusb_l2l1D()
349 if (test_and_clear_bit(FLG_L1_BUSY, &dch->Flags)) in hfcusb_l2l1D()
394 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in hfc_l1callback()
397 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in hfc_l1callback()
[all …]
H A Dnetjet.c218 test_and_clear_bit(FLG_HDLC, &bc->bch.Flags); in mode_tiger()
219 test_and_clear_bit(FLG_TRANSPARENT, &bc->bch.Flags); in mode_tiger()
225 test_and_set_bit(FLG_TRANSPARENT, &bc->bch.Flags); in mode_tiger()
239 test_and_set_bit(FLG_HDLC, &bc->bch.Flags); in mode_tiger()
377 if (test_bit(FLG_RX_OFF, &bc->bch.Flags)) { in read_dma()
388 if (test_bit(FLG_TRANSPARENT, &bc->bch.Flags)) in read_dma()
402 if (test_bit(FLG_TRANSPARENT, &bc->bch.Flags)) { in read_dma()
458 if (test_bit(FLG_ACTIVE, &card->bc[0].bch.Flags)) in recv_tiger()
460 if (test_bit(FLG_ACTIVE, &card->bc[1].bch.Flags)) in recv_tiger()
535 if (!test_bit(FLG_TX_EMPTY, &bc->bch.Flags)) in fill_dma()
[all …]
/linux/drivers/scsi/mpt3sas/mpi/
H A Dmpi2_raid.h81 U8 Flags; /*0x01 */ member
100 U8 Flags; /*0x01 */ member
126 U8 Flags; /*0x00 */ member
247 U32 Flags; /*0x00 */ member
262 U32 Flags; /*0x04 */ member
279 U32 Flags; /*0x10 */ member
H A Dmpi2.h588 U8 Flags; /*0x03 */ member
907 U8 Flags; member
915 U8 Flags; member
923 U8 Flags; member
941 U8 Flags; member
953 U8 Flags; member
965 U8 Flags; member
975 U8 Flags; member
985 U8 Flags; member
1140 U8 Flags; member
[all …]
H A Dmpi2_tool.h102 U32 Flags; /*0x0C */ member
166 U32 Flags; /*0x10 */ member
205 U8 Flags; /*0x17 */ member
282 U8 Flags; /*0x0F */ member
381 U8 Flags; /* 0x0D */ member
485 U32 Flags; /*0x20 */ member
/linux/drivers/pcmcia/
H A Dcistpl.c454 tuple->TupleLink = tuple->Flags = 0; in pccard_get_first_tuple()
458 SPACE(tuple->Flags) = HAS_LINK(tuple->Flags) = 1; in pccard_get_first_tuple()
480 if (MFC_FN(tuple->Flags)) { in follow_link()
482 ret = read_cis_cache(s, LINK_SPACE(tuple->Flags), in follow_link()
487 SPACE(tuple->Flags) = (link[0] == CISTPL_MFC_ATTR); in follow_link()
490 MFC_FN(tuple->Flags)--; in follow_link()
491 } else if (HAS_LINK(tuple->Flags)) { in follow_link()
493 SPACE(tuple->Flags) = LINK_SPACE(tuple->Flags); in follow_link()
494 HAS_LINK(tuple->Flags) = 0; in follow_link()
498 if (SPACE(tuple->Flags)) { in follow_link()
[all …]
/linux/drivers/message/fusion/lsi/
H A Dmpi.h390 U8 Flags; member
399 U8 Flags; member
408 U8 Flags; member
426 U8 Flags; member
437 U8 Flags; member
448 U8 Flags; member
459 U8 Flags; member
470 U8 Flags; member
H A Dmpi_cnfg.h672 U8 Flags; /* 0Dh */ member
727 U8 Flags; /* 0Ch */ member
797 U32 Flags; /* 0Ch */ member
859 U32 Flags; /* 04h */ member
891 U32 Flags; /* 04h */ member
973 U32 Flags; /* 04h */ member
1001 U8 Flags; /* 05h */ member
1098 U8 Flags; /* 03h */ member
1709 U32 Flags; /* 04h */ member
1798 U32 Flags; /* 04h */ member
[all …]
/linux/tools/testing/selftests/net/netfilter/packetdrill/
H A Dconntrack_synack_old.pkt4 // 10.176.25.8.829 > 10.192.171.30.2049: Flags [S], seq 2375731741, win 29200, options [mss 1460,sa…
6 // 10.192.171.30.2049 > 10.176.25.8.829: Flags [S.], seq 145824453, ack 643160523, win 65535, optio…
8 // 10.192.171.30.2049 > 10.176.25.8.829: Flags [R.], seq 1, ack 1, win 65535, options [mss 8952,nop…
10 // 10.176.25.8.829 > 10.192.171.30.2049: Flags [S], seq 2375731741, win 29200, options [mss 1460,sa…
13 // 10.192.171.30.2049 > 10.176.25.8.829: Flags [S.], seq 162602410, ack 2375731742, win 65535, opti…
/linux/rust/kernel/alloc/
H A Dallocator.rs11 use super::Flags;
89 flags: Flags, in call() argument
150 flags: Flags, in realloc() argument
220 flags: Flags, in realloc() argument
241 flags: Flags, in realloc() argument
H A Dkbox.rs7 use super::{AllocError, Allocator, Flags, NumaNode};
256 pub fn new(x: T, flags: Flags) -> Result<Self, AllocError> { in new()
275 pub fn new_uninit(flags: Flags) -> Result<Box<MaybeUninit<T>, A>, AllocError> { in new_uninit()
287 pub fn pin(x: T, flags: Flags) -> Result<Pin<Box<T, A>>, AllocError> in pin()
339 flags: Flags, in pin_slice() argument
465 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Pin<Self>, E> in try_pin_init()
473 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
/linux/Documentation/gpu/imagination/
H A Duapi.rst62 :doc: Flags for CREATE_BO
141 :doc: Flags for the drm_pvr_sync_op object.
147 :doc: Flags for SUBMIT_JOB ioctl geometry command.
150 :doc: Flags for SUBMIT_JOB ioctl fragment command.
153 :doc: Flags for SUBMIT_JOB ioctl compute command.
156 :doc: Flags for SUBMIT_JOB ioctl transfer command.
/linux/Documentation/driver-api/cxl/platform/example-configurations/
H A Dflexible.rst149 Flags (decoded below) : 0000000B
161 Flags (decoded below) : 0000000B
173 Flags (decoded below) : 0000000B
185 Flags (decoded below) : 0000000B
197 Flags (decoded below) : 0000000B
209 Flags (decoded below) : 0000000B
221 Flags (decoded below) : 0000000B
/linux/include/linux/
H A DmISDNhw.h74 test_and_set_bit(ev, &((s)->Flags)); \
80 u_long Flags; member
143 u_long Flags; member

123456789