Home
last modified time | relevance | path

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

123456789

/linux/rust/kernel/irq/
H A Dflags.rs27 pub struct Flags(c_ulong); struct
29 impl Flags { impl
31 pub const TRIGGER_NONE: Flags = Flags::new(bindings::IRQF_TRIGGER_NONE);
34 pub const TRIGGER_RISING: Flags = Flags::new(bindings::IRQF_TRIGGER_RISING);
37 pub const TRIGGER_FALLING: Flags = Flags::new(bindings::IRQF_TRIGGER_FALLING);
40 pub const TRIGGER_HIGH: Flags = Flags::new(bindings::IRQF_TRIGGER_HIGH);
43 pub const TRIGGER_LOW: Flags = Flags::new(bindings::IRQF_TRIGGER_LOW);
46 pub const SHARED: Flags = Flags::new(bindings::IRQF_SHARED);
49 pub const PROBE_SHARED: Flags = Flags::new(bindings::IRQF_PROBE_SHARED);
52 pub const TIMER: Flags = Flags::new(bindings::IRQF_TIMER);
[all …]
/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 Ddma.rs418 gfp_flags: kernel::alloc::Flags, in zeroed_slice_with_attrs() argument
429 gfp_flags: kernel::alloc::Flags, in zeroed_slice() argument
484 gfp_flags: kernel::alloc::Flags, in from_slice_with_attrs() argument
509 gfp_flags: kernel::alloc::Flags, in from_slice() argument
523 gfp_flags: kernel::alloc::Flags, in zeroed_with_attrs() argument
531 pub fn zeroed(dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags) -> Result<Self> { in zeroed()
709 gfp_flags: kernel::alloc::Flags, in alloc_with_attrs() argument
765 gfp_flags: kernel::alloc::Flags, in zeroed_with_attrs() argument
774 pub fn zeroed(dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags) -> Result<Self> { in zeroed()
782 gfp_flags: kernel::alloc::Flags, in init_with_attrs() argument
[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()
H A Dmaple_tree.rs16 alloc::Flags,
121 pub fn insert(&self, index: usize, value: T, gfp: Flags) -> Result<(), InsertError<T>> { in insert()
169 pub fn insert_range<R>(&self, range: R, value: T, gfp: Flags) -> Result<(), InsertError<T>> in insert_range()
445 gfp: Flags, in alloc_range() argument
/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/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
H A Dmpi2_cnfg.h703 U32 Flags; /*0x08 */ member
864 U32 Flags; /*0x0C */ member
946 U32 Flags; /*0x04 */ member
1048 U16 Flags; /*0x04 */ member
1088 U8 Flags; /* 0x20 */ member
1188 U16 Flags; /*0x00 */ member
1229 U8 Flags; /*0x04 */ member
1328 U8 Flags; /*0x2B */ member
1377 U32 Flags; /*0x04 */ member
1484 U16 Flags; /*0x0C */ member
[all …]
/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 …]
H A Dmpi_tool.h78 U32 Flags; /* 0Ch */ member
126 U32 Flags; /* 0Ch */ member
161 U8 Flags; /* 0Ch */ member
259 U8 Flags; /* 0Fh */ member
H A Dmpi_history.txt314 * 05-31-02 01.02.07 Added a Flags field to CONFIG_PAGE_IOC_2_RAID_VOL in a
333 * Added more Flags defines for CONFIG_PAGE_FC_PORT_1.
334 * Added more Flags defines for CONFIG_PAGE_FC_DEVICE_0.
335 * 04-01-03 01.02.11 Added RR_TOV field and additional Flags defines for
345 * Added more Flags defines for CONFIG_PAGE_FC_PORT_1.
366 * to add a Flags field.
368 * Two new bits defined for IO Unit Page 1 Flags field.
371 * Four new Flags bits defined for IO Unit Page 2.
373 * Added EEDP Flags settings to IOC Page 1.
377 * Added new Flags field to CONFIG_PAGE_MANUFACTURING_5 and
[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};
30 /// implementation to be passed as generic, page [`Flags`] when allocating memory and all functions
231 pub fn new(x: T, flags: Flags) -> Result<Self, AllocError> { in assume_init()
250 pub fn new_uninit(flags: Flags) -> Result<Box<MaybeUninit<T>, A>, AllocError> {
262 pub fn pin(x: T, flags: Flags) -> Result<Pin<Box<T, A>>, AllocError>
314 flags: Flags,
440 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Pin<Self>, E> in write_init()
448 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in write_pin_init()
339 pin_slice<Func, Item, E>( mut init: Func, len: usize, flags: Flags, ) -> Result<Pin<Box<[T], A>>, E> where Func: FnMut(usize) -> Item, Item: PinInit<T, E>, E: From<AllocError>, pin_slice() argument
H A Dkvec.rs8 AllocError, Allocator, Box, Flags, NumaNode,
328 pub fn push(&mut self, v: T, flags: Flags) -> Result<(), AllocError> { in push()
504 pub fn with_capacity(capacity: usize, flags: Flags) -> Result<Self, AllocError> { in with_capacity()
625 pub fn reserve(&mut self, additional: usize, flags: Flags) -> Result<(), AllocError> { in reserve()
766 pub fn shrink_to(&mut self, min_capacity: usize, flags: Flags) -> Result<(), AllocError> { in shrink_to()
852 pub fn extend_with(&mut self, n: usize, value: T, flags: Flags) -> Result<(), AllocError> { in extend_with()
891 pub fn extend_from_slice(&mut self, other: &[T], flags: Flags) -> Result<(), AllocError> { in extend_from_slice()
907 pub fn from_elem(value: T, n: usize, flags: Flags) -> Result<Self, AllocError> { in from_elem()
932 pub fn resize(&mut self, new_len: usize, value: T, flags: Flags) -> Result<(), AllocError> { in resize()
1252 pub fn collect(self, flags: Flags) -> Vec<T, A> { in collect()
/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/drivers/media/pci/ngene/
H A Dngene-core.c79 while (Cur->ngeneBuffer.SR.Flags & 0x80) { in demux_bh_work()
81 u32 Flags = chan->DataFormatFlags; in demux_bh_work() local
82 if (Cur->ngeneBuffer.SR.Flags & 0x20) in demux_bh_work()
83 Flags |= BEF_OVERFLOW; in demux_bh_work()
89 Clock, Flags)) { in demux_bh_work()
102 Cur->ngeneBuffer.SR.Flags &= in demux_bh_work()
115 Cur->ngeneBuffer.SR.Flags &= ~0x40; in demux_bh_work()
128 u32 Flags = chan->DataFormatFlags; in demux_bh_work() local
131 if (Cur->ngeneBuffer.SR.Flags & 0x01) in demux_bh_work()
132 Flags |= BEF_EVEN_FIELD; in demux_bh_work()
[all …]
/linux/drivers/message/fusion/
H A Dmptfc.c437 if (pg0->Flags & (MPI_FC_DEVICE_PAGE0_FLAGS_PLOGI_INVALID | in mptfc_generate_rport_ids()
441 if (!(pg0->Flags & MPI_FC_DEVICE_PAGE0_FLAGS_TARGETID_BUS_VALID)) in mptfc_generate_rport_ids()
823 pp0dest->Flags = le32_to_cpu(pp0dest->Flags); in mptfc_GetFcPortPage0()
846 (pp0dest->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_TYPE_MASK) in mptfc_GetFcPortPage0()
998 && ((pp1->Flags & ON_FLAGS) == ON_FLAGS) in mptfc_SetFcPortPage1_defaults()
999 && ((pp1->Flags & OFF_FLAGS) == 0)) in mptfc_SetFcPortPage1_defaults()
1003 pp1->Flags &= ~OFF_FLAGS; in mptfc_SetFcPortPage1_defaults()
1004 pp1->Flags |= ON_FLAGS; in mptfc_SetFcPortPage1_defaults()
1087 if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_POINT_TO_POINT) in mptfc_init_host_attr()
1089 else if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_PRIVATE_LOOP) in mptfc_init_host_attr()
[all …]
/linux/rust/kernel/list/
H A Darc.rs7 use crate::alloc::{AllocError, Flags};
174 pub fn new(contents: T, flags: Flags) -> Result<Self, AllocError> { in new()
184 pub fn pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Self, E> in pin_init()
195 pub fn init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in init()

123456789