Home
last modified time | relevance | path

Searched full:pub (Results 1 – 25 of 704) sorted by relevance

12345678910>>...29

/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/
H A D0001-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch29 @@ -451,9 +451,6 @@ pub const F_GETOWN: ::c_int = 9;
30 pub const F_SETLK: ::c_int = 13;
31 pub const F_SETLKW: ::c_int = 14;
32 pub const F_SETOWN: ::c_int = 8;
33 -pub const F_OFD_GETLK: ::c_int = 36;
34 -pub const F_OFD_SETLK: ::c_int = 37;
35 -pub const F_OFD_SETLKW: ::c_int = 38;
37 pub const VEOF: usize = 4;
38 pub const VEOL: usize = 11;
43 @@ -225,9 +225,6 @@ pub const F_GETOWN_EX: ::c_int = 16;
[all …]
H A D0001-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch27 @@ -311,8 +311,6 @@ pub const O_SYNC: ::c_int = 1052672;
28 pub const O_RSYNC: ::c_int = 1052672;
29 pub const O_DSYNC: ::c_int = 4096;
31 -pub const SOCK_NONBLOCK: ::c_int = 2048;
33 pub const MAP_ANON: ::c_int = 0x0020;
34 pub const MAP_GROWSDOWN: ::c_int = 0x0100;
35 pub const MAP_DENYWRITE: ::c_int = 0x0800;
38 @@ -295,7 +295,6 @@ pub const SIG_SETMASK: ::c_int = 2; // F
39 pub const SIG_BLOCK: ::c_int = 0x000000;
40 pub const SIG_UNBLOCK: ::c_int = 0x01;
[all …]
H A D0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch24 @@ -324,7 +324,6 @@ pub const MAP_SYNC: ::c_int = 0x080000;
26 pub const SOCK_STREAM: ::c_int = 1;
27 pub const SOCK_DGRAM: ::c_int = 2;
28 -pub const SOCK_SEQPACKET: ::c_int = 5;
30 pub const EDEADLK: ::c_int = 35;
31 pub const ENAMETOOLONG: ::c_int = 36;
34 @@ -292,7 +292,6 @@ pub const SIG_SETMASK: ::c_int = 2; // F
35 pub const SIG_BLOCK: ::c_int = 0x000000;
36 pub const SIG_UNBLOCK: ::c_int = 0x01;
37 pub const SOCK_DGRAM: ::c_int = 2;
[all …]
H A D0001-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch19 @@ -339,9 +339,11 @@ pub const POLLWRBAND: ::c_short = 512;
20 pub const O_ASYNC: ::c_int = 8192;
21 pub const O_NDELAY: ::c_int = 2048;
22 pub const EFD_NONBLOCK: ::c_int = 2048;
23 -pub const F_GETLK: ::c_int = 5;
24 -pub const F_GETOWN: ::c_int = 9;
25 pub const F_SETOWN: ::c_int = 8;
26 +pub const F_GETOWN: ::c_int = 9;
27 +pub const F_GETLK: ::c_int = 12;
28 +pub const F_SETLK: ::c_int = 13;
[all …]
H A D0001-musl-Define-O_LARGEFILE-for-riscv32.patch14 @@ -370,6 +370,7 @@ pub const __SIZEOF_PTHREAD_CONDATTR_T: u
15 pub const __SIZEOF_PTHREAD_MUTEXATTR_T: usize = 4;
16 pub const O_DIRECT: ::c_int = 16384;
17 pub const O_DIRECTORY: ::c_int = 65536;
18 +pub const O_LARGEFILE: ::c_int = 0o0100000;
19 pub const O_NOFOLLOW: ::c_int = 131072;
20 pub const MAP_HUGETLB: ::c_int = 262144;
21 pub const MAP_LOCKED: ::c_int = 8192;
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dchip.c220 struct brcmf_core pub; member
227 struct brcmf_chip pub; member
257 address = CORE_SB(core->pub.base, sbtmstatelow); in brcmf_chip_sb_iscoreup()
287 base = core->pub.base; in brcmf_chip_sb_coredisable()
392 base = core->pub.base; in brcmf_chip_sb_resetcore()
445 if (core->pub.id == BCMA_CORE_80211) { in brcmf_chip_ai_resetcore()
446 d11core2 = brcmf_chip_get_d11core(&ci->pub, 1); in brcmf_chip_ai_resetcore()
450 struct brcmf_core_priv, pub); in brcmf_chip_ai_resetcore()
514 core->pub.id = coreid; in brcmf_chip_add_core()
515 core->pub.base = base; in brcmf_chip_add_core()
[all …]
/openbmc/qemu/rust/hw/char/pl011/src/
H A Dlib.rs47 pub mod device;
48 pub mod device_class;
49 pub mod memory_ops;
51 pub const TYPE_PL011: &::std::ffi::CStr = c_str!("pl011");
52 pub const TYPE_PL011_LUMINARY: &::std::ffi::CStr = c_str!("pl011_luminary");
62 pub enum RegisterOffset {
144 pub mod registers {
200 pub struct Data {
202 pub data: u8,
203 pub framing_error: bool,
[all …]
H A Ddevice.rs33 pub const PL011_FIFO_DEPTH: usize = 16_usize;
61 pub struct PL011State {
62 pub parent_obj: SysBusDevice,
63 pub iomem: MemoryRegion,
65 pub flags: registers::Flags,
67 pub line_control: registers::LineControl,
69 pub receive_status_error_clear: registers::ReceiveStatusErrorClear,
71 pub control: registers::Control,
72 pub dmacr: u32,
73 pub int_enabled: u32,
[all …]
/openbmc/linux/rust/kernel/
H A Dlib.rs34 pub mod error;
35 pub mod init;
36 pub mod ioctl;
38 pub mod kunit;
39 pub mod prelude;
40 pub mod print;
43 pub mod std_vendor;
44 pub mod str;
45 pub mod sync;
46 pub mod task;
[all …]
H A Dprelude.rs15 pub use core::pin::Pin;
18 pub use alloc::{boxed::Box, vec::Vec};
21 pub use macros::{module, pin_data, pinned_drop, vtable, Zeroable};
23 pub use super::build_assert;
27 pub use super::dbg;
28 pub use super::{pr_alert, pr_crit, pr_debug, pr_emerg, pr_err, pr_info, pr_notice, pr_warn};
30 pub use super::{init, pin_init, try_init, try_pin_init};
32 pub use super::static_assert;
34 pub use super::error::{code::*, Error, Result};
36 pub use super::{str::CStr, ThisModule};
[all …]
H A Dsync.rs12 pub mod lock;
15 pub use arc::{Arc, ArcBorrow, UniqueArc};
16 pub use condvar::CondVar;
17 pub use lock::{mutex::Mutex, spinlock::SpinLock};
18 pub use locked_by::LockedBy;
22 pub struct LockClassKey(Opaque<bindings::lock_class_key>);
30 pub const fn new() -> Self { in new()
34 pub(crate) fn as_ptr(&self) -> *mut bindings::lock_class_key { in as_ptr()
H A Dioctl.rs27 pub const fn _IO(ty: u32, nr: u32) -> u32 { in _IO()
33 pub const fn _IOR<T>(ty: u32, nr: u32) -> u32 { in _IOR()
39 pub const fn _IOW<T>(ty: u32, nr: u32) -> u32 { in _IOW()
45 pub const fn _IOWR<T>(ty: u32, nr: u32) -> u32 { in _IOWR()
55 pub const fn _IOC_DIR(nr: u32) -> u32 { in _IOC_DIR()
60 pub const fn _IOC_TYPE(nr: u32) -> u32 { in _IOC_TYPE()
65 pub const fn _IOC_NR(nr: u32) -> u32 { in _IOC_NR()
70 pub const fn _IOC_SIZE(nr: u32) -> usize { in _IOC_SIZE()
H A Dstr.rs18 pub type BStr = [u8];
43 pub enum CStrConvertError {
63 pub struct CStr([u8]);
68 pub const fn len(&self) -> usize { in len()
74 pub const fn len_with_nul(&self) -> usize { in len_with_nul()
86 pub const fn is_empty(&self) -> bool { in is_empty()
98 pub unsafe fn from_char_ptr<'a>(ptr: *const core::ffi::c_char) -> &'a Self { in from_char_ptr()
113 pub const fn from_bytes_with_nul(bytes: &[u8]) -> Result<&Self, CStrConvertError> { in from_bytes_with_nul()
141 pub const unsafe fn from_bytes_with_nul_unchecked(bytes: &[u8]) -> &CStr { in from_bytes_with_nul_unchecked()
148 pub const fn as_char_ptr(&self) -> *const core::ffi::c_char { in as_char_ptr()
[all …]
/openbmc/linux/crypto/asymmetric_keys/
H A Dpkcs8_parser.c21 struct public_key *pub; member
76 ctx->pub->pkey_algo = "rsa"; in pkcs8_note_algo()
100 struct public_key *pub; in pkcs8_parse() local
106 ctx.pub = kzalloc(sizeof(struct public_key), GFP_KERNEL); in pkcs8_parse()
107 if (!ctx.pub) in pkcs8_parse()
118 pub = ctx.pub; in pkcs8_parse()
119 pub->key = kmemdup(ctx.key, ctx.key_size, GFP_KERNEL); in pkcs8_parse()
120 if (!pub->key) in pkcs8_parse()
123 pub->keylen = ctx.key_size; in pkcs8_parse()
124 pub->key_is_private = true; in pkcs8_parse()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Ddma.h83 void dma_rxinit(struct dma_pub *pub);
84 int dma_rx(struct dma_pub *pub, struct sk_buff_head *skb_list);
85 bool dma_rxfill(struct dma_pub *pub);
86 bool dma_rxreset(struct dma_pub *pub);
87 bool dma_txreset(struct dma_pub *pub);
88 void dma_txinit(struct dma_pub *pub);
89 int dma_txfast(struct brcms_c_info *wlc, struct dma_pub *pub,
91 void dma_txflush(struct dma_pub *pub);
92 int dma_txpending(struct dma_pub *pub);
93 void dma_kick_tx(struct dma_pub *pub);
[all …]
/openbmc/linux/rust/alloc/collections/
H A Dmod.rs8 pub mod binary_heap;
12 pub mod linked_list;
14 pub mod vec_deque;
18 pub mod btree_map {
21 pub use super::btree::map::*;
26 pub mod btree_set {
29 pub use super::btree::set::*;
35 pub use binary_heap::BinaryHeap;
40 pub use btree_map::BTreeMap;
45 pub use btree_set::BTreeSet;
[all …]
/openbmc/qemu/crypto/
H A Dakcipher-nettle.c.inc34 struct rsa_public_key pub;
47 rsa_public_key_clear(&rsa->pub);
96 nettle_mpz_init_set_str_256_u(rsa->pub.n, rsa_key->n.len, rsa_key->n.data);
97 nettle_mpz_init_set_str_256_u(rsa->pub.e, rsa_key->e.len, rsa_key->e.data);
107 if (!rsa_public_key_prepare(&rsa->pub)) {
126 rsa->priv.size = rsa->pub.size;
145 nettle_mpz_init_set_str_256_u(rsa->pub.n, rsa_key->n.len, rsa_key->n.data);
146 nettle_mpz_init_set_str_256_u(rsa->pub.e, rsa_key->e.len, rsa_key->e.data);
148 if (!rsa_public_key_prepare(&rsa->pub)) {
153 (QCryptoAkCipher *)rsa, rsa->pub.size);
[all …]
/openbmc/qemu/rust/qemu-api/src/
H A Dlib.rs23 pub mod bindings;
32 pub mod c_str;
33 pub mod definitions;
34 pub mod device_class;
35 pub mod offset_of;
36 pub mod vmstate;
37 pub mod zeroable;
79 pub struct QemuAllocator {
84 pub static GLOBAL: QemuAllocator = QemuAllocator::new();
96 pub const DEFAULT_ALIGNMENT_BYTES: Option<usize> = Some(8);
[all …]
/openbmc/linux/net/wireless/
H A Dscan.c125 ies = (void *)rcu_access_pointer(bss->pub.beacon_ies); in bss_free()
126 if (ies && !bss->pub.hidden_beacon_bss) in bss_free()
128 ies = (void *)rcu_access_pointer(bss->pub.proberesp_ies); in bss_free()
149 if (bss->pub.hidden_beacon_bss) in bss_ref_get()
150 bss_from_pub(bss->pub.hidden_beacon_bss)->refcount++; in bss_ref_get()
152 if (bss->pub.transmitted_bss) in bss_ref_get()
153 bss_from_pub(bss->pub.transmitted_bss)->refcount++; in bss_ref_get()
161 if (bss->pub.hidden_beacon_bss) { in bss_ref_put()
164 hbss = bss_from_pub(bss->pub.hidden_beacon_bss); in bss_ref_put()
170 if (bss->pub.transmitted_bss) { in bss_ref_put()
[all …]
/openbmc/linux/net/mac80211/
H A Dvht.c122 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->pub->vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap()
130 if (!link_sta->pub->ht_cap.ht_supported) in ieee80211_vht_cap_ie_to_sta_vht_cap()
320 link_sta->pub->bandwidth = ieee80211_sta_cur_vht_bw(link_sta); in ieee80211_vht_cap_ie_to_sta_vht_cap()
338 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_11454; in ieee80211_vht_cap_ie_to_sta_vht_cap()
341 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_7991; in ieee80211_vht_cap_ie_to_sta_vht_cap()
345 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_3895; in ieee80211_vht_cap_ie_to_sta_vht_cap()
358 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->pub->vht_cap; in ieee80211_sta_cap_rx_bw()
359 struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap; in ieee80211_sta_cap_rx_bw()
360 struct ieee80211_sta_eht_cap *eht_cap = &link_sta->pub->eht_cap; in ieee80211_sta_cap_rx_bw()
405 return link_sta->pub->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ? in ieee80211_sta_cap_rx_bw()
[all …]
/openbmc/linux/rust/macros/
H A Dhelpers.rs5 pub(crate) fn try_ident(it: &mut token_stream::IntoIter) -> Option<String> { in try_ident()
13 pub(crate) fn try_literal(it: &mut token_stream::IntoIter) -> Option<String> { in try_literal()
21 pub(crate) fn try_string(it: &mut token_stream::IntoIter) -> Option<String> { in try_string()
37 pub(crate) fn expect_ident(it: &mut token_stream::IntoIter) -> String { in expect_ident()
41 pub(crate) fn expect_punct(it: &mut token_stream::IntoIter) -> char { in expect_punct()
49 pub(crate) fn expect_string(it: &mut token_stream::IntoIter) -> String { in expect_string()
53 pub(crate) fn expect_string_ascii(it: &mut token_stream::IntoIter) -> String { in expect_string_ascii()
59 pub(crate) fn expect_group(it: &mut token_stream::IntoIter) -> Group { in expect_group()
67 pub(crate) fn expect_end(it: &mut token_stream::IntoIter) { in expect_end()
73 pub(crate) struct Generics {
[all …]
/openbmc/linux/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c117 struct dvb_ca_en50221 *pub; member
240 slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open); in dvb_ca_en50221_check_camstatus()
293 res = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); in dvb_ca_en50221_wait_if_status()
345 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, in dvb_ca_en50221_link_init()
355 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN); in dvb_ca_en50221_link_init()
372 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, in dvb_ca_en50221_link_init()
382 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN); in dvb_ca_en50221_link_init()
412 _tuple_type = ca->pub->read_attribute_mem(ca->pub, slot, _address); in dvb_ca_en50221_read_tuple()
422 _tuple_length = ca->pub->read_attribute_mem(ca->pub, slot, in dvb_ca_en50221_read_tuple()
432 tuple[i] = ca->pub->read_attribute_mem(ca->pub, slot, in dvb_ca_en50221_read_tuple()
[all …]
/openbmc/linux/rust/kernel/init/
H A D__internal.rs16 pub(super) type Invariant<T> = PhantomData<fn(*mut T) -> *mut T>;
21 pub(crate) struct InitClosure<F, T: ?Sized, E>(pub(crate) F, pub(crate) Invariant<(E, T)>);
53 pub unsafe trait HasPinData {
64 pub unsafe trait PinData: Copy {
82 pub unsafe trait HasInitData {
93 pub unsafe trait InitData: Copy {
105 pub struct AllData<T: ?Sized>(PhantomData<fn(Box<T>) -> Box<T>>);
134 pub struct StackInit<T> {
156 pub fn uninit() -> Self { in uninit()
165 pub fn init<E>(self: Pin<&mut Self>, init: impl PinInit<T, E>) -> Result<Pin<&mut T>, E> { in init()
[all …]
/openbmc/linux/rust/alloc/
H A Dlib.rs231 pub mod alloc;
239 pub mod boxed;
242 pub use std::boxed::Box;
245 pub mod borrow;
246 pub mod collections;
248 pub mod ffi;
250 pub mod fmt;
252 pub mod rc;
253 pub mod slice;
255 pub mod str;
[all …]
/openbmc/linux/rust/kernel/sync/
H A Dlock.rs13 pub mod mutex;
14 pub mod spinlock;
27 pub unsafe trait Backend {
78 pub struct Lock<T: ?Sized, B: Backend> {
90 pub(crate) data: UnsafeCell<T>,
103 pub fn new(t: T, name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()
118 pub fn lock(&self) -> Guard<'_, T, B> { in lock()
133 pub struct Guard<'a, T: ?Sized, B: Backend> {
134 pub(crate) lock: &'a Lock<T, B>,
135 pub(crate) state: B::GuardState,
[all …]

12345678910>>...29