/openbmc/linux/tools/power/acpi/common/ |
H 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()
|
/openbmc/google-misc/subprojects/libcr51sign/src/ |
H A D | libcr51sign_mauv.c | 111 for (uint32_t current_offset = offset_after_payload_blob_magic; in find_image_mauv_data_offset_in_payload() local 112 current_offset <= offset_after_payload_blob_magic + payload_blob_size - in find_image_mauv_data_offset_in_payload() 116 irv = intf->read(ctx, current_offset, sizeof(struct blob_data), in find_image_mauv_data_offset_in_payload() 121 __FUNCTION__, current_offset); in find_image_mauv_data_offset_in_payload() 125 if ((current_offset - offset_after_payload_blob_magic) + in find_image_mauv_data_offset_in_payload() 143 current_offset + sizeof(struct blob_data); in find_image_mauv_data_offset_in_payload() 160 current_offset += sizeof(struct blob_data) + in find_image_mauv_data_offset_in_payload() 163 current_offset = in find_image_mauv_data_offset_in_payload() 164 ((current_offset - 1) & ~(BLOB_DATA_ALIGNMENT - 1)) + in find_image_mauv_data_offset_in_payload()
|
/openbmc/linux/drivers/regulator/ |
H 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()
|
/openbmc/linux/drivers/misc/lkdtm/ |
H A 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()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A 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()
|
/openbmc/qemu/util/ |
H A D | iov.c | 425 size_t current_offset; in qemu_iovec_is_zero() local 429 iov = iov_skip_offset(qiov->iov, offset, ¤t_offset); in qemu_iovec_is_zero() 432 uint8_t *base = (uint8_t *)iov->iov_base + current_offset; in qemu_iovec_is_zero() 433 size_t len = MIN(iov->iov_len - current_offset, bytes); in qemu_iovec_is_zero() 439 current_offset = 0; in qemu_iovec_is_zero()
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | lib8390.c | 664 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()
|
H A D | axnet_cs.c | 1343 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()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | fat16.py | 253 current_offset = i % SECTOR_SIZE 267 FatDirectoryEntry(entry, current_sector, current_offset)
|
/openbmc/linux/drivers/scsi/esas2r/ |
H A D | atioctl.h | 830 u32 current_offset; member
|
H A D | esas2r_ioctl.c | 933 u32 offset = trc->current_offset; in hba_ioctl_callback() 966 trc->current_offset = 0; in hba_ioctl_callback()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 3032 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()
|