| H A D | mapping.c | 156 enum dma_data_direction dir, unsigned long attrs) in dma_map_phys() argument 162 BUG_ON(!valid_dma_direction(dir)); in dma_map_phys() 172 addr = dma_direct_map_phys(dev, phys, size, dir, attrs); in dma_map_phys() 174 addr = iommu_dma_map_phys(dev, phys, size, dir, attrs); in dma_map_phys() 176 addr = ops->map_phys(dev, phys, size, dir, attrs); in dma_map_phys() 179 kmsan_handle_dma(phys, size, dir); in dma_map_phys() 180 trace_dma_map_phys(dev, phys, addr, size, dir, attrs); in dma_map_phys() 181 debug_dma_map_phys(dev, phys, size, dir, addr, attrs); in dma_map_phys() 188 size_t offset, size_t size, enum dma_data_direction dir, in dma_map_page_attrs() 200 return dma_map_phys(dev, phys, size, dir, attr 185 dma_map_page_attrs(struct device * dev,struct page * page,size_t offset,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_map_page_attrs() argument 202 dma_unmap_phys(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_unmap_phys() argument 221 dma_unmap_page_attrs(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_unmap_page_attrs() argument 231 __dma_map_sg_attrs(struct device * dev,struct scatterlist * sg,int nents,enum dma_data_direction dir,unsigned long attrs) __dma_map_sg_attrs() argument 280 dma_map_sg_attrs(struct device * dev,struct scatterlist * sg,int nents,enum dma_data_direction dir,unsigned long attrs) dma_map_sg_attrs() argument 319 dma_map_sgtable(struct device * dev,struct sg_table * sgt,enum dma_data_direction dir,unsigned long attrs) dma_map_sgtable() argument 332 dma_unmap_sg_attrs(struct device * dev,struct scatterlist * sg,int nents,enum dma_data_direction dir,unsigned long attrs) dma_unmap_sg_attrs() argument 351 dma_map_resource(struct device * dev,phys_addr_t phys_addr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_map_resource() argument 362 dma_unmap_resource(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_unmap_resource() argument 370 __dma_sync_single_for_cpu(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir) __dma_sync_single_for_cpu() argument 387 __dma_sync_single_for_device(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir) __dma_sync_single_for_device() argument 404 __dma_sync_sg_for_cpu(struct device * dev,struct scatterlist * sg,int nelems,enum dma_data_direction dir) __dma_sync_sg_for_cpu() argument 421 __dma_sync_sg_for_device(struct device * dev,struct scatterlist * sg,int nelems,enum dma_data_direction dir) __dma_sync_sg_for_device() argument 692 __dma_alloc_pages(struct device * dev,size_t size,dma_addr_t * dma_handle,enum dma_data_direction dir,gfp_t gfp) __dma_alloc_pages() argument 714 dma_alloc_pages(struct device * dev,size_t size,dma_addr_t * dma_handle,enum dma_data_direction dir,gfp_t gfp) dma_alloc_pages() argument 730 __dma_free_pages(struct device * dev,size_t size,struct page * page,dma_addr_t dma_handle,enum dma_data_direction dir) __dma_free_pages() argument 744 dma_free_pages(struct device * dev,size_t size,struct page * page,dma_addr_t dma_handle,enum dma_data_direction dir) dma_free_pages() argument 766 alloc_single_sgt(struct device * dev,size_t size,enum dma_data_direction dir,gfp_t gfp) alloc_single_sgt() argument 790 dma_alloc_noncontiguous(struct device * dev,size_t size,enum dma_data_direction dir,gfp_t gfp,unsigned long attrs) dma_alloc_noncontiguous() argument 816 free_single_sgt(struct device * dev,size_t size,struct sg_table * sgt,enum dma_data_direction dir) free_single_sgt() argument 825 dma_free_noncontiguous(struct device * dev,size_t size,struct sg_table * sgt,enum dma_data_direction dir) dma_free_noncontiguous() argument [all...] |
| H A D | sysctl.c | 76 static int _proc_do_string(char *data, int maxlen, int dir, in _proc_do_string() argument 87 if (SYSCTL_USER_TO_KERN(dir)) { in _proc_do_string() 175 * @dir: %TRUE if this is a write to the sysctl file 189 int proc_dostring(const struct ctl_table *table, int dir, in proc_dostring() argument 192 if (SYSCTL_USER_TO_KERN(dir)) in proc_dostring() 195 return _proc_do_string(table->data, table->maxlen, dir, buffer, lenp, in proc_dostring() 403 * @dir: %TRUE if this is a write to the sysctl file 414 int proc_uint_conv(ulong *u_ptr, uint *k_ptr, int dir, in proc_uint_conv() argument 419 if (SYSCTL_KERN_TO_USER(dir)) in proc_uint_conv() 447 static int do_proc_uint_conv(ulong *u_ptr, uint *k_ptr, int dir, in do_proc_uint_conv() argument 454 do_proc_uint_conv_minmax(ulong * u_ptr,uint * k_ptr,int dir,const struct ctl_table * tbl) do_proc_uint_conv_minmax() argument 518 proc_int_conv(bool * negp,ulong * u_ptr,int * k_ptr,int dir,const struct ctl_table * tbl,bool k_ptr_range_check,int (* user_to_kern)(const bool * negp,const ulong * u_ptr,int * k_ptr),int (* kern_to_user)(bool * negp,ulong * u_ptr,const int * k_ptr)) proc_int_conv() argument 557 do_proc_int_conv(bool * negp,unsigned long * u_ptr,int * k_ptr,int dir,const struct ctl_table * tbl) do_proc_int_conv() argument 566 do_proc_int_conv_minmax(bool * negp,unsigned long * u_ptr,int * k_ptr,int dir,const struct ctl_table * tbl) do_proc_int_conv_minmax() argument 575 do_proc_dointvec(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos,int (* conv)(bool * negp,unsigned long * u_ptr,int * k_ptr,int dir,const struct ctl_table * table)) do_proc_dointvec() argument 650 do_proc_douintvec_w(const struct ctl_table * table,void * buffer,size_t * lenp,loff_t * ppos,int (* conv)(unsigned long * u_ptr,unsigned int * k_ptr,int dir,const struct ctl_table * table)) do_proc_douintvec_w() argument 703 do_proc_douintvec_r(const struct ctl_table * table,void * buffer,size_t * lenp,loff_t * ppos,int (* conv)(unsigned long * u_ptr,unsigned int * k_ptr,int dir,const struct ctl_table * table)) do_proc_douintvec_r() argument 730 do_proc_douintvec(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos,int (* conv)(unsigned long * u_ptr,unsigned int * k_ptr,int dir,const struct ctl_table * table)) do_proc_douintvec() argument 779 proc_douintvec_conv(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos,int (* conv)(unsigned long * u_ptr,unsigned int * k_ptr,int dir,const struct ctl_table * table)) proc_douintvec_conv() argument 803 proc_dobool(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_dobool() argument 840 proc_dointvec(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec() argument 859 proc_douintvec(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_douintvec() argument 883 proc_dointvec_minmax(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec_minmax() argument 910 proc_douintvec_minmax(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_douintvec_minmax() argument 935 proc_dou8vec_minmax(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_dou8vec_minmax() argument 967 do_proc_doulongvec_minmax(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos,unsigned long convmul,unsigned long convdiv) do_proc_doulongvec_minmax() argument 1042 proc_doulongvec_minmax_conv(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos,unsigned long convmul,unsigned long convdiv) proc_doulongvec_minmax_conv() argument 1066 proc_doulongvec_minmax(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_doulongvec_minmax() argument 1088 proc_dointvec_conv(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos,int (* conv)(bool * negp,unsigned long * u_ptr,int * k_ptr,int dir,const struct ctl_table * table)) proc_dointvec_conv() argument 1113 proc_do_large_bitmap(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_do_large_bitmap() argument 1245 proc_dostring(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_dostring() argument 1251 proc_dobool(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_dobool() argument 1257 proc_dointvec(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec() argument 1263 proc_douintvec(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_douintvec() argument 1269 proc_dointvec_minmax(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec_minmax() argument 1275 proc_douintvec_minmax(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_douintvec_minmax() argument 1300 proc_uint_conv(ulong * u_ptr,uint * k_ptr,int dir,const struct ctl_table * tbl,bool k_ptr_range_check,int (* user_to_kern)(const ulong * u_ptr,uint * k_ptr),int (* kern_to_user)(ulong * u_ptr,const uint * k_ptr)) proc_uint_conv() argument 1308 proc_dou8vec_minmax(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_dou8vec_minmax() argument 1314 proc_doulongvec_minmax(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_doulongvec_minmax() argument 1320 proc_doulongvec_minmax_conv(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos,unsigned long convmul,unsigned long convdiv) proc_doulongvec_minmax_conv() argument 1327 proc_dointvec_conv(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos,int (* conv)(bool * negp,unsigned long * u_ptr,int * k_ptr,int dir,const struct ctl_table * table)) proc_dointvec_conv() argument 1335 proc_do_large_bitmap(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_do_large_bitmap() argument 1344 proc_do_static_key(const struct ctl_table * table,int dir,void * buffer,size_t * lenp,loff_t * ppos) proc_do_static_key() argument [all...] |