Home
last modified time | relevance | path

Searched full:area (Results 1 – 25 of 4527) sorted by relevance

12345678910>>...182

/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Dtcm.h48 /* 1d or 2d area */
50 bool is2d; /* whether area is 1d or 2d */
69 struct tcm_area *area);
70 s32 (*reserve_1d)(struct tcm *tcm, u32 slots, struct tcm_area *area);
71 s32 (*free)(struct tcm *tcm, struct tcm_area *area);
85 * area pointer is NULL
111 * Reserves a 2D area in the container.
114 * @param height Height(in pages) of area to be reserved.
115 * @param width Width(in pages) of area to be reserved.
116 * @param align Alignment requirement for top-left corner of area. Not
[all …]
Dtcm-sita.c64 /* found a long enough free area */ in r2l_b2t_1d()
130 /* assume the area is free until we find an overlap */ in l2r_t2b()
133 /* check subsequent rows to see if complete area is free */ in l2r_t2b()
154 /* set area as in-use. iterate over rows */ in l2r_t2b()
163 struct tcm_area *area) in sita_reserve_1d() argument
171 area->p0.x = pos % tcm->width; in sita_reserve_1d()
172 area->p0.y = pos / tcm->width; in sita_reserve_1d()
173 area->p1.x = (pos + num_slots - 1) % tcm->width; in sita_reserve_1d()
174 area->p1.y = (pos + num_slots - 1) / tcm->width; in sita_reserve_1d()
183 struct tcm_area *area) in sita_reserve_2d() argument
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/omapdrm/
Dtcm.h48 /* 1d or 2d area */
50 bool is2d; /* whether area is 1d or 2d */
69 struct tcm_area *area);
70 s32 (*reserve_1d)(struct tcm *tcm, u32 slots, struct tcm_area *area);
71 s32 (*free)(struct tcm *tcm, struct tcm_area *area);
85 * area pointer is NULL
111 * Reserves a 2D area in the container.
114 * @param height Height(in pages) of area to be reserved.
115 * @param width Width(in pages) of area to be reserved.
116 * @param align Alignment requirement for top-left corner of area. Not
[all …]
Dtcm-sita.c64 /* found a long enough free area */ in r2l_b2t_1d()
130 /* assume the area is free until we find an overlap */ in l2r_t2b()
133 /* check subsequent rows to see if complete area is free */ in l2r_t2b()
154 /* set area as in-use. iterate over rows */ in l2r_t2b()
163 struct tcm_area *area) in sita_reserve_1d() argument
171 area->p0.x = pos % tcm->width; in sita_reserve_1d()
172 area->p0.y = pos / tcm->width; in sita_reserve_1d()
173 area->p1.x = (pos + num_slots - 1) % tcm->width; in sita_reserve_1d()
174 area->p1.y = (pos + num_slots - 1) / tcm->width; in sita_reserve_1d()
183 struct tcm_area *area) in sita_reserve_2d() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cppcore.c57 * @waitq: area wait queue
86 struct nfp_cpp_area *area; member
93 struct mutex mutex; /* Lock for the area's refcount */
132 struct nfp_cpp_area *area = in __release_cpp_area() local
134 struct nfp_cpp *cpp = nfp_cpp_area_cpp(area); in __release_cpp_area()
136 if (area->cpp->op->area_cleanup) in __release_cpp_area()
137 area->cpp->op->area_cleanup(area); in __release_cpp_area()
140 __resource_del(&area->resource); in __release_cpp_area()
142 kfree(area); in __release_cpp_area()
145 static void nfp_cpp_area_put(struct nfp_cpp_area *area) in nfp_cpp_area_put() argument
[all …]
Dnfp_cpp.h40 /* Max size of area it should be safe to request */
219 void nfp_cpp_area_free(struct nfp_cpp_area *area);
220 int nfp_cpp_area_acquire(struct nfp_cpp_area *area);
221 int nfp_cpp_area_acquire_nonblocking(struct nfp_cpp_area *area);
222 void nfp_cpp_area_release(struct nfp_cpp_area *area);
223 void nfp_cpp_area_release_free(struct nfp_cpp_area *area);
224 int nfp_cpp_area_read(struct nfp_cpp_area *area, unsigned long offset,
226 int nfp_cpp_area_write(struct nfp_cpp_area *area, unsigned long offset,
228 size_t nfp_cpp_area_size(struct nfp_cpp_area *area);
232 struct resource *nfp_cpp_area_resource(struct nfp_cpp_area *area);
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cppcore.c86 * @waitq: area wait queue
114 struct nfp_cpp_area *area; member
121 struct mutex mutex; /* Lock for the area's refcount */
160 struct nfp_cpp_area *area = in __release_cpp_area() local
162 struct nfp_cpp *cpp = nfp_cpp_area_cpp(area); in __release_cpp_area()
164 if (area->cpp->op->area_cleanup) in __release_cpp_area()
165 area->cpp->op->area_cleanup(area); in __release_cpp_area()
168 __resource_del(&area->resource); in __release_cpp_area()
170 kfree(area); in __release_cpp_area()
173 static void nfp_cpp_area_put(struct nfp_cpp_area *area) in nfp_cpp_area_put() argument
[all …]
Dnfp_cpp.h63 /* Max size of area it should be safe to request */
241 void nfp_cpp_area_free(struct nfp_cpp_area *area);
242 int nfp_cpp_area_acquire(struct nfp_cpp_area *area);
243 int nfp_cpp_area_acquire_nonblocking(struct nfp_cpp_area *area);
244 void nfp_cpp_area_release(struct nfp_cpp_area *area);
245 void nfp_cpp_area_release_free(struct nfp_cpp_area *area);
246 int nfp_cpp_area_read(struct nfp_cpp_area *area, unsigned long offset,
248 int nfp_cpp_area_write(struct nfp_cpp_area *area, unsigned long offset,
250 size_t nfp_cpp_area_size(struct nfp_cpp_area *area);
254 struct resource *nfp_cpp_area_resource(struct nfp_cpp_area *area);
[all …]
/kernel/linux/linux-4.19/arch/powerpc/include/asm/
Dexception-64s.h40 /* PACA save area offsets (exgen, exmc, etc) */
66 * in the save area so it's not necessary to overlap them. Could be used
192 #define EXCEPTION_RELON_PROLOG(area, label, h, extra, vec) \ argument
194 EXCEPTION_PROLOG_0(area); \
195 EXCEPTION_PROLOG_1(area, extra, vec); \
232 #define SAVE_CTR(reg, area) mfctr reg ; std reg,area+EX_CTR(r13) argument
233 #define GET_CTR(reg, area) ld reg,area+EX_CTR(r13) argument
234 #define RESTORE_CTR(reg, area) ld reg,area+EX_CTR(r13) ; mtctr reg argument
237 #define SAVE_CTR(reg, area) argument
238 #define GET_CTR(reg, area) mfctr reg argument
[all …]
/kernel/linux/linux-5.10/arch/x86/xen/
Dgrant-table.c26 struct vm_struct *area; member
40 *__shared = shared = gnttab_shared_vm_area.area->addr; in arch_gnttab_map_shared()
62 *__shared = shared = gnttab_status_vm_area.area->addr; in arch_gnttab_map_status()
81 if (shared == gnttab_status_vm_area.area->addr) in arch_gnttab_unmap()
96 struct gnttab_vm_area *area = data; in gnttab_apply() local
98 area->ptes[area->idx++] = pte; in gnttab_apply()
102 static int arch_gnttab_valloc(struct gnttab_vm_area *area, unsigned nr_frames) in arch_gnttab_valloc() argument
104 area->ptes = kmalloc_array(nr_frames, sizeof(*area->ptes), GFP_KERNEL); in arch_gnttab_valloc()
105 if (area->ptes == NULL) in arch_gnttab_valloc()
107 area->area = get_vm_area(PAGE_SIZE * nr_frames, VM_IOREMAP); in arch_gnttab_valloc()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dras.c109 struct ptcal_area *area; in cbe_ptcal_enable_on_node() local
116 area = kmalloc(sizeof(*area), GFP_KERNEL); in cbe_ptcal_enable_on_node()
117 if (!area) in cbe_ptcal_enable_on_node()
120 area->nid = nid; in cbe_ptcal_enable_on_node()
121 area->order = order; in cbe_ptcal_enable_on_node()
122 area->pages = __alloc_pages_node(area->nid, in cbe_ptcal_enable_on_node()
124 area->order); in cbe_ptcal_enable_on_node()
126 if (!area->pages) { in cbe_ptcal_enable_on_node()
128 __func__, area->nid); in cbe_ptcal_enable_on_node()
133 * We move the ptcal area to the middle of the allocated in cbe_ptcal_enable_on_node()
[all …]
/kernel/linux/linux-4.19/arch/powerpc/platforms/cell/
Dras.c113 struct ptcal_area *area; in cbe_ptcal_enable_on_node() local
120 area = kmalloc(sizeof(*area), GFP_KERNEL); in cbe_ptcal_enable_on_node()
121 if (!area) in cbe_ptcal_enable_on_node()
124 area->nid = nid; in cbe_ptcal_enable_on_node()
125 area->order = order; in cbe_ptcal_enable_on_node()
126 area->pages = __alloc_pages_node(area->nid, in cbe_ptcal_enable_on_node()
128 area->order); in cbe_ptcal_enable_on_node()
130 if (!area->pages) { in cbe_ptcal_enable_on_node()
132 __func__, area->nid); in cbe_ptcal_enable_on_node()
137 * We move the ptcal area to the middle of the allocated in cbe_ptcal_enable_on_node()
[all …]
/kernel/linux/linux-5.10/mm/
Dvmalloc.c157 * unmap_kernel_range_noflush - unmap kernel VM area
158 * @start: start of the VM area to unmap
159 * @size: size of the VM area to unmap
161 * Unmap PFN_UP(@size) pages at @addr. The VM area @addr and @size specify
275 * map_kernel_range_noflush - map kernel VM area with the specified pages
276 * @addr: start of the VM area to map
277 * @size: size of the VM area to map
281 * Map PFN_UP(@size) pages at @addr. The VM area @addr and @size specify should
442 * find a lowest match of free area.
734 * free area is inserted. If VA has been merged, it is
[all …]
/kernel/linux/linux-4.19/mm/
Dvmalloc.c582 * Track the highest possible candidate for pcpu area in __free_vmap_area()
583 * allocation. Areas outside of vmalloc area can be returned in __free_vmap_area()
585 * vmalloc area proper. in __free_vmap_area()
719 * Free a vmap area, caller ensuring that the area has been unmapped
738 * Free and unmap a vmap area
1196 * vm_area_add_early - add vmap area early during boot
1199 * This function is used to add fixed kernel vm area to vmlist before
1222 * vm_area_register_early - register vmap area early during boot
1226 * This function is used to register kernel vm area before
1280 * map_kernel_range_noflush - map kernel VM area with the specified pages
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dfb.c33 DEFINE_RES_MEM_NAMED(0x70000000u, 0x4000000, "vrfb-area-0"),
34 DEFINE_RES_MEM_NAMED(0x74000000u, 0x4000000, "vrfb-area-1"),
35 DEFINE_RES_MEM_NAMED(0x78000000u, 0x4000000, "vrfb-area-2"),
36 DEFINE_RES_MEM_NAMED(0x7c000000u, 0x4000000, "vrfb-area-3"),
41 DEFINE_RES_MEM_NAMED(0x70000000u, 0x4000000, "vrfb-area-0"),
42 DEFINE_RES_MEM_NAMED(0x74000000u, 0x4000000, "vrfb-area-1"),
43 DEFINE_RES_MEM_NAMED(0x78000000u, 0x4000000, "vrfb-area-2"),
44 DEFINE_RES_MEM_NAMED(0x7c000000u, 0x4000000, "vrfb-area-3"),
45 DEFINE_RES_MEM_NAMED(0xe0000000u, 0x4000000, "vrfb-area-4"),
46 DEFINE_RES_MEM_NAMED(0xe4000000u, 0x4000000, "vrfb-area-5"),
[all …]
/kernel/linux/linux-4.19/drivers/video/fbdev/
Ddnfb.c108 static void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area);
148 void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area) in dnfb_copyarea() argument
156 incr = (area->dy <= area->sy) ? 1 : -1; in dnfb_copyarea()
158 src = (ushort *)(info->screen_base + area->sy * info->fix.line_length + in dnfb_copyarea()
159 (area->sx >> 4)); in dnfb_copyarea()
160 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); in dnfb_copyarea()
163 y_delta = (info->fix.line_length * 8) - area->sx - area->width; in dnfb_copyarea()
164 x_end = area->dx + area->width - 1; in dnfb_copyarea()
165 x_word_count = (x_end >> 4) - (area->dx >> 4) + 1; in dnfb_copyarea()
166 start_mask = 0xffff0000 >> (area->dx & 0xf); in dnfb_copyarea()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
Ddnfb.c109 static void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area);
149 void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area) in dnfb_copyarea() argument
157 incr = (area->dy <= area->sy) ? 1 : -1; in dnfb_copyarea()
159 src = (ushort *)(info->screen_base + area->sy * info->fix.line_length + in dnfb_copyarea()
160 (area->sx >> 4)); in dnfb_copyarea()
161 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); in dnfb_copyarea()
164 y_delta = (info->fix.line_length * 8) - area->sx - area->width; in dnfb_copyarea()
165 x_end = area->dx + area->width - 1; in dnfb_copyarea()
166 x_word_count = (x_end >> 4) - (area->dx >> 4) + 1; in dnfb_copyarea()
167 start_mask = 0xffff0000 >> (area->dx & 0xf); in dnfb_copyarea()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_2/
Dia_css_ynr2_types.h31 u16 edge_sense_gain_0; /** Sensitivity of edge in dark area.
34 u16 edge_sense_gain_1; /** Sensitivity of edge in bright area.
37 u16 corner_sense_gain_0; /** Sensitivity of corner in dark area.
40 u16 corner_sense_gain_1; /** Sensitivity of corner in bright area.
56 u16 coring_pos_0; /** Coring threshold for positive edge in dark area.
59 u16 coring_pos_1; /** Coring threshold for positive edge in bright area.
62 u16 coring_neg_0; /** Coring threshold for negative edge in dark area.
65 u16 coring_neg_1; /** Coring threshold for negative edge in bright area.
68 u16 gain_pos_0; /** Gain for positive edge in dark area.
71 u16 gain_pos_1; /** Gain for positive edge in bright area.
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-omap2/
Dfb.c46 DEFINE_RES_MEM_NAMED(0x70000000u, 0x4000000, "vrfb-area-0"),
47 DEFINE_RES_MEM_NAMED(0x74000000u, 0x4000000, "vrfb-area-1"),
48 DEFINE_RES_MEM_NAMED(0x78000000u, 0x4000000, "vrfb-area-2"),
49 DEFINE_RES_MEM_NAMED(0x7c000000u, 0x4000000, "vrfb-area-3"),
54 DEFINE_RES_MEM_NAMED(0x70000000u, 0x4000000, "vrfb-area-0"),
55 DEFINE_RES_MEM_NAMED(0x74000000u, 0x4000000, "vrfb-area-1"),
56 DEFINE_RES_MEM_NAMED(0x78000000u, 0x4000000, "vrfb-area-2"),
57 DEFINE_RES_MEM_NAMED(0x7c000000u, 0x4000000, "vrfb-area-3"),
58 DEFINE_RES_MEM_NAMED(0xe0000000u, 0x4000000, "vrfb-area-4"),
59 DEFINE_RES_MEM_NAMED(0xe4000000u, 0x4000000, "vrfb-area-5"),
[all …]
/kernel/linux/linux-4.19/arch/x86/xen/
Dgrant-table.c50 struct vm_struct *area; member
63 *__shared = shared = gnttab_shared_vm_area.area->addr; in arch_gnttab_map_shared()
85 *__shared = shared = gnttab_status_vm_area.area->addr; in arch_gnttab_map_status()
104 if (shared == gnttab_status_vm_area.area->addr) in arch_gnttab_unmap()
117 static int arch_gnttab_valloc(struct gnttab_vm_area *area, unsigned nr_frames) in arch_gnttab_valloc() argument
119 area->ptes = kmalloc_array(nr_frames, sizeof(*area->ptes), GFP_KERNEL); in arch_gnttab_valloc()
120 if (area->ptes == NULL) in arch_gnttab_valloc()
123 area->area = alloc_vm_area(PAGE_SIZE * nr_frames, area->ptes); in arch_gnttab_valloc()
124 if (area->area == NULL) { in arch_gnttab_valloc()
125 kfree(area->ptes); in arch_gnttab_valloc()
[all …]
/kernel/linux/linux-5.10/kernel/
Dkcov.c54 /* The lock protects mode, size, area and t. */
60 void *area; member
65 /* Size of remote area (in long's). */
132 struct kcov_remote_area *area; in kcov_remote_area_get() local
136 area = list_entry(pos, struct kcov_remote_area, list); in kcov_remote_area_get()
137 if (area->size == size) { in kcov_remote_area_get()
138 list_del(&area->list); in kcov_remote_area_get()
139 return area; in kcov_remote_area_get()
146 static void kcov_remote_area_put(struct kcov_remote_area *area, in kcov_remote_area_put() argument
149 INIT_LIST_HEAD(&area->list); in kcov_remote_area_put()
[all …]
/kernel/linux/linux-5.10/drivers/block/paride/
DTransition-notes23 consider the following area:
49 1) at any time at most one thread of execution can be in that area or
60 (1) can become not true if some thread enters that area while another is there.
62 In the first case the thread was already in the area. In the second,
66 area.
67 c) pi_do_claimed() is called by pd.c only from the area.
68 d) ps_tq_int() can enter the area only when the thread is holding
71 e) do_pd_{read,write}* could be called only from the area. The only
77 f) pi_wake_up() can enter the area only when the thread is holding
82 Indeed, pd_busy is reset only in the area and thread that resets
[all …]
/kernel/linux/linux-4.19/drivers/block/paride/
DTransition-notes23 consider the following area:
49 1) at any time at most one thread of execution can be in that area or
60 (1) can become not true if some thread enters that area while another is there.
62 In the first case the thread was already in the area. In the second,
66 area.
67 c) pi_do_claimed() is called by pd.c only from the area.
68 d) ps_tq_int() can enter the area only when the thread is holding
71 e) do_pd_{read,write}* could be called only from the area. The only
77 f) pi_wake_up() can enter the area only when the thread is holding
82 Indeed, pd_busy is reset only in the area and thread that resets
[all …]
/kernel/linux/linux-4.19/kernel/
Dkcov.c48 /* The lock protects mode, size, area and t. */
54 void *area; member
96 unsigned long *area; in __sanitizer_cov_trace_pc() local
104 area = t->kcov_area; in __sanitizer_cov_trace_pc()
106 pos = READ_ONCE(area[0]) + 1; in __sanitizer_cov_trace_pc()
108 area[pos] = ip; in __sanitizer_cov_trace_pc()
109 WRITE_ONCE(area[0], pos); in __sanitizer_cov_trace_pc()
118 u64 *area; in write_comp_data() local
131 area = (u64 *)t->kcov_area; in write_comp_data()
134 count = READ_ONCE(area[0]); in write_comp_data()
[all …]
/kernel/linux/linux-5.10/arch/x86/mm/
Dmem_encrypt_boot.S36 /* Set up a one page stack in the non-encrypted memory area */
42 movq %rdi, %r10 /* Encrypted area */
43 movq %rsi, %r11 /* Decrypted area */
44 movq %rdx, %r12 /* Area length */
53 movq %r10, %rdi /* Encrypted area */
54 movq %r11, %rsi /* Decrypted area */
56 movq %r12, %rcx /* Area length */
79 * routine is defined here and then copied to an area outside
87 * RCX - length of area
92 * The area will be encrypted by copying from the non-encrypted
[all …]

12345678910>>...182