Home
last modified time | relevance | path

Searched refs:cur_pos (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/hid/intel-ish-hid/
H A Dishtp-hid-client.c38 size_t cur_pos, size_t payload_len) in report_bad_packet() argument
50 (unsigned int)cur_pos, in report_bad_packet()
73 size_t payload_len, total_len, cur_pos, raw_len, msg_len; in process_recv() local
85 cur_pos = 0; in process_recv()
88 if (cur_pos + sizeof(struct hostif_msg) > total_len) { in process_recv()
98 recv_msg = (struct hostif_msg *)(recv_buf + cur_pos); in process_recv()
102 if (cur_pos + payload_len + sizeof(struct hostif_msg) > in process_recv()
105 report_bad_packet(hid_ishtp_cl, recv_msg, cur_pos, in process_recv()
120 cur_pos, in process_recv()
169 cur_pos, in process_recv()
[all …]
/linux/drivers/s390/block/
H A Ddasd_fba.c271 int cur_pos = 0; in count_ccws() local
279 cur_pos = wz_stop - first_rec + 1; in count_ccws()
283 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in count_ccws()
290 cur_pos += d_stop - (first_rec + cur_pos) + 1; in count_ccws()
294 if (cur_pos == 0 || first_rec + cur_pos - 1 < last_rec) in count_ccws()
327 int cur_pos = 0; /* Current position within the extent */ in dasd_fba_build_cp_discard() local
365 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); in dasd_fba_build_cp_discard()
370 cur_pos = wz_count; in dasd_fba_build_cp_discard()
374 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in dasd_fba_build_cp_discard()
382 d_count = d_stop - (first_rec + cur_pos) + 1; in dasd_fba_build_cp_discard()
[all …]
H A Ddasd_eckd.c3696 int cur_pos = 0; in count_exts() local
3708 cur_pos = tmp - from + 1; in count_exts()
3712 if (to - (from + cur_pos) + 1 >= trks_per_ext) { in count_exts()
3714 count += (tmp - (from + cur_pos) + 1) / trks_per_ext; in count_exts()
3715 cur_pos = tmp; in count_exts()
3718 if (cur_pos < to) in count_exts()
3881 int cur_pos; in dasd_eckd_release_space_trks() local
3892 cur_pos = from; in dasd_eckd_release_space_trks()
3896 while (cur_pos < to) { in dasd_eckd_release_space_trks()
3897 stop = cur_pos in dasd_eckd_release_space_trks()
[all...]
/linux/tools/lib/python/kdoc/
H A Dkdoc_re.py
/linux/drivers/usb/serial/
H A Dkobil_sct.c106 int cur_pos; /* index of the next char to send in buf */
136 priv->cur_pos = 0; in kobil_port_probe()
303 todo = priv->filled - priv->cur_pos; in kobil_write()
310 priv->buf + priv->cur_pos, length); in kobil_write()
313 priv->cur_pos = priv->cur_pos + length; in kobil_write()
317 todo = priv->filled - priv->cur_pos; in kobil_write()
324 priv->cur_pos = 0; in kobil_write()
108 int cur_pos; /* index of the next char to send in buf */ global() member
/linux/tools/perf/util/
H A Dgenelf_debug.c41 size_t cur_pos; member
51 for (i = 0 ; i < be->cur_pos; i++) in buffer_ext_dump()
62 if ((be->cur_pos + sz) < be_sz) { in buffer_ext_add()
63 memcpy(be->data + be->cur_pos, addr, sz); in buffer_ext_add()
64 be->cur_pos += sz; in buffer_ext_add()
87 be->cur_pos = 0; in buffer_ext_init()
100 return be->cur_pos; in buffer_ext_size()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmdbuf.c123 size_t cur_pos; member
674 if (man->cur_pos == 0) { in __vmw_cmdbuf_cur_flush()
679 man->cur->cb_header->length = man->cur_pos; in __vmw_cmdbuf_cur_flush()
684 man->cur_pos = 0; in __vmw_cmdbuf_cur_flush()
1014 if (cur && (size + man->cur_pos > cur->size || in vmw_cmdbuf_reserve_cur()
1038 return (void *) (man->cur->cmd + man->cur_pos); in vmw_cmdbuf_reserve_cur()
1056 man->cur_pos += size; in vmw_cmdbuf_commit_cur()
1117 man->cur_pos = size; in vmw_cmdbuf_commit()
/linux/include/xen/interface/io/
H A Dsndif.h1026 struct xensnd_cur_pos_evt cur_pos; member
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dreg_bounds.c968 insns[cur_pos + __i] = __insns[__i]; \ in load_range_cmp_prog()
969 cur_pos += __i; \ in load_range_cmp_prog()
971 #define JMP_TO(target) (target - cur_pos - 1) in load_range_cmp_prog()
972 int cur_pos = 0, exit_pos, fd, op_code; in load_range_cmp_prog()
985 exit_pos = cur_pos; in load_range_cmp_prog()
1089 *false_pos = cur_pos; in load_range_cmp_prog()
1106 *true_pos = cur_pos; in parse_reg_state()
1119 "GPL", insns, cur_pos, &opts); in parse_reg_state()
937 int cur_pos = 0, exit_pos, fd, op_code; load_range_cmp_prog() local
/linux/sound/xen/
H A Dxen_snd_front_evtchnl.c121 event->op.cur_pos.position); in evtchnl_interrupt_evt()
/linux/fs/btrfs/
H A Dextent_io.c1332 u64 cur_pos; in btrfs_read_folio()
1343 cur_pos = start; in btrfs_read_folio()
1344 while (cur_pos < end) { in btrfs_read_folio()
1347 ordered = btrfs_lookup_ordered_range(inode, cur_pos, in btrfs_read_folio()
1348 end - cur_pos + 1); in btrfs_read_folio()
1358 cur_pos = min(ordered->file_offset + ordered->num_bytes, in btrfs_read_folio()
1289 u64 cur_pos; lock_extents_for_read() local
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c5794 u8 cur_pos = 0, tuple_size, shift_bits; hclge_fd_convert_meta_data() local