Searched defs:allocate (Results 1 - 8 of 8) sorted by relevance

/drivers/firewire/
H A Dcore-iso.c236 int bandwidth, bool allocate)
238 int try, new, old = allocate ? BANDWIDTH_AVAILABLE_INITIAL : 0;
247 new = allocate ? old - bandwidth : old + bandwidth;
259 return allocate ? -EAGAIN : bandwidth;
274 u32 channels_mask, u64 offset, bool allocate)
280 old = all = allocate ? cpu_to_be32(~0) : 0;
299 return allocate ? -EAGAIN : channel;
341 * In parameters: card, generation, channels_mask, bandwidth, allocate
364 bool allocate)
377 allocate);
235 manage_bandwidth(struct fw_card *card, int irm_id, int generation, int bandwidth, bool allocate) argument
273 manage_channel(struct fw_card *card, int irm_id, int generation, u32 channels_mask, u64 offset, bool allocate) argument
362 fw_iso_resource_manage(struct fw_card *card, int generation, u64 channels_mask, int *channel, int *bandwidth, bool allocate) argument
[all...]
H A Dcore-cdev.c424 struct fw_cdev_allocate allocate; member in union:ioctl_arg
776 struct fw_cdev_allocate *a = &arg->allocate;
/drivers/staging/android/ion/
H A Dion_priv.h95 * @allocate: allocate memory
105 * allocate, phys, and map_user return 0 on success, -errno on error.
113 int (*allocate)(struct ion_heap *heap, member in struct:ion_heap_ops
334 * kernel api to allocate/free from carveout -- used when carveout is
/drivers/lguest/
H A Dpage_tables.c289 * If allocate is set, then we allocate any missing levels, setting the flags
293 static pte_t *find_spte(struct lg_cpu *cpu, unsigned long vaddr, bool allocate, argument
305 /* No shadow entry: allocate a new shadow PTE page. */
308 /* If they didn't want us to allocate anything, stop. */
309 if (!allocate)
337 /* No shadow entry: allocate a new shadow PTE page. */
340 /* If they didn't want us to allocate anything, stop. */
341 if (!allocate)
702 * allocate
[all...]
/drivers/net/wireless/b43/
H A Dphy_common.h87 * @allocate: Allocate and initialise the PHY data structures.
93 * The data structures allocated in @allocate are
159 int (*allocate)(struct b43_wldev *dev); member in struct:b43_phy_operations
/drivers/iommu/
H A Dtegra-smmu.c552 dma_addr_t iova, bool allocate,
565 } else if (!allocate) {
571 /* Vacant - allocate a new page table */
577 "failed to allocate smmu_device page table\n");
650 dev_err(smmu->dev, "failed to allocate at %s\n", __func__);
1166 dev_err(dev, "failed to allocate smmu_device\n");
551 locate_pte(struct smmu_as *as, dma_addr_t iova, bool allocate, struct page **ptbl_page_p, unsigned int **count) argument
/drivers/net/wireless/orinoco/
H A Dhermes.h387 int (*allocate)(struct hermes *hw, u16 size, u16 *fid); member in struct:hermes_ops
/drivers/staging/android/
H A Dbinder.c545 static int binder_update_page_range(struct binder_proc *proc, int allocate, argument
557 allocate ? "allocate" : "free", start, end);
562 trace_binder_update_page_range(proc, allocate, start, end);
579 if (allocate == 0)

Completed in 271 milliseconds