Home
last modified time | relevance | path

Searched refs:reserve (Results 1 – 25 of 56) sorted by relevance

123

/drivers/char/agp/
Dfrontend.c801 struct agp_region reserve; in agpioc_reserve_wrap() local
806 if (copy_from_user(&reserve, arg, sizeof(struct agp_region))) in agpioc_reserve_wrap()
809 if ((unsigned) reserve.seg_count >= ~0U/sizeof(struct agp_segment)) in agpioc_reserve_wrap()
812 client = agp_find_client_by_pid(reserve.pid); in agpioc_reserve_wrap()
814 if (reserve.seg_count == 0) { in agpioc_reserve_wrap()
816 client_priv = agp_find_private(reserve.pid); in agpioc_reserve_wrap()
826 return agp_remove_client(reserve.pid); in agpioc_reserve_wrap()
830 if (reserve.seg_count >= 16384) in agpioc_reserve_wrap()
833 segment = kmalloc((sizeof(struct agp_segment) * reserve.seg_count), in agpioc_reserve_wrap()
839 if (copy_from_user(segment, (void __user *) reserve.seg_list, in agpioc_reserve_wrap()
[all …]
/drivers/pinctrl/
Dpinconf-generic.c255 unsigned reserve; in pinconf_generic_dt_subnode_to_map() local
273 reserve = 0; in pinconf_generic_dt_subnode_to_map()
275 reserve++; in pinconf_generic_dt_subnode_to_map()
277 reserve++; in pinconf_generic_dt_subnode_to_map()
283 reserve *= ret; in pinconf_generic_dt_subnode_to_map()
286 num_maps, reserve); in pinconf_generic_dt_subnode_to_map()
Dpinctrl-tz1090-pdc.c290 unsigned int reserve) in reserve_map() argument
293 unsigned int new_num = *num_maps + reserve; in reserve_map()
405 unsigned int reserve; in tz1090_pdc_pinctrl_dt_subnode_to_map() local
422 reserve = 0; in tz1090_pdc_pinctrl_dt_subnode_to_map()
424 reserve++; in tz1090_pdc_pinctrl_dt_subnode_to_map()
426 reserve++; in tz1090_pdc_pinctrl_dt_subnode_to_map()
432 reserve *= ret; in tz1090_pdc_pinctrl_dt_subnode_to_map()
434 ret = reserve_map(dev, map, reserved_maps, num_maps, reserve); in tz1090_pdc_pinctrl_dt_subnode_to_map()
Dpinctrl-tegra.c129 unsigned reserve; in tegra_pinctrl_dt_subnode_to_map() local
157 reserve = 0; in tegra_pinctrl_dt_subnode_to_map()
159 reserve++; in tegra_pinctrl_dt_subnode_to_map()
161 reserve++; in tegra_pinctrl_dt_subnode_to_map()
167 reserve *= ret; in tegra_pinctrl_dt_subnode_to_map()
170 num_maps, reserve); in tegra_pinctrl_dt_subnode_to_map()
Dpinctrl-utils.c33 unsigned *num_maps, unsigned reserve) in pinctrl_utils_reserve_map() argument
36 unsigned new_num = *num_maps + reserve; in pinctrl_utils_reserve_map()
Dpinctrl-tz1090.c1034 unsigned int reserve) in reserve_map() argument
1037 unsigned int new_num = *num_maps + reserve; in reserve_map()
1122 unsigned int reserve; in tz1090_pinctrl_dt_subnode_to_map() local
1138 reserve = 0; in tz1090_pinctrl_dt_subnode_to_map()
1140 reserve++; in tz1090_pinctrl_dt_subnode_to_map()
1142 reserve++; in tz1090_pinctrl_dt_subnode_to_map()
1148 reserve *= ret; in tz1090_pinctrl_dt_subnode_to_map()
1150 ret = reserve_map(dev, map, reserved_maps, num_maps, reserve); in tz1090_pinctrl_dt_subnode_to_map()
Dpinctrl-tegra-xusb.c153 unsigned int i, reserve = 0, num_configs = 0; in tegra_xusb_padctl_parse_subnode() local
186 reserve++; in tegra_xusb_padctl_parse_subnode()
189 reserve++; in tegra_xusb_padctl_parse_subnode()
195 reserve *= err; in tegra_xusb_padctl_parse_subnode()
198 num_maps, reserve); in tegra_xusb_padctl_parse_subnode()
Dpinctrl-utils.h27 unsigned *num_maps, unsigned reserve);
/drivers/md/bcache/
Dalloc.c381 long bch_bucket_alloc(struct cache *ca, unsigned reserve, bool wait) in bch_bucket_alloc() argument
389 fifo_pop(&ca->free[reserve], r)) in bch_bucket_alloc()
393 trace_bcache_alloc_fail(ca, reserve); in bch_bucket_alloc()
405 !fifo_pop(&ca->free[reserve], r)); in bch_bucket_alloc()
412 trace_bcache_alloc(ca, reserve); in bch_bucket_alloc()
435 if (reserve <= RESERVE_PRIO) { in bch_bucket_alloc()
463 int __bch_bucket_alloc_set(struct cache_set *c, unsigned reserve, in __bch_bucket_alloc_set() argument
477 long b = bch_bucket_alloc(ca, reserve, wait); in __bch_bucket_alloc_set()
496 int bch_bucket_alloc_set(struct cache_set *c, unsigned reserve, in bch_bucket_alloc_set() argument
501 ret = __bch_bucket_alloc_set(c, reserve, k, n, wait); in bch_bucket_alloc_set()
/drivers/bluetooth/
Dbtwilink.c131 .reserve = 8,
138 .reserve = 8,
145 .reserve = 8,
/drivers/scsi/
Dsg.c159 Sg_scatter_hold reserve; /* buffer held for this file descriptor */ member
728 if (hp->dxfer_len > sfp->reserve.bufflen) { in sg_new_write()
1021 if (val != sfp->reserve.bufflen) { in sg_ioctl()
1028 sg_remove_scat(sfp, &sfp->reserve); in sg_ioctl()
1034 val = min_t(int, sfp->reserve.bufflen, in sg_ioctl()
1256 rsv_schp = &sfp->reserve; in sg_vma_fault()
1303 rsv_schp = &sfp->reserve; in sg_mmap()
1730 Sg_scatter_hold *rsv_schp = &sfp->reserve; in sg_start_req()
2045 Sg_scatter_hold *schp = &sfp->reserve; in sg_build_reserve()
2064 Sg_scatter_hold *rsv_schp = &sfp->reserve; in sg_link_reserve()
[all …]
Dhptiop.h65 __le32 reserve[10]; member
204 __le32 reserve[6]; member
/drivers/pinctrl/samsung/
Dpinctrl-samsung.c93 unsigned reserve) in reserve_map() argument
96 unsigned new_num = *num_maps + reserve; in reserve_map()
204 unsigned reserve; in samsung_dt_subnode_to_map() local
227 reserve = 0; in samsung_dt_subnode_to_map()
229 reserve++; in samsung_dt_subnode_to_map()
231 reserve++; in samsung_dt_subnode_to_map()
237 reserve *= ret; in samsung_dt_subnode_to_map()
239 ret = reserve_map(dev, map, reserved_maps, num_maps, reserve); in samsung_dt_subnode_to_map()
/drivers/mtd/ubi/
DKconfig46 To put it differently, if this value is 20, UBI will try to reserve
51 MTD partitions of the same size, UBI will reserve 40 eraseblocks when
76 into one PEB. UBI will reserve PEBs to hold two fastmaps.
/drivers/scsi/ibmvscsi/
Dviosrp.h191 struct mad_reserve_cap reserve; member
Dibmvscsi.c1240 if (hostdata->caps.reserve.common.server_support == in capabilities_rsp()
1298 hostdata->caps.reserve.common.cap_type = in send_mad_capabilities()
1300 hostdata->caps.reserve.common.length = in send_mad_capabilities()
1301 cpu_to_be16(sizeof(hostdata->caps.reserve)); in send_mad_capabilities()
1302 hostdata->caps.reserve.common.server_support = in send_mad_capabilities()
1304 hostdata->caps.reserve.type = in send_mad_capabilities()
1310 sizeof(hostdata->caps.reserve)); in send_mad_capabilities()
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_cmdpkt.h63 u16 reserve; member
/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.h62 u16 reserve; member
/drivers/net/ethernet/ibm/emac/
DKconfig36 will always reserve at least 2 bytes to make IP header
/drivers/net/wireless/rtlwifi/rtl8192cu/
Dmac.h105 u8 reserve:4; member
/drivers/net/ethernet/adi/
DKconfig41 buffers. Say N here if you want to reserve L1 memory for other uses.
/drivers/dma/
Dfsldma.h94 v32 reserve; member
/drivers/gpu/drm/ttm/
Dttm_memory.c476 uint64_t amount, bool reserve) in ttm_mem_global_reserve() argument
496 if (reserve) { in ttm_mem_global_reserve()
/drivers/usb/gadget/udc/
Dfsl_qe_udc.h145 u8 reserve[2]; member
/drivers/pci/
DKconfig46 Say Y or M here if you want be able to reserve a PCI device

123