Searched refs:last (Results 176 - 200 of 1032) sorted by relevance

1234567891011>>

/linux-master/include/linux/
H A Dmaple_tree.h51 * extra bit to store the offset. This extra bit comes from a reuse of the last
319 unsigned long last, void *entry, gfp_t gfp);
331 unsigned long last, void *entry, gfp_t gfp);
415 * When returning a value the maple state index and last respectively contain
423 * status is ma_overflow, then the last action hit the upper limit.
429 unsigned long last; /* The last index we're operating on - range end */ member in struct:ma_state
473 .last = end, \
535 mas->index = mas->last = addr;
573 * When returned, mas->index and mas->last wil
715 __mas_set_range(struct ma_state *mas, unsigned long start, unsigned long last) argument
736 mas_set_range(struct ma_state *mas, unsigned long start, unsigned long last) argument
[all...]
H A Dmsi.h172 * @msg: The last set MSI message cached for reuse
348 unsigned int first, unsigned int last);
356 * @last: Last index to be freed (inclusive)
359 unsigned int last)
361 msi_domain_free_msi_descs_range(dev, MSI_DEFAULT_DOMAIN, first, last);
626 unsigned int first, unsigned int last);
628 unsigned int first, unsigned int last);
636 unsigned int first, unsigned int last);
638 unsigned int first, unsigned int last);
358 msi_free_msi_descs_range(struct device *dev, unsigned int first, unsigned int last) argument
/linux-master/drivers/staging/media/atomisp/pci/runtime/pipeline/src/
H A Dpipeline.c276 struct ia_css_pipeline_stage *last, *new_stage = NULL; local
282 last = pipeline->stages;
294 /* Find the last stage */
295 while (last && last->next)
296 last = last->next;
306 if (last && last->args.out_frame[0])
307 stage_desc->in_frame = last
[all...]
/linux-master/drivers/iommu/iommufd/
H A Dio_pagetable.c167 unsigned long last; local
174 if (check_add_overflow(iova, length - 1, &last))
178 if (iopt_reserved_iter_first(iopt, iova, last))
182 if (iopt_area_iter_first(iopt, iova, last))
206 if (check_add_overflow(iova, length - 1, &area->node.last))
210 if (check_add_overflow(start_byte, length - 1, &area->pages_node.last))
212 area->pages_node.last = area->pages_node.last / PAGE_SIZE;
213 if (WARN_ON(area->pages_node.last >= pages->npages))
450 unsigned long last local
615 unsigned long last = min(last_iova, iopt_area_last_iova(area)); local
640 iopt_unmap_iova_range(struct io_pagetable *iopt, unsigned long start, unsigned long last, unsigned long *unmapped) argument
776 iopt_reserve_iova(struct io_pagetable *iopt, unsigned long start, unsigned long last, void *owner) argument
[all...]
/linux-master/tools/testing/selftests/kvm/lib/
H A Dsparsebit.c100 * but the last two bits set, is represented by the following two nodes:
117 * + A node with all mask bits set only occurs when the last bit
593 * + A node with all mask bits set only occurs when the last bit
1445 /* Trailing - bits at and beyond last mask boundary */
1514 /* Trailing - bits at and beyond last mask boundary */
1839 * be adjacent to the last bit described by the
1894 sparsebit_idx_t first, last; member in struct:range
1907 if (ranges[i].first <= idx && idx <= ranges[i].last)
1913 static void operate(int code, sparsebit_idx_t first, sparsebit_idx_t last) argument
1918 if (first < last) {
2079 uint64_t last = get64(); local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dnpde.c56 info->last = nvbios_rd08(bios, data + 0x0a) & 0x80;
/linux-master/drivers/sh/intc/
H A Dvirq.c87 struct intc_virq_list **last = NULL; local
93 last = &entry->next;
102 if (last)
103 *last = entry;
/linux-master/arch/x86/events/intel/
H A Dpt.h58 * @last: shorthand for last topa table
77 struct topa *first, *last, *cur; member in struct:pt_buffer
117 * @filters: last configured filters
/linux-master/drivers/crypto/inside-secure/
H A Dsafexcel_ring.c181 bool first, bool last,
196 cdesc->last_seg = last;
226 bool first, bool last,
241 rdesc->last_seg = last;
179 safexcel_add_cdesc(struct safexcel_crypto_priv *priv, int ring_id, bool first, bool last, dma_addr_t data, u32 data_len, u32 full_data_len, dma_addr_t context, struct safexcel_token **atoken) argument
224 safexcel_add_rdesc(struct safexcel_crypto_priv *priv, int ring_id, bool first, bool last, dma_addr_t data, u32 len) argument
/linux-master/include/rdma/
H A Dib_umem_odp.h58 /* Returns the address of the page after the last one of an ODP umem. */
61 return umem_odp->notifier.interval_tree.last + 1;
/linux-master/drivers/acpi/pmic/
H A Dintel_pmic_xpower.c300 struct acpi_lpat last = lpat_table->lpat[lpat_table->lpat_count - 1]; local
309 if (first.raw < last.raw)
310 raw = clamp(raw, first.raw, last.raw);
312 raw = clamp(raw, last.raw, first.raw);
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_allocator.c47 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last);
73 alloc->last = min(alloc->last, obj);
86 alloc->last = 0;
/linux-master/tools/perf/util/
H A Dordered-events.h46 struct ordered_event *last; member in struct:ordered_events
/linux-master/net/rds/
H A Dbind.c98 u16 rover, last; local
105 last = rover;
108 last = rover - 1;
143 } while (rover++ != last);
/linux-master/drivers/gpu/drm/lima/
H A Dlima_devfreq.c21 ktime_t now, last; local
24 last = devfreq->time_last_update;
27 devfreq->busy_time += ktime_sub(now, last);
29 devfreq->idle_time += ktime_sub(now, last);
/linux-master/drivers/ata/
H A Dpata_cmd640.c29 int last; member in struct:cmd640_reg
136 if (ap->port_no != 0 && adev->devno != timing->last) {
138 timing->last = adev->devno;
159 timing->last = -1; /* Force a load */
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_smi_events.h50 unsigned long address, unsigned long last,
/linux-master/arch/alpha/lib/
H A Dstrncat.S60 zapnot $1, $27, $2 # was last byte a null?
/linux-master/lib/
H A Dobjpool.c39 slot->last = slot->tail;
174 smp_store_release(&slot->last, tail + 1);
201 while (head != READ_ONCE(slot->last)) {
205 * data visibility of 'last' and 'head' could be out of
206 * order since memory updating of 'last' and 'head' are
210 * 'last' is behind 'head', that is to say, there must
212 * by condition 'last != head && last - head <= nr_objs'
213 * that is equivalent to 'last - head - 1 < nr_objs' as
214 * 'last' an
[all...]
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_devfreq.c16 ktime_t now, last; local
19 last = pfdevfreq->time_last_update;
22 pfdevfreq->busy_time += ktime_sub(now, last);
24 pfdevfreq->idle_time += ktime_sub(now, last);
/linux-master/drivers/gpu/drm/xe/
H A Dxe_migrate.h76 /** @last: Last of update for the range fence */
77 u64 last; member in struct:xe_migrate_pt_update
H A Dxe_rtp.c192 unsigned int first, unsigned int last)
197 if (drm_WARN_ON(&xe->drm, last > ctx->n_entries))
200 if (first == last)
203 bitmap_set(ctx->active_entries, first, last - first + 2);
190 rtp_mark_active(struct xe_device *xe, struct xe_rtp_process_ctx *ctx, unsigned int first, unsigned int last) argument
/linux-master/tools/perf/tests/
H A Dmmap-basic.c236 __u64 start, end, last = 0; local
248 if ((end - start) < last) {
249 pr_err("invalid counter data: end=%llu start=%llu last= %llu\n",
250 end, start, last);
253 last = end - start;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddpll.c20 } last; member in struct:mlx5_dpll
267 if (!mdpll->last.valid)
270 if (mdpll->last.lock_status != lock_status)
272 if (mdpll->last.pin_state != pin_state)
276 mdpll->last.lock_status = lock_status;
277 mdpll->last.pin_state = pin_state;
278 mdpll->last.valid = true;
/linux-master/drivers/scsi/esas2r/
H A Desas2r_io.c236 /* Calculate the length of the last SGE filled in */
238 - (u8 *)sgc->sge.a64.last);
241 * Copy the last SGE filled in to the first entry of
244 memcpy(sgl->virt_addr, sgc->sge.a64.last, sgelen);
257 sgc->sge.a64.last->length = cpu_to_le32(
259 sgc->sge.a64.last->address =
272 last + 1)
280 sge.a64.last -
299 sgc->sge.a64.chain = sgc->sge.a64.last;
305 /* Update last on
[all...]

Completed in 200 milliseconds

1234567891011>>