Home
last modified time | relevance | path

Searched defs:seg (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/kernel/liteos_a/kernel/base/vm/
Dshm.c164 STATIC inline VOID ShmSetSharedFlag(struct shmIDSource *seg) in ShmSetSharedFlag()
173 STATIC inline VOID ShmClearSharedFlag(struct shmIDSource *seg) in ShmClearSharedFlag()
182 STATIC VOID ShmPagesRefDec(struct shmIDSource *seg) in ShmPagesRefDec()
195 struct shmIDSource *seg = NULL; in ShmAllocSeg() local
250 STATIC INLINE VOID ShmFreeSeg(struct shmIDSource *seg) in ShmFreeSeg()
268 struct shmIDSource *seg = NULL; in ShmFindSegByKey() local
283 struct shmIDSource *seg = &g_shmSegs[segNum]; in ShmSegValidCheck() local
299 struct shmIDSource *seg = NULL; in ShmFindSeg() local
335 struct shmIDSource *seg = NULL; in OsShmFork() local
354 struct shmIDSource *seg = NULL; in OsShmRegionFree() local
[all …]
Dlos_vm_phys.c60 STATIC VOID OsVmPhysLruInit(struct VmPhysSeg *seg) in OsVmPhysLruInit()
76 struct VmPhysSeg *seg = NULL; in OsVmPhysSegCreate() local
128 STATIC INLINE VOID OsVmPhysFreeListInit(struct VmPhysSeg *seg) in OsVmPhysFreeListInit()
147 struct VmPhysSeg *seg = NULL; in OsVmPhysInit() local
162 struct VmPhysSeg *seg = NULL; in OsVmPhysFreeListAddUnsafe() local
179 struct VmPhysSeg *seg = NULL; in OsVmPhysFreeListDelUnsafe() local
208 struct VmPhysSeg *seg = NULL; in OsVmPhysToPage() local
247 struct VmPhysSeg *seg = NULL; in OsVmVaddrToPage() local
270 STATIC LosVmPage *OsVmPhysLargeAlloc(struct VmPhysSeg *seg, size_t nPages) in OsVmPhysLargeAlloc()
306 STATIC LosVmPage *OsVmPhysPagesAlloc(struct VmPhysSeg *seg, size_t nPages) in OsVmPhysPagesAlloc()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dwr.c35 static inline void handle_post_send_edge(struct mlx5_ib_wq *sq, void **seg, in handle_post_send_edge()
59 void **seg, u32 *wqe_sz, const void *src, in memcpy_send_wqe()
105 void **seg, int *size, void **cur_edge) in set_eth_seg()
373 static void set_reg_mkey_seg(struct mlx5_mkey_seg *seg, in set_reg_mkey_seg()
395 static void set_linv_mkey_seg(struct mlx5_mkey_seg *seg) in set_linv_mkey_seg()
402 struct mlx5_mkey_seg *seg, in set_reg_mkey_segment()
484 struct mlx5_wqe_inline_seg *seg; in set_data_inl_seg() local
640 struct mlx5_ib_qp *qp, void **seg, int *size, in set_sig_data_segment()
749 static void set_sig_mkey_segment(struct mlx5_mkey_seg *seg, in set_sig_mkey_segment()
779 struct mlx5_ib_qp *qp, void **seg, int *size, in set_pi_umr_wr()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dpci_mcfg.c44 #define AL_ECAM(table_id, rev, seg, ops) \ argument
56 #define QCOM_ECAM32(seg) \ argument
68 #define HISI_QUAD_DOM(table_id, seg, ops) \ argument
98 #define THUNDER_ECAM_QUIRK(rev, seg) \ argument
119 #define XGENE_V1_ECAM_MCFG(rev, seg) \ argument
123 #define XGENE_V2_ECAM_MCFG(rev, seg) \ argument
146 #define ALTRA_ECAM_QUIRK(rev, seg) \ argument
218 u16 seg = root->segment; in pci_mcfg_lookup() local
/kernel/linux/linux-4.19/arch/x86/kvm/
Dmtrr.c183 static u64 fixed_mtrr_seg_unit_size(int seg) in fixed_mtrr_seg_unit_size()
188 static bool fixed_msr_to_seg_unit(u32 msr, int *seg, int *unit) in fixed_msr_to_seg_unit()
214 static void fixed_mtrr_seg_unit_range(int seg, int unit, u64 *start, u64 *end) in fixed_mtrr_seg_unit_range()
224 static int fixed_mtrr_seg_unit_range_index(int seg, int unit) in fixed_mtrr_seg_unit_range_index()
235 static int fixed_mtrr_seg_end_range_index(int seg) in fixed_mtrr_seg_end_range_index()
246 int seg, unit; in fixed_msr_to_range() local
257 int seg, unit; in fixed_msr_to_range_index() local
268 int seg, seg_num = ARRAY_SIZE(fixed_seg_table); in fixed_mtrr_addr_to_seg() local
279 static int fixed_mtrr_addr_seg_to_range_index(u64 addr, int seg) in fixed_mtrr_addr_seg_to_range_index()
290 static u64 fixed_mtrr_range_end_addr(int seg, int index) in fixed_mtrr_range_end_addr()
[all …]
/kernel/linux/linux-5.10/arch/x86/kvm/
Dmtrr.c181 static u64 fixed_mtrr_seg_unit_size(int seg) in fixed_mtrr_seg_unit_size()
186 static bool fixed_msr_to_seg_unit(u32 msr, int *seg, int *unit) in fixed_msr_to_seg_unit()
212 static void fixed_mtrr_seg_unit_range(int seg, int unit, u64 *start, u64 *end) in fixed_mtrr_seg_unit_range()
222 static int fixed_mtrr_seg_unit_range_index(int seg, int unit) in fixed_mtrr_seg_unit_range_index()
233 static int fixed_mtrr_seg_end_range_index(int seg) in fixed_mtrr_seg_end_range_index()
244 int seg, unit; in fixed_msr_to_range() local
255 int seg, unit; in fixed_msr_to_range_index() local
266 int seg, seg_num = ARRAY_SIZE(fixed_seg_table); in fixed_mtrr_addr_to_seg() local
277 static int fixed_mtrr_addr_seg_to_range_index(u64 addr, int seg) in fixed_mtrr_addr_seg_to_range_index()
288 static u64 fixed_mtrr_range_end_addr(int seg, int index) in fixed_mtrr_range_end_addr()
[all …]
/kernel/linux/linux-5.10/drivers/firmware/google/
Dmemconsole-coreboot.c45 struct seg { /* describes ring buffer segments in logical order */ in memconsole_coreboot_read() struct
46 u32 phys; /* physical offset from start of mem buffer */ in memconsole_coreboot_read()
47 u32 len; /* length of segment */ in memconsole_coreboot_read()
48 } seg[2] = { {0}, {0} }; in memconsole_coreboot_read() local
/kernel/linux/linux-4.19/drivers/firmware/google/
Dmemconsole-coreboot.c52 struct seg { /* describes ring buffer segments in logical order */ in memconsole_coreboot_read() struct
53 u32 phys; /* physical offset from start of mem buffer */ in memconsole_coreboot_read()
54 u32 len; /* length of segment */ in memconsole_coreboot_read()
55 } seg[2] = { {0}, {0} }; in memconsole_coreboot_read() local
/kernel/linux/linux-4.19/ipc/
Dmsgutil.c67 struct msg_msgseg *seg; in alloc_msg() local
91 struct msg_msgseg *seg; in load_msg() local
157 struct msg_msgseg *seg; in store_msg() local
175 struct msg_msgseg *seg; in free_msg() local
/kernel/linux/linux-5.10/ipc/
Dmsgutil.c63 struct msg_msgseg *seg; in alloc_msg() local
87 struct msg_msgseg *seg; in load_msg() local
153 struct msg_msgseg *seg; in store_msg() local
171 struct msg_msgseg *seg; in free_msg() local
/kernel/linux/linux-4.19/drivers/usb/wusbcore/
Dwa-xfer.c120 static inline void wa_seg_init(struct wa_seg *seg) in wa_seg_init()
142 struct wa_seg **seg; /* transfer segments */ member
178 struct wa_seg *seg = xfer->seg[cnt]; in wa_xfer_destroy() local
327 struct wa_seg *seg; in __wa_xfer_is_done() local
389 struct wa_seg *seg, enum wa_seg_status status) in __wa_xfer_mark_seg_as_done()
456 struct wa_seg *seg = xfer->seg[seg_index]; in __wa_xfer_abort_cb() local
658 struct wa_seg *seg) { in __wa_setup_isoc_packet_descr()
684 struct wa_seg *seg = xfer->seg[0]; in __wa_xfer_setup_hdr0() local
734 struct wa_seg *seg = urb->context; in wa_seg_dto_cb() local
871 struct wa_seg *seg = urb->context; in wa_seg_iso_pack_desc_cb() local
[all …]
/kernel/linux/linux-4.19/arch/s390/mm/
Dvmem.c309 static int insert_memory_segment(struct memory_segment *seg) in insert_memory_segment()
331 static void remove_memory_segment(struct memory_segment *seg) in remove_memory_segment()
336 static void __remove_shared_memory(struct memory_segment *seg) in __remove_shared_memory()
344 struct memory_segment *seg; in vmem_remove_mapping() local
368 struct memory_segment *seg; in vmem_add_mapping() local
428 struct memory_segment *seg; in vmem_convert_memory_chunk() local
Dextmem.c242 query_segment_type (struct dcss_segment *seg) in query_segment_type()
356 struct dcss_segment seg; in segment_type() local
373 segment_overlaps_others (struct dcss_segment *seg) in segment_overlaps_others()
399 struct dcss_segment *seg; in __segment_load() local
518 struct dcss_segment *seg; in segment_load() local
559 struct dcss_segment *seg; in segment_modify_shared() local
641 struct dcss_segment *seg; in segment_unload() local
670 struct dcss_segment *seg; in segment_save() local
/kernel/linux/linux-4.19/drivers/acpi/
Dpci_mcfg.c55 #define QCOM_ECAM32(seg) \ argument
67 #define HISI_QUAD_DOM(table_id, seg, ops) \ argument
97 #define THUNDER_ECAM_QUIRK(rev, seg) \ argument
118 #define XGENE_V1_ECAM_MCFG(rev, seg) \ argument
122 #define XGENE_V2_ECAM_MCFG(rev, seg) \ argument
197 u16 seg = root->segment; in pci_mcfg_lookup() local
/kernel/linux/linux-4.19/arch/x86/pci/
Dnumachip.c21 static inline char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn) in pci_dev_base()
30 static int pci_mmcfg_read_numachip(unsigned int seg, unsigned int bus, in pci_mmcfg_read_numachip()
70 static int pci_mmcfg_write_numachip(unsigned int seg, unsigned int bus, in pci_mmcfg_write_numachip()
Ddirect.c21 static int pci_conf1_read(unsigned int seg, unsigned int bus, in pci_conf1_read()
52 static int pci_conf1_write(unsigned int seg, unsigned int bus, in pci_conf1_write()
95 static int pci_conf2_read(unsigned int seg, unsigned int bus, in pci_conf2_read()
137 static int pci_conf2_write(unsigned int seg, unsigned int bus, in pci_conf2_write()
Dmmconfig_64.c19 static char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn) in pci_dev_base()
28 static int pci_mmcfg_read(unsigned int seg, unsigned int bus, in pci_mmcfg_read()
62 static int pci_mmcfg_write(unsigned int seg, unsigned int bus, in pci_mmcfg_write()
Dmmconfig_32.c28 static u32 get_base_addr(unsigned int seg, int bus, unsigned devfn) in get_base_addr()
52 static int pci_mmcfg_read(unsigned int seg, unsigned int bus, in pci_mmcfg_read()
91 static int pci_mmcfg_write(unsigned int seg, unsigned int bus, in pci_mmcfg_write()
/kernel/linux/linux-5.10/arch/x86/pci/
Dnumachip.c18 static inline char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn) in pci_dev_base()
27 static int pci_mmcfg_read_numachip(unsigned int seg, unsigned int bus, in pci_mmcfg_read_numachip()
67 static int pci_mmcfg_write_numachip(unsigned int seg, unsigned int bus, in pci_mmcfg_write_numachip()
Ddirect.c21 static int pci_conf1_read(unsigned int seg, unsigned int bus, in pci_conf1_read()
52 static int pci_conf1_write(unsigned int seg, unsigned int bus, in pci_conf1_write()
95 static int pci_conf2_read(unsigned int seg, unsigned int bus, in pci_conf2_read()
137 static int pci_conf2_write(unsigned int seg, unsigned int bus, in pci_conf2_write()
Dmmconfig_64.c19 static char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn) in pci_dev_base()
28 static int pci_mmcfg_read(unsigned int seg, unsigned int bus, in pci_mmcfg_read()
62 static int pci_mmcfg_write(unsigned int seg, unsigned int bus, in pci_mmcfg_write()
Dmmconfig_32.c27 static u32 get_base_addr(unsigned int seg, int bus, unsigned devfn) in get_base_addr()
51 static int pci_mmcfg_read(unsigned int seg, unsigned int bus, in pci_mmcfg_read()
90 static int pci_mmcfg_write(unsigned int seg, unsigned int bus, in pci_mmcfg_write()
/kernel/linux/linux-5.10/arch/s390/mm/
Dextmem.c165 query_segment_type (struct dcss_segment *seg) in query_segment_type()
254 struct dcss_segment seg; in segment_type() local
271 segment_overlaps_others (struct dcss_segment *seg) in segment_overlaps_others()
297 struct dcss_segment *seg; in __segment_load() local
414 struct dcss_segment *seg; in segment_load() local
455 struct dcss_segment *seg; in segment_modify_shared() local
537 struct dcss_segment *seg; in segment_unload() local
566 struct dcss_segment *seg; in segment_save() local
/kernel/linux/linux-4.19/arch/x86/ia32/
Dia32_signal.c46 #define get_user_seg(seg) ({ unsigned int v; savesegment(seg, v); v; }) argument
47 #define set_user_seg(seg, v) loadsegment_##seg(v) argument
53 #define GET_SEG(seg) ({ \ argument
59 #define COPY_SEG_CPL3(seg) do { \ argument
63 #define RELOAD_SEG(seg) { \ argument
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/display/dc/i2caux/dce120/
Di2caux_dce120.c47 #define BASE_INNER(seg) \ argument
51 #define BASE(seg) \ argument

12345678910>>...13