Home
last modified time | relevance | path

Searched refs:current_offset (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/tools/power/acpi/common/
Dcmfsize.c32 long current_offset; in cm_get_file_size() local
37 current_offset = ftell(file); in cm_get_file_size()
38 if (current_offset < 0) { in cm_get_file_size()
54 status = fseek(file, current_offset, SEEK_SET); in cm_get_file_size()
/linux-5.19.10/drivers/misc/lkdtm/
Dbugs.c165 unsigned long current_offset = 0, init_offset = 0; in __lkdtm_REPORT_STACK_CANARY() local
172 current_offset = i; in __lkdtm_REPORT_STACK_CANARY()
178 if (current_offset == 0) { in __lkdtm_REPORT_STACK_CANARY()
197 canary = (unsigned long *)stack + current_offset; in __lkdtm_REPORT_STACK_CANARY()
201 stack_canary_offset = current_offset; in __lkdtm_REPORT_STACK_CANARY()
207 if (current_offset != stack_canary_offset) { in __lkdtm_REPORT_STACK_CANARY()
209 stack_canary_offset, current_offset); in __lkdtm_REPORT_STACK_CANARY()
215 stack_canary_pid, pid, current_offset); in __lkdtm_REPORT_STACK_CANARY()
218 stack_canary_pid, pid, current_offset); in __lkdtm_REPORT_STACK_CANARY()
/linux-5.19.10/drivers/regulator/
Dad5398.c26 unsigned int current_offset; member
79 ret = (data & chip->current_mask) >> chip->current_offset; in ad5398_get_current_limit()
115 selector = (selector << chip->current_offset) & chip->current_mask; in ad5398_set_current_limit()
201 int current_offset; member
240 chip->current_offset = df->current_offset; in ad5398_probe()
241 chip->current_mask = (chip->current_level - 1) << chip->current_offset; in ad5398_probe()
/linux-5.19.10/arch/powerpc/platforms/powernv/
Dpci-ioda-tce.c258 unsigned long *current_offset, unsigned long *total_allocated) in pnv_pci_ioda2_table_do_alloc_pages() argument
270 *current_offset += allocated; in pnv_pci_ioda2_table_do_alloc_pages()
276 levels, limit, current_offset, total_allocated); in pnv_pci_ioda2_table_do_alloc_pages()
283 if (*current_offset >= limit) in pnv_pci_ioda2_table_do_alloc_pages()
/linux-5.19.10/drivers/net/ethernet/8390/
Dlib8390.c665 unsigned short current_offset; in ei_receive() local
699 current_offset = this_frame << 8; in ei_receive()
740 ei_block_input(dev, pkt_len, skb, current_offset + sizeof(rx_frame)); in ei_receive()
Daxnet_cs.c1346 unsigned short current_offset; in ei_receive() local
1377 current_offset = this_frame << 8; in ei_receive()
1411 ei_block_input(dev, pkt_len, skb, current_offset + sizeof(rx_frame)); in ei_receive()
/linux-5.19.10/drivers/scsi/esas2r/
Datioctl.h830 u32 current_offset; member
Desas2r_ioctl.c933 u32 offset = trc->current_offset; in hba_ioctl_callback()
967 trc->current_offset = 0; in hba_ioctl_callback()
/linux-5.19.10/drivers/scsi/lpfc/
Dlpfc_bsg.c3044 size_t segment_len = 0, segment_offset = 0, current_offset = 0; in lpfc_bsg_diag_loopback_run() local
3194 if (current_offset == 0) { in lpfc_bsg_diag_loopback_run()
3209 ptr + current_offset, in lpfc_bsg_diag_loopback_run()
3212 current_offset += segment_len - segment_offset; in lpfc_bsg_diag_loopback_run()
3213 BUG_ON(current_offset > size); in lpfc_bsg_diag_loopback_run()