Searched refs:current_offset (Results 1 – 9 of 9) sorted by relevance
/linux/tools/power/acpi/common/ |
A 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/drivers/misc/lkdtm/ |
A D | bugs.c | 163 unsigned long current_offset = 0, init_offset = 0; in __lkdtm_REPORT_STACK_CANARY() local 170 current_offset = i; in __lkdtm_REPORT_STACK_CANARY() 176 if (current_offset == 0) { in __lkdtm_REPORT_STACK_CANARY() 195 canary = (unsigned long *)stack + current_offset; in __lkdtm_REPORT_STACK_CANARY() 199 stack_canary_offset = current_offset; in __lkdtm_REPORT_STACK_CANARY() 205 if (current_offset != stack_canary_offset) { in __lkdtm_REPORT_STACK_CANARY() 207 stack_canary_offset, current_offset); in __lkdtm_REPORT_STACK_CANARY() 213 stack_canary_pid, pid, current_offset); in __lkdtm_REPORT_STACK_CANARY() 216 stack_canary_pid, pid, current_offset); in __lkdtm_REPORT_STACK_CANARY()
|
/linux/drivers/regulator/ |
A 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/arch/powerpc/platforms/powernv/ |
A D | pci-ioda-tce.c | 259 unsigned long *current_offset, unsigned long *total_allocated) in pnv_pci_ioda2_table_do_alloc_pages() argument 271 *current_offset += allocated; in pnv_pci_ioda2_table_do_alloc_pages() 277 levels, limit, current_offset, total_allocated); in pnv_pci_ioda2_table_do_alloc_pages() 284 if (*current_offset >= limit) in pnv_pci_ioda2_table_do_alloc_pages()
|
/linux/drivers/net/ethernet/8390/ |
A 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()
|
A 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/drivers/scsi/esas2r/ |
A D | atioctl.h | 830 u32 current_offset; member
|
A D | esas2r_ioctl.c | 933 u32 offset = trc->current_offset; in hba_ioctl_callback() 967 trc->current_offset = 0; in hba_ioctl_callback()
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_bsg.c | 3092 size_t segment_len = 0, segment_offset = 0, current_offset = 0; in lpfc_bsg_diag_loopback_run() local 3239 if (current_offset == 0) { in lpfc_bsg_diag_loopback_run() 3254 ptr + current_offset, in lpfc_bsg_diag_loopback_run() 3257 current_offset += segment_len - segment_offset; in lpfc_bsg_diag_loopback_run() 3258 BUG_ON(current_offset > size); in lpfc_bsg_diag_loopback_run()
|
Completed in 40 milliseconds