Searched refs:current_offset (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/tools/power/acpi/common/ |
D | cmfsize.c | 32 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/ |
D | bugs.c | 165 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/ |
D | ad5398.c | 26 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/ |
D | pci-ioda-tce.c | 258 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/ |
D | lib8390.c | 665 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()
|
D | axnet_cs.c | 1346 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/ |
D | atioctl.h | 830 u32 current_offset; member
|
D | esas2r_ioctl.c | 933 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/ |
D | lpfc_bsg.c | 3044 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()
|