Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/misc/lkdtm/
Dbugs.c192 unsigned long current_offset = 0, init_offset = 0; in __lkdtm_REPORT_STACK_CANARY() local
199 current_offset = i; in __lkdtm_REPORT_STACK_CANARY()
205 if (current_offset == 0) { in __lkdtm_REPORT_STACK_CANARY()
224 canary = (unsigned long *)stack + current_offset; in __lkdtm_REPORT_STACK_CANARY()
228 stack_canary_offset = current_offset; in __lkdtm_REPORT_STACK_CANARY()
234 if (current_offset != stack_canary_offset) { in __lkdtm_REPORT_STACK_CANARY()
236 stack_canary_offset, current_offset); in __lkdtm_REPORT_STACK_CANARY()
242 stack_canary_pid, pid, current_offset); in __lkdtm_REPORT_STACK_CANARY()
245 stack_canary_pid, pid, current_offset); in __lkdtm_REPORT_STACK_CANARY()
/linux-6.12.1/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-6.12.1/drivers/net/ethernet/8390/
Dlib8390.c664 unsigned short current_offset; in ei_receive() local
698 current_offset = this_frame << 8; in ei_receive()
739 ei_block_input(dev, pkt_len, skb, current_offset + sizeof(rx_frame)); in ei_receive()
Daxnet_cs.c1343 unsigned short current_offset; in ei_receive() local
1374 current_offset = this_frame << 8; in ei_receive()
1408 ei_block_input(dev, pkt_len, skb, current_offset + sizeof(rx_frame)); in ei_receive()
/linux-6.12.1/drivers/scsi/esas2r/
Datioctl.h830 u32 current_offset; member
Desas2r_ioctl.c929 u32 offset = trc->current_offset; in hba_ioctl_callback()
962 trc->current_offset = 0; in hba_ioctl_callback()
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_bsg.c3032 size_t segment_len = 0, segment_offset = 0, current_offset = 0; in lpfc_bsg_diag_loopback_run() local
3182 if (current_offset == 0) { in lpfc_bsg_diag_loopback_run()
3197 ptr + current_offset, in lpfc_bsg_diag_loopback_run()
3200 current_offset += segment_len - segment_offset; in lpfc_bsg_diag_loopback_run()
3201 BUG_ON(current_offset > size); in lpfc_bsg_diag_loopback_run()