id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
vme_unregister_driver(9) | NAME vme_unregister_driver - Unregister a VME driver
SYNOPSIS void vme_unregister_driver (struct vme_driver *drv );
ARGUMENTS drv Pointer to VME driver structure to unregister.
DESCRIPTION Unregister a VME device driver from the VME subsystem.
SEE ALSO Kernel file ./drivers/staging/vme_user/vme.c vme_allo... |
vmemdup_array_user(9) | NAME vmemdup_array_user - duplicate array from user space
SYNOPSIS void * vmemdup_array_user (const void __user *src , size_t n , size_t size );
ARGUMENTS src source address in user space
n number of array members to copy
size size of one array member
RETURN an ERR_PTR on fai... |
vmemdup_user(9) | NAME vmemdup_user - duplicate memory region from user space
SYNOPSIS void * vmemdup_user (const void __user *src , size_t len );
ARGUMENTS src source address in user space
len number of bytes to copy
RETURN an ERR_PTR on failure. Result may be not physically contiguous. Use kvfree to free.
... |
vmemmap_remap_alloc(9) | NAME vmemmap_remap_alloc - remap the vmemmap virtual address range [@start, end) to the page which is from the @vmemmap_pages respectively.
SYNOPSIS int vmemmap_remap_alloc (unsigned long start , unsigned long end , unsigned long reuse , unsigned long flags );
ARGUMENTS start start address of the vmemmap virtua... |
vmemmap_remap_free(9) | NAME vmemmap_remap_free - remap the vmemmap virtual address range [@start, @end) to the page which @reuse is mapped to, then free vmemmap which the range are mapped to.
SYNOPSIS int vmemmap_remap_free (unsigned long start , unsigned long end , unsigned long reuse , struct list_head *vmemmap_pages , unsigned long flags... |
vmemmap_remap_split(9) | NAME vmemmap_remap_split - split the vmemmap virtual address range [@start, @end) backing PMDs of the directmap into PTEs
SYNOPSIS int vmemmap_remap_split (unsigned long start , unsigned long end , unsigned long reuse );
ARGUMENTS start start address of the vmemmap virtual address range that we want to remap.
... |
vmf_insert_folio_pud(9) | NAME vmf_insert_folio_pud - insert a pud size folio mapped by a pud entry
SYNOPSIS vm_fault_t vmf_insert_folio_pud (struct vm_fault *vmf , struct folio *folio , bool write );
ARGUMENTS vmf Structure describing the fault
folio folio to insert
write whether it's a write fault
RETURN... |
vmf_insert_pfn(9) | NAME vmf_insert_pfn - insert single pfn into user vma
SYNOPSIS vm_fault_t vmf_insert_pfn (struct vm_area_struct *vma , unsigned long addr , unsigned long pfn );
ARGUMENTS vma user vma to map to
addr target user address of this page
pfn source kernel pfn
DESCRIPTION Similar to ... |
vmf_insert_pfn_pmd(9) | NAME vmf_insert_pfn_pmd - insert a pmd size pfn
SYNOPSIS vm_fault_t vmf_insert_pfn_pmd (struct vm_fault *vmf , unsigned long pfn , bool write );
ARGUMENTS vmf Structure describing the fault
pfn pfn to insert
write whether it's a write fault
DESCRIPTION Insert a pmd size pfn. See... |
vmf_insert_pfn_prot(9) | NAME vmf_insert_pfn_prot - insert single pfn into user vma with specified pgprot
SYNOPSIS vm_fault_t vmf_insert_pfn_prot (struct vm_area_struct *vma , unsigned long addr , unsigned long pfn , pgprot_t pgprot );
ARGUMENTS vma user vma to map to
addr target user address of this page
pfn ... |
vmf_insert_pfn_pud(9) | NAME vmf_insert_pfn_pud - insert a pud size pfn
SYNOPSIS vm_fault_t vmf_insert_pfn_pud (struct vm_fault *vmf , unsigned long pfn , bool write );
ARGUMENTS vmf Structure describing the fault
pfn pfn to insert
write whether it's a write fault
DESCRIPTION Insert a pud size pfn. See... |
vmmouse_check_hypervisor(9) | NAME vmmouse_check_hypervisor - Check if we're running on a supported hypervisor
SYNOPSIS bool vmmouse_check_hypervisor (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/input/mouse/vmmouse.c struct vmmouse_data(9), vmmouse_report_button(9), vmmouse_report_events(9), vmmouse_process_byte(9)... |
vmmouse_detect(9) | NAME vmmouse_detect - Probe whether vmmouse is available
SYNOPSIS int vmmouse_detect (struct psmouse *psmouse , bool set_properties );
ARGUMENTS psmouse Pointer to the psmouse struct
set_properties
Whether to set psmouse name and vendor
DESCRIPTION Returns 0 if vmmouse channel is avail... |
vmmouse_disable(9) | NAME vmmouse_disable - Disable vmmouse
SYNOPSIS void vmmouse_disable (struct psmouse *psmouse );
ARGUMENTS psmouse Pointer to the psmouse struct
DESCRIPTION Tries to disable vmmouse mode.
SEE ALSO Kernel file ./drivers/input/mouse/vmmouse.c struct vmmouse_data(9), vmmouse_report_button(9), vmmouse_report_... |
vmmouse_disconnect(9) | NAME vmmouse_disconnect - Take down vmmouse driver
SYNOPSIS void vmmouse_disconnect (struct psmouse *psmouse );
ARGUMENTS psmouse Pointer to the psmouse struct
DESCRIPTION Takes down vmmouse driver and frees resources set up in vmmouse_init.
SEE ALSO Kernel file ./drivers/input/mouse/vmmouse.c struct vmmous... |
vmmouse_enable(9) | NAME vmmouse_enable - Enable vmmouse and request absolute mode.
SYNOPSIS int vmmouse_enable (struct psmouse *psmouse );
ARGUMENTS psmouse Pointer to the psmouse struct
DESCRIPTION Tries to enable vmmouse mode. Performs basic checks and requests absolute vmmouse mode. Returns 0 on success, -ENODEV on failure.
S... |
vmmouse_init(9) | NAME vmmouse_init - Initialize the vmmouse driver
SYNOPSIS int vmmouse_init (struct psmouse *psmouse );
ARGUMENTS psmouse Pointer to the psmouse struct
DESCRIPTION Requests the device and tries to enable vmmouse mode. If successful, sets up the input device for relative movement events. It also allocates anot... |
vmmouse_process_byte(9) | NAME vmmouse_process_byte - process data on the ps/2 channel
SYNOPSIS psmouse_ret_t vmmouse_process_byte (struct psmouse *psmouse );
ARGUMENTS psmouse Pointer to the psmouse struct
DESCRIPTION When the ps/2 channel indicates that there is vmmouse data available, call vmmouse channel processing. Other... |
vmmouse_reconnect(9) | NAME vmmouse_reconnect - Reset the ps/2 - and vmmouse connections
SYNOPSIS int vmmouse_reconnect (struct psmouse *psmouse );
ARGUMENTS psmouse Pointer to the psmouse struct
DESCRIPTION Attempts to reset the mouse connections. Returns 0 on success and -1 on failure.
SEE ALSO Kernel file ./drivers/input/mouse/v... |
vmmouse_report_button(9) | NAME vmmouse_report_button - report button state on the correct input device
SYNOPSIS void vmmouse_report_button (struct psmouse *psmouse , struct input_dev *abs_dev , struct input_dev *rel_dev , struct input_dev *pref_dev , unsigned int code , int value );
ARGUMENTS psmouse Pointer to the psmouse struct
... |
vmmouse_report_events(9) | NAME vmmouse_report_events - process events on the vmmouse communications channel
SYNOPSIS psmouse_ret_t vmmouse_report_events (struct psmouse *psmouse );
ARGUMENTS psmouse Pointer to the psmouse struct
DESCRIPTION This function pulls events from the vmmouse communications channel and reports them on the corr... |
vmmouse_reset(9) | NAME vmmouse_reset - Disable vmmouse and reset
SYNOPSIS void vmmouse_reset (struct psmouse *psmouse );
ARGUMENTS psmouse Pointer to the psmouse struct
DESCRIPTION Tries to disable vmmouse mode before enter suspend.
SEE ALSO Kernel file ./drivers/input/mouse/vmmouse.c struct vmmouse_data(9), vmmouse_report_... |
vmpressure(9) | NAME vmpressure - Account memory pressure through scanned/reclaimed ratio
SYNOPSIS void vmpressure (gfp_t gfp , struct mem_cgroup *memcg , bool tree , unsigned long scanned , unsigned long reclaimed );
ARGUMENTS gfp reclaimer's gfp mask
memcg cgroup memory controller handle
tree l... |
vmpressure_cleanup(9) | NAME vmpressure_cleanup - shuts down vmpressure control structure
SYNOPSIS void vmpressure_cleanup (struct vmpressure *vmpr );
ARGUMENTS vmpr Structure to be cleaned up
DESCRIPTION This function should be called before the structure in which it is embedded is cleaned up.
SEE ALSO Kernel file ./mm/vmpressure.... |
vmpressure_init(9) | NAME vmpressure_init - Initialize vmpressure control structure
SYNOPSIS void vmpressure_init (struct vmpressure *vmpr );
ARGUMENTS vmpr Structure to be initialized
DESCRIPTION This function should be called on every allocated vmpressure structure before any usage.
SEE ALSO Kernel file ./mm/vmpressure.c vmpre... |
vmpressure_prio(9) | NAME vmpressure_prio - Account memory pressure through reclaimer priority level
SYNOPSIS void vmpressure_prio (gfp_t gfp , struct mem_cgroup *memcg , int prio );
ARGUMENTS gfp reclaimer's gfp mask
memcg cgroup memory controller handle
prio reclaimer's priority
DESCRIPTION This fu... |
vmpressure_register_event(9) | NAME vmpressure_register_event - Bind vmpressure notifications to an eventfd
SYNOPSIS int vmpressure_register_event (struct mem_cgroup *memcg , struct eventfd_ctx *eventfd , const char *args );
ARGUMENTS memcg memcg that is interested in vmpressure notifications
eventfd eventfd context to link notif... |
vmpressure_unregister_event(9) | NAME vmpressure_unregister_event - Unbind eventfd from vmpressure
SYNOPSIS void vmpressure_unregister_event (struct mem_cgroup *memcg , struct eventfd_ctx *eventfd );
ARGUMENTS memcg memcg handle
eventfd eventfd context that was used to link vmpressure with the cg
DESCRIPTION This function does in... |
vmsplice(2) | NAME vmsplice - splice user pages to/from a pipe
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <fcntl.h>
ssize_t vmsplice(int fd, const struct iovec *iov,
size_t nr_segs, unsigned int flags);
DESCRIPTION If fd is... |
vmstat(8) | NAME vmstat - Report virtual memory statistics
SYNOPSIS vmstat [options] [delay [count]]
DESCRIPTION vmstat reports information about processes, memory, paging, block IO, traps, disks and cpu activity.
The first report produced gives averages since the last reboot. Additional reports give information on a sa... |
vmw_adjust_rect(9) | NAME vmw_adjust_rect - Adjust rectangle coordinates for newly found difference
SYNOPSIS void vmw_adjust_rect (struct vmw_diff_cpy *diff , size_t diff_offs );
ARGUMENTS diff The struct vmw_diff_cpy used to track the modified bounding box.
diff_offs The offset from diff->line_offset where the differenc... |
vmw_bind_dx_query_mob(9) | NAME vmw_bind_dx_query_mob - Bind the DX query MOB if referenced
SYNOPSIS void vmw_bind_dx_query_mob (struct vmw_sw_context *sw_context );
ARGUMENTS sw_context The command submission context
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c struct vmw_relocation(9), enum vmw_resource_relocation_t... |
vmw_binding_add(9) | NAME vmw_binding_add - Start tracking a context binding
SYNOPSIS void vmw_binding_add (struct vmw_ctx_binding_state *cbs , const struct vmw_ctx_bindinfo *bi , u32 shader_slot , u32 slot );
ARGUMENTS cbs Pointer to the context binding state tracker.
bi Information about the binding to track.
... |
vmw_binding_add_uav_index(9) | NAME vmw_binding_add_uav_index - Add UAV index for tracking.
SYNOPSIS void vmw_binding_add_uav_index (struct vmw_ctx_binding_state *cbs , uint32 slot , uint32 index );
ARGUMENTS cbs Pointer to the context binding state tracker.
slot UAV type to which bind this index.
index The spl... |
vmw_binding_cb_offset_update(9) | NAME vmw_binding_cb_offset_update - Update the offset of a cb binding
SYNOPSIS void vmw_binding_cb_offset_update (struct vmw_ctx_binding_state *cbs , u32 shader_slot , u32 slot , u32 offsetInBytes );
ARGUMENTS cbs Pointer to the context binding state tracker.
shader_slot The shader slot of the binding... |
vmw_binding_dirtying(9) | NAME vmw_binding_dirtying - Return whether a binding type is dirtying its resource
SYNOPSIS u32 vmw_binding_dirtying (enum vmw_ctx_binding_type binding_type );
ARGUMENTS binding_type The binding type
DESCRIPTION Each time a resource is put on the validation list as the result of a context binding referencing it, we ... |
vmw_binding_drop(9) | NAME vmw_binding_drop - Stop tracking a context binding
SYNOPSIS void vmw_binding_drop (struct vmw_ctx_bindinfo *bi );
ARGUMENTS bi Pointer to binding tracker storage.
DESCRIPTION Stops tracking a context binding, and re-initializes its storage. Typically used when the context binding is replaced with a bi... |
vmw_binding_emit_dirty(9) | NAME vmw_binding_emit_dirty - Issue delayed binding commands
SYNOPSIS int vmw_binding_emit_dirty (struct vmw_ctx_binding_state *cbs );
ARGUMENTS cbs Pointer to the context's struct vmw_ctx_binding_state
DESCRIPTION This function issues the delayed binding commands that arise from previous scrub / unscrub cal... |
vmw_binding_emit_dirty_ps(9) | NAME vmw_binding_emit_dirty_ps - Issue delayed per shader binding commands
SYNOPSIS int vmw_binding_emit_dirty_ps (struct vmw_ctx_binding_state *cbs );
ARGUMENTS cbs Pointer to the context's struct vmw_ctx_binding_state
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_binding.c struct vmw_ctx_binding_sta... |
vmw_binding_loc(9) | NAME vmw_binding_loc - determine the struct vmw_ctx_bindinfo slot location.
SYNOPSIS struct vmw_ctx_bindinfo * vmw_binding_loc (struct vmw_ctx_binding_state *cbs , enum vmw_ctx_binding_type bt , u32 shader_slot , u32 slot );
ARGUMENTS cbs Pointer to a struct vmw_ctx_binding state which holds the slot.
... |
vmw_binding_rebind_all(9) | NAME vmw_binding_rebind_all - Rebind all scrubbed bindings of a context
SYNOPSIS int vmw_binding_rebind_all (struct vmw_ctx_binding_state *cbs );
ARGUMENTS cbs Pointer to the context binding state tracker.
DESCRIPTION Walks through the context binding list and rebinds all scrubbed resources.
SEE ALSO Kernel... |
vmw_binding_res_list_kill(9) | NAME vmw_binding_res_list_kill - Kill all bindings on a resource binding list
SYNOPSIS void vmw_binding_res_list_kill (struct list_head *head );
ARGUMENTS head list head of resource binding list
DESCRIPTION Kills all bindings associated with a specific resource. Typically called before the resource is destroy... |
vmw_binding_res_list_scrub(9) | NAME vmw_binding_res_list_scrub - Scrub all bindings on a resource binding list
SYNOPSIS void vmw_binding_res_list_scrub (struct list_head *head );
ARGUMENTS head list head of resource binding list
DESCRIPTION Scrub all bindings associated with a specific resource. Typically called before the resource is evic... |
vmw_binding_scrub_cb(9) | NAME vmw_binding_scrub_cb - scrub a constant buffer binding from a context.
SYNOPSIS int vmw_binding_scrub_cb (struct vmw_ctx_bindinfo *bi , bool rebind );
ARGUMENTS bi single binding information.
rebind Whether to issue a bind instead of scrub command.
SEE ALSO Kernel file ./drivers/gpu/drm/vm... |
vmw_binding_scrub_dx_rt(9) | NAME vmw_binding_scrub_dx_rt - Schedule a dx rendertarget binding scrub from a context
SYNOPSIS int vmw_binding_scrub_dx_rt (struct vmw_ctx_bindinfo *bi , bool rebind );
ARGUMENTS bi single binding information.
rebind Whether to issue a bind instead of scrub command.
SEE ALSO Kernel file ./driv... |
vmw_binding_scrub_dx_shader(9) | NAME vmw_binding_scrub_dx_shader - scrub a dx shader binding from a context.
SYNOPSIS int vmw_binding_scrub_dx_shader (struct vmw_ctx_bindinfo *bi , bool rebind );
ARGUMENTS bi single binding information.
rebind Whether to issue a bind instead of scrub command.
SEE ALSO Kernel file ./drivers/gp... |
vmw_binding_scrub_ib(9) | NAME vmw_binding_scrub_ib - scrub a dx index buffer binding from a context
SYNOPSIS int vmw_binding_scrub_ib (struct vmw_ctx_bindinfo *bi , bool rebind );
ARGUMENTS bi single binding information.
rebind Whether to issue a bind instead of scrub command.
SEE ALSO Kernel file ./drivers/gpu/drm/vmw... |
vmw_binding_scrub_render_target(9) | NAME vmw_binding_scrub_render_target - scrub a render target binding from a context.
SYNOPSIS int vmw_binding_scrub_render_target (struct vmw_ctx_bindinfo *bi , bool rebind );
ARGUMENTS bi single binding information.
rebind Whether to issue a bind instead of scrub command.
SEE ALSO Kernel file ... |
vmw_binding_scrub_shader(9) | NAME vmw_binding_scrub_shader - scrub a shader binding from a context.
SYNOPSIS int vmw_binding_scrub_shader (struct vmw_ctx_bindinfo *bi , bool rebind );
ARGUMENTS bi single binding information.
rebind Whether to issue a bind instead of scrub command.
SEE ALSO Kernel file ./drivers/gpu/drm/vmw... |
vmw_binding_scrub_so(9) | NAME vmw_binding_scrub_so - Scrub a streamoutput binding from context.
SYNOPSIS int vmw_binding_scrub_so (struct vmw_ctx_bindinfo *bi , bool rebind );
ARGUMENTS bi Single binding information.
rebind Whether to issue a bind instead of scrub command.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/... |
vmw_binding_scrub_so_target(9) | NAME vmw_binding_scrub_so_target - Schedule a dx streamoutput buffer binding scrub from a context
SYNOPSIS int vmw_binding_scrub_so_target (struct vmw_ctx_bindinfo *bi , bool rebind );
ARGUMENTS bi single binding information.
rebind Whether to issue a bind instead of scrub command.
SEE ALSO Ker... |
vmw_binding_scrub_sr(9) | NAME vmw_binding_scrub_sr - Schedule a dx shaderresource binding scrub from a context
SYNOPSIS int vmw_binding_scrub_sr (struct vmw_ctx_bindinfo *bi , bool rebind );
ARGUMENTS bi single binding information.
rebind Whether to issue a bind instead of scrub command.
SEE ALSO Kernel file ./drivers/... |
vmw_binding_scrub_texture(9) | NAME vmw_binding_scrub_texture - scrub a texture binding from a context.
SYNOPSIS int vmw_binding_scrub_texture (struct vmw_ctx_bindinfo *bi , bool rebind );
ARGUMENTS bi single binding information.
rebind Whether to issue a bind instead of scrub command.
DESCRIPTION TODO: Possibly complement t... |
vmw_binding_scrub_vb(9) | NAME vmw_binding_scrub_vb - Schedule a dx vertex buffer binding scrub from a context
SYNOPSIS int vmw_binding_scrub_vb (struct vmw_ctx_bindinfo *bi , bool rebind );
ARGUMENTS bi single binding information.
rebind Whether to issue a bind instead of scrub command.
SEE ALSO Kernel file ./drivers/g... |
vmw_binding_state_alloc(9) | NAME vmw_binding_state_alloc - Allocate a struct vmw_ctx_binding_state.
SYNOPSIS struct vmw_ctx_binding_state * vmw_binding_state_alloc (struct vmw_private *dev_priv );
ARGUMENTS dev_priv Pointer to a device private structure.
DESCRIPTION Returns a pointer to a newly allocated struct or an error pointer on error.... |
vmw_binding_state_commit(9) | NAME vmw_binding_state_commit - Commit staged binding info
SYNOPSIS void vmw_binding_state_commit (struct vmw_ctx_binding_state *to , struct vmw_ctx_binding_state *from );
ARGUMENTS to Staged binding info area to copy into to.
from Staged binding info built during execbuf.
DESCRIPTION Transfe... |
vmw_binding_state_free(9) | NAME vmw_binding_state_free - Free a struct vmw_ctx_binding_state.
SYNOPSIS void vmw_binding_state_free (struct vmw_ctx_binding_state *cbs );
ARGUMENTS cbs Pointer to the struct vmw_ctx_binding_state to be freed.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_binding.c struct vmw_ctx_binding_state(9), ... |
vmw_binding_state_kill(9) | NAME vmw_binding_state_kill - Kill all bindings associated with a struct vmw_ctx_binding state structure, and re-initialize the structure.
SYNOPSIS void vmw_binding_state_kill (struct vmw_ctx_binding_state *cbs );
ARGUMENTS cbs Pointer to the context binding state tracker.
DESCRIPTION Emits commands to scrub... |
vmw_binding_state_list(9) | NAME vmw_binding_state_list - Get the binding list of a struct vmw_ctx_binding_state
SYNOPSIS struct list_head * vmw_binding_state_list (struct vmw_ctx_binding_state *cbs );
ARGUMENTS cbs Pointer to the struct vmw_ctx_binding_state
DESCRIPTION Returns the binding list which can be used to traverse through th... |
vmw_binding_state_reset(9) | NAME vmw_binding_state_reset - clear a struct vmw_ctx_binding_state
SYNOPSIS void vmw_binding_state_reset (struct vmw_ctx_binding_state *cbs );
ARGUMENTS cbs Pointer to the struct vmw_ctx_binding_state to be cleared
DESCRIPTION Drops all bindings registered in cbs. No device binding actions are performed.
S... |
vmw_binding_state_scrub(9) | NAME vmw_binding_state_scrub - Scrub all bindings associated with a struct vmw_ctx_binding state structure.
SYNOPSIS void vmw_binding_state_scrub (struct vmw_ctx_binding_state *cbs );
ARGUMENTS cbs Pointer to the context binding state tracker.
DESCRIPTION Emits commands to scrub all bindings associated with ... |
vmw_binding_transfer(9) | NAME vmw_binding_transfer - Transfer a context binding tracking entry.
SYNOPSIS void vmw_binding_transfer (struct vmw_ctx_binding_state *cbs , const struct vmw_ctx_binding_state *from , const struct vmw_ctx_bindinfo *bi );
ARGUMENTS cbs Pointer to the persistent context binding state tracker.
from ... |
vmw_bo_cpu_blit(9) | NAME vmw_bo_cpu_blit - in-kernel cpu blit.
SYNOPSIS int vmw_bo_cpu_blit (struct vmw_bo *vmw_dst , u32 dst_offset , u32 dst_stride , struct vmw_bo *vmw_src , u32 src_offset , u32 src_stride , u32 w , u32 h , struct vmw_diff_cpy *diff );
ARGUMENTS vmw_dst Destination buffer object.
dst_offset Destination o... |
vmw_bo_cpu_blit_line(9) | NAME vmw_bo_cpu_blit_line - Blit part of a line from one bo to another.
SYNOPSIS int vmw_bo_cpu_blit_line (struct vmw_bo_blit_line_data *d , u32 dst_offset , u32 src_offset , u32 bytes_to_copy );
ARGUMENTS d Blit data as described above.
dst_offset Destination copy start offset from start of bo.
... |
vmw_bo_dirty_add(9) | NAME vmw_bo_dirty_add - Add a dirty-tracking user to a buffer object
SYNOPSIS int vmw_bo_dirty_add (struct vmw_bo *vbo );
ARGUMENTS vbo The buffer object
DESCRIPTION This function registers a dirty-tracking user to a buffer object. A user can be for example a resource or a vma in a special user-space mappin... |
vmw_bo_dirty_clear_res(9) | NAME vmw_bo_dirty_clear_res - Clear a resource's dirty region from its backing mob.
SYNOPSIS void vmw_bo_dirty_clear_res (struct vmw_resource *res );
ARGUMENTS res The resource
DESCRIPTION This function will clear all dirty ranges affecting the resource from it's backup mob's dirty tracking.
SEE ALSO Kernel... |
vmw_bo_dirty_pre_unmap(9) | NAME vmw_bo_dirty_pre_unmap - write-protect and pick up dirty pages before an unmap_mapping_range operation.
SYNOPSIS void vmw_bo_dirty_pre_unmap (struct vmw_bo *vbo , pgoff_t start , pgoff_t end );
ARGUMENTS vbo The buffer object,
start First page of the range within the buffer object.
... |
vmw_bo_dirty_release(9) | NAME vmw_bo_dirty_release - Release a dirty-tracking user from a buffer object
SYNOPSIS void vmw_bo_dirty_release (struct vmw_bo *vbo );
ARGUMENTS vbo The buffer object
DESCRIPTION This function releases a dirty-tracking user from a buffer object. If the reference count reaches zero, then the dirty-tracking... |
vmw_bo_dirty_scan(9) | NAME vmw_bo_dirty_scan - Scan for dirty pages and add them to the dirty tracking structure
SYNOPSIS void vmw_bo_dirty_scan (struct vmw_bo *vbo );
ARGUMENTS vbo The buffer object to scan
DESCRIPTION This function may change the dirty tracking method.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_pag... |
vmw_bo_dirty_scan_mkwrite(9) | NAME vmw_bo_dirty_scan_mkwrite - Reset the mkwrite dirty-tracking method
SYNOPSIS void vmw_bo_dirty_scan_mkwrite (struct vmw_bo *vbo );
ARGUMENTS vbo The buffer object to scan
DESCRIPTION Write-protect pages written to so that consecutive write accesses will trigger a call to mkwrite. This function may chan... |
vmw_bo_dirty_scan_pagetable(9) | NAME vmw_bo_dirty_scan_pagetable - Perform a pagetable scan for dirty bits
SYNOPSIS void vmw_bo_dirty_scan_pagetable (struct vmw_bo *vbo );
ARGUMENTS vbo The buffer object to scan
DESCRIPTION Scans the pagetable for dirty bits. Clear those bits and modify the dirty structure with the results. This function m... |
vmw_bo_dirty_transfer_to_res(9) | NAME vmw_bo_dirty_transfer_to_res - Pick up a resource's dirty region from its backing mob.
SYNOPSIS void vmw_bo_dirty_transfer_to_res (struct vmw_resource *res );
ARGUMENTS res The resource
DESCRIPTION This function will pick up all dirty ranges affecting the resource from it's backup mob, and call vmw_re... |
vmw_bo_dirty_unmap(9) | NAME vmw_bo_dirty_unmap - Clear all ptes pointing to a range within a bo
SYNOPSIS void vmw_bo_dirty_unmap (struct vmw_bo *vbo , pgoff_t start , pgoff_t end );
ARGUMENTS vbo The buffer object,
start First page of the range within the buffer object.
end Last page of the range withi... |
vmw_bo_fence_single(9) | NAME vmw_bo_fence_single - Utility function to fence a single TTM buffer object without unreserving it.
SYNOPSIS void vmw_bo_fence_single (struct ttm_buffer_object *bo , struct vmw_fence_obj *fence );
ARGUMENTS bo Pointer to the struct ttm_buffer_object to fence.
fence Pointer to the fence. If ... |
vmw_bo_free(9) | NAME vmw_bo_free - vmw_bo destructor
SYNOPSIS void vmw_bo_free (struct ttm_buffer_object *bo );
ARGUMENTS bo Pointer to the embedded struct ttm_buffer_object
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_bo.c vmw_bo_pin_in_placement(9), vmw_bo_pin_in_vram_or_gmr(9), vmw_bo_pin_in_vram(9), vmw_bo_p... |
vmw_bo_get_guest_ptr(9) | NAME vmw_bo_get_guest_ptr - Get the guest ptr representing the current placement of a buffer.
SYNOPSIS void vmw_bo_get_guest_ptr (const struct ttm_buffer_object *bo , SVGAGuestPtr *ptr );
ARGUMENTS bo Pointer to a struct ttm_buffer_object. Must be pinned or reserved.
ptr SVGAGuestPtr returnin... |
vmw_bo_init(9) | NAME vmw_bo_init - Initialize a vmw buffer object
SYNOPSIS int vmw_bo_init (struct vmw_private *dev_priv , struct vmw_bo *vmw_bo , struct vmw_bo_params *params , void (*destroy)(struct ttm_buffer_object *) );
ARGUMENTS dev_priv Pointer to the device private struct
vmw_bo Buffer object to initialize
... |
vmw_bo_map_and_cache(9) | NAME vmw_bo_map_and_cache - Map a buffer object and cache the map
SYNOPSIS void * vmw_bo_map_and_cache (struct vmw_bo *vbo );
ARGUMENTS vbo The buffer object to map
RETURN A kernel virtual address or NULL if mapping failed.
DESCRIPTION This function maps a buffer object into the kernel address space, or... |
vmw_bo_move_notify(9) | NAME vmw_bo_move_notify - TTM move_notify_callback
SYNOPSIS void vmw_bo_move_notify (struct ttm_buffer_object *bo , struct ttm_resource *mem );
ARGUMENTS bo The TTM buffer object about to move.
mem The struct ttm_resource indicating to what memory region the move is taking place.
DESCRIPTION... |
vmw_bo_pin_in_placement(9) | NAME vmw_bo_pin_in_placement - Validate a buffer to placement.
SYNOPSIS int vmw_bo_pin_in_placement (struct vmw_private *dev_priv , struct vmw_bo *buf , struct ttm_placement *placement , bool interruptible );
ARGUMENTS dev_priv Driver private.
buf DMA buffer to move.
placement The placeme... |
vmw_bo_pin_in_start_of_vram(9) | NAME vmw_bo_pin_in_start_of_vram - Move a buffer to start of vram.
SYNOPSIS int vmw_bo_pin_in_start_of_vram (struct vmw_private *dev_priv , struct vmw_bo *buf , bool interruptible );
ARGUMENTS dev_priv Driver private.
buf DMA buffer to pin.
interruptible
Use interruptible... |
vmw_bo_pin_in_vram(9) | NAME vmw_bo_pin_in_vram - Move a buffer to vram.
SYNOPSIS int vmw_bo_pin_in_vram (struct vmw_private *dev_priv , struct vmw_bo *buf , bool interruptible );
ARGUMENTS dev_priv Driver private.
buf DMA buffer to move.
interruptible
Use interruptible wait.
DESCRIPTION This f... |
vmw_bo_pin_in_vram_or_gmr(9) | NAME vmw_bo_pin_in_vram_or_gmr - Move a buffer to vram or gmr.
SYNOPSIS int vmw_bo_pin_in_vram_or_gmr (struct vmw_private *dev_priv , struct vmw_bo *buf , bool interruptible );
ARGUMENTS dev_priv Driver private.
buf DMA buffer to move.
interruptible
Use interruptible wait... |
vmw_bo_pin_reserved(9) | NAME vmw_bo_pin_reserved - Pin or unpin a buffer object without moving it.
SYNOPSIS void vmw_bo_pin_reserved (struct vmw_bo *vbo , bool pin );
ARGUMENTS vbo The buffer object. Must be reserved.
pin Whether to pin or unpin.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_bo.c vmw_bo_fre... |
vmw_bo_prio_add(9) | NAME vmw_bo_prio_add - Notify a buffer object of a newly attached resource eviction priority
SYNOPSIS void vmw_bo_prio_add (struct vmw_bo *vbo , int prio );
ARGUMENTS vbo The struct vmw_bo
prio The resource priority
DESCRIPTION After being notified, the code assigns the highest resource evicti... |
vmw_bo_sg_table(9) | NAME vmw_bo_sg_table - Return a struct vmw_sg_table object for a TTM buffer object
SYNOPSIS const struct vmw_sg_table * vmw_bo_sg_table (struct ttm_buffer_object *bo );
ARGUMENTS bo Pointer to a struct ttm_buffer_object
DESCRIPTION Returns a pointer to a struct vmw_sg_table object. The object should not be ... |
vmw_bo_swap_notify(9) | NAME vmw_bo_swap_notify - swapout notify callback.
SYNOPSIS void vmw_bo_swap_notify (struct ttm_buffer_object *bo );
ARGUMENTS bo The buffer object to be swapped out.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_bo.c vmw_bo_free(9), vmw_bo_pin_in_placement(9), vmw_bo_pin_in_vram_or_gmr(9), vmw_bo_... |
vmw_bo_unmap(9) | NAME vmw_bo_unmap - Tear down a cached buffer object map.
SYNOPSIS void vmw_bo_unmap (struct vmw_bo *vbo );
ARGUMENTS vbo The buffer object whose map we are tearing down.
DESCRIPTION This function tears down a cached map set up using vmw_bo_map_and_cache.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwg... |
vmw_bo_unpin(9) | NAME vmw_bo_unpin - Unpin the buffer given buffer, does not move the buffer.
SYNOPSIS int vmw_bo_unpin (struct vmw_private *dev_priv , struct vmw_bo *buf , bool interruptible );
ARGUMENTS dev_priv Driver private.
buf DMA buffer to unpin.
interruptible
Use interruptible wa... |
vmw_bo_unref_ioctl(9) | NAME vmw_bo_unref_ioctl - Generic handle close ioctl.
SYNOPSIS int vmw_bo_unref_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev Identifies the drm device.
data Pointer to the ioctl argument.
file_priv Identifies the caller.
RETURN Zero on succ... |
vmw_cbs_context(9) | NAME vmw_cbs_context - Return a pointer to the context resource of a context binding state tracker.
SYNOPSIS const struct vmw_resource * vmw_cbs_context (const struct vmw_ctx_binding_state *cbs );
ARGUMENTS cbs The context binding state tracker.
DESCRIPTION Provided there are any active bindings, this fu... |
vmw_close_channel(9) | NAME vmw_close_channel -
SYNOPSIS int vmw_close_channel (struct rpc_channel *channel );
ARGUMENTS channel RPC channel
RETURN 0 on success
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_msg.c vmw_open_channel(9), vmw_port_hb_out(9), vmw_port_hb_in(9), vmw_send_msg(9), vmw_recv_msg(9), vmw_host_get_... |
vmw_cmd_begin_gb_query(9) | NAME vmw_cmd_begin_gb_query - validate SVGA_3D_CMD_BEGIN_GB_QUERY command.
SYNOPSIS int vmw_cmd_begin_gb_query (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context used for this... |
vmw_cmd_begin_query(9) | NAME vmw_cmd_begin_query - validate SVGA_3D_CMD_BEGIN_QUERY command.
SYNOPSIS int vmw_cmd_begin_query (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context used for this command ... |
vmw_cmd_bind_gb_shader(9) | NAME vmw_cmd_bind_gb_shader - Validate SVGA_3D_CMD_BIND_GB_SHADER command
SYNOPSIS int vmw_cmd_bind_gb_shader (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being used for... |
vmw_cmd_bind_gb_surface(9) | NAME vmw_cmd_bind_gb_surface - Validate SVGA_3D_CMD_BIND_GB_SURFACE command
SYNOPSIS int vmw_cmd_bind_gb_surface (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context being used ... |
vmw_cmd_cid_check(9) | NAME vmw_cmd_cid_check - Check a command header for valid context information.
SYNOPSIS int vmw_cmd_cid_check (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private structure.
sw_context Pointer to the software context.... |
vmw_cmd_commit_flush(9) | NAME vmw_cmd_commit_flush - Commit fifo space and flush any buffered commands.
SYNOPSIS void vmw_cmd_commit_flush (struct vmw_private *dev_priv , uint32_t bytes );
ARGUMENTS dev_priv Pointer to device private structure.
bytes Number of bytes to commit.
SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/v... |
vmw_cmd_ctx_first_setup(9) | NAME vmw_cmd_ctx_first_setup - Perform the setup needed when a context is added to the validate list.
SYNOPSIS int vmw_cmd_ctx_first_setup (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , struct vmw_resource *res , struct vmw_ctx_validation_info *node );
ARGUMENTS dev_priv Pointer to the device ... |
vmw_cmd_dx_bind_query(9) | NAME vmw_cmd_dx_bind_query - validate SVGA_3D_CMD_DX_BIND_QUERY command.
SYNOPSIS int vmw_cmd_dx_bind_query (struct vmw_private *dev_priv , struct vmw_sw_context *sw_context , SVGA3dCmdHeader *header );
ARGUMENTS dev_priv Pointer to a device private struct.
sw_context The software context used for this co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.