Home
last modified time | relevance | path

Searched refs:Flags (Results 1 – 25 of 216) 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.rs32 /// Flags to be used when allocating memory.
38 pub struct Flags(u32); in as_raw()
40 impl Flags { in as_raw()
47 pub fn contains(self, flags: Flags) -> bool {
52 impl core::ops::BitOr for Flags { in bitor()
59 impl core::ops::BitAnd for Flags { in bitand()
66 impl core::ops::Not for Flags { in not()
77 use super::Flags;
82 pub const __GFP_ZERO: Flags = Flags(binding
34 pub struct Flags(u32); global() struct
36 impl Flags { global() implementation
48 impl core::ops::BitOr for Flags { global() implementation
55 impl core::ops::BitAnd for Flags { global() implementation
62 impl core::ops::Not for Flags { global() implementation
184 alloc(layout: Layout, flags: Flags, nid: NumaNode) -> Result<NonNull<[u8]>, AllocError> alloc() argument
234 realloc( ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> realloc() argument
[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
807 init<E>( dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags, init: impl Init<T, E>, ) -> Result<Self> where Error: From<E>, init() argument
820 alloc_slice_with_attrs( dev: &device::Device<Bound>, len: usize, gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<Coherent<[T]>> alloc_slice_with_attrs() argument
886 zeroed_slice_with_attrs( dev: &device::Device<Bound>, len: usize, gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<Coherent<[T]>> zeroed_slice_with_attrs() argument
898 zeroed_slice( dev: &device::Device<Bound>, len: usize, gfp_flags: kernel::alloc::Flags, ) -> Result<Coherent<[T]>> zeroed_slice() argument
927 from_slice_with_attrs( dev: &device::Device<Bound>, data: &[T], gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<Coherent<[T]>> where T: Copy, from_slice_with_attrs() argument
942 from_slice( dev: &device::Device<Bound>, data: &[T], gfp_flags: kernel::alloc::Flags, ) -> Result<Coherent<[T]>> where T: Copy, from_slice() argument
1052 alloc_with_attrs( dev: &device::Device<Bound>, size: usize, gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<Self> alloc_with_attrs() argument
1091 alloc( dev: &device::Device<Bound>, size: usize, gfp_flags: kernel::alloc::Flags, ) -> Result<Self> alloc() 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()
155 fn pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> error::Result<Self::PinnedSelf> in pin_init()
167 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
173 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()
184 /// [`Flags::IORESOURCE_IO`].
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 { global() implementation
216 impl Flags { global() implementation
[all...]
/linux/fs/smb/common/
H A Dsmb2pdu.h149 __le32 Flags; member
171 __le32 Flags; member
213 __le16 Flags; /* EncryptionAlgorithm for 3.0, enc enabled for 3.1.1 */ member
222 * CompressionAlgorithm, Flags and Offset below overlay the first chained
234 __le16 Flags;
247 __le16 Flags;
336 /* Flags/Reserved for SMB3.1.1 */
344 __le16 Flags; /* Flags in SMB3.1.1 */
515 /* Compression Flags */
235 __le16 Flags; global() member
248 __le16 Flags; global() member
345 __le16 Flags; /* Flags in SMB3.1.1 */ global() member
526 __le32 Flags; global() member
555 __le32 Flags; global() member
654 __u8 Flags; global() member
706 __le16 Flags; global() member
720 __le16 Flags; global() member
753 __u8 Flags; /* MBZ unless SMB3.02 or later */ global() member
777 __le32 Flags; global() member
801 __le32 Flags; global() member
844 __le32 Flags; global() member
910 __u8 Flags; global() member
1015 __le16 Flags; global() member
1205 __u8 Flags; /* 0x01 if reparse point */ global() member
1260 __le32 Flags; /* see SMB2_DHANDLE_FLAG_PERSISTENT */ global() member
1278 __le32 Flags; /* see SMB2_DHANDLE_FLAG_PERSISTENT */ global() member
1291 __le32 Flags; /* see SMB2_DHANDLE_FLAG_PERSISTENT */ global() member
1393 __le32 Flags; global() member
1448 __le32 Flags; global() member
1605 __le32 Flags; global() member
1661 __le32 Flags; global() member
1674 __le32 Flags; global() member
[all...]
H A Dfscc.h54 __le32 Flags; member
99 __le32 Flags; member
125 __le32 Flags;
157 __le32 Flags;
183 __le32 Flags;
191 __le32 Flags;
455 __le32 Flags;
531 * SMB2 Notify Action Flags
107 __le32 Flags; global() member
139 __le32 Flags; global() member
165 __le32 Flags; global() member
173 __le32 Flags; global() member
437 __le32 Flags; global() member
/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.rs14 Flags,
100 flags: Flags, in call()
161 flags: Flags,
234 flags: Flags,
255 flags: Flags,
89 call( &self, ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> call() argument
150 realloc( ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> realloc() argument
220 realloc( ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> realloc() argument
241 realloc( ptr: Option<NonNull<u8>>, layout: Layout, old_layout: Layout, flags: Flags, nid: NumaNode, ) -> Result<NonNull<[u8]>, AllocError> realloc() argument
H A Dkbox.rs16 Flags,
53 /// implementation to be passed as generic, page [`Flags`] when allocating memory and all functions
254 pub fn new(x: T, flags: Flags) -> Result<Self, AllocError> {
273 pub fn new_uninit(flags: Flags) -> Result<Box<MaybeUninit<T>, A>, AllocError> {
294 pub fn zeroed(flags: Flags) -> Result<Self, AllocError>
306 pub fn pin(x: T, flags: Flags) -> Result<Pin<Box<T, A>>, AllocError>
361 flags: Flags, in pin_slice()
489 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Pin<Self>, E>
497 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in into_foreign()
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.rs16 Flags,
351 pub fn push(&mut self, v: T, flags: Flags) -> Result<(), AllocError> { in push_within_capacity()
527 pub fn with_capacity(capacity: usize, flags: Flags) -> Result<Self, AllocError> {
648 pub fn reserve(&mut self, additional: usize, flags: Flags) -> Result<(), AllocError> { in reserve()
789 pub fn shrink_to(&mut self, min_capacity: usize, flags: Flags) -> Result<(), AllocError> { in shrink_to()
893 pub fn extend_with(&mut self, n: usize, value: T, flags: Flags) -> Result<(), AllocError> { in extend_from_slice()
932 pub fn extend_from_slice(&mut self, other: &[T], flags: Flags) -> Result<(), AllocError> { in resize()
948 pub fn from_elem(value: T, n: usize, flags: Flags) -> Result<Self, AllocError> { in drop()
973 pub fn resize(&mut self, new_len: usize, value: T, flags: Flags) -> Result<(), AllocError> {
1295 /// Note that `IntoIter::collect` doesn't require `Flags`, sinc in collect()
[all...]
/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 …]

123456789