Searched refs:pos (Results 501 - 525 of 678) sorted by relevance

<<2122232425262728

/drivers/staging/lustre/lnet/lnet/
H A Drouter.c185 struct list_head *pos; local
188 list_for_each_prev(pos, &the_lnet.ln_routers) {
189 lnet_peer_t *rtr = list_entry(pos, lnet_peer_t,
196 list_add(&lp->lp_rtr_list, pos);
/drivers/staging/lustre/lustre/obdclass/
H A Dcl_io.c224 enum cl_io_type iot, loff_t pos, size_t count)
231 iot, (__u64)pos, (__u64)pos + count,
233 io->u.ci_rw.crw_pos = pos;
713 * check that [start, end) and [pos, pos + count) extents
223 cl_io_rw_init(const struct lu_env *env, struct cl_io *io, enum cl_io_type iot, loff_t pos, size_t count) argument
/drivers/infiniband/hw/cxgb4/
H A Diw_cxgb4.h521 struct list_head *pos, *nxt; local
525 list_for_each_safe(pos, nxt, &ucontext->mmaps) {
527 mm = list_entry(pos, struct c4iw_mm_entry, entry);
/drivers/media/usb/cx231xx/
H A Dcx231xx.h169 int pos, size, pktsize; member in struct:cx231xx_isoc_ctl
203 int pos, size, pktsize; member in struct:cx231xx_bulk_ctl
251 int pos; member in struct:cx231xx_dmaqueue
H A Dcx231xx-video.c533 dma_q->pos += bytes_to_copy;
544 dma_q->pos = 0;
575 dma_q->pos = 0;
1870 loff_t *pos)
1889 rc = videobuf_read_stream(&fh->vb_vidq, buf, count, pos, 0,
1869 cx231xx_v4l2_read(struct file *filp, char __user *buf, size_t count, loff_t *pos) argument
/drivers/media/usb/dvb-usb/
H A Ddib0700_core.c475 int pos = 0, ret, act_len, i, adap_num; local
483 while ((ret = dvb_usb_get_hexline(fw, &hx, &pos)) > 0) {
502 err("firmware download failed at %d with %d",pos,ret);
H A Dcxusb.c1557 int pos; local
1559 for (pos = 0; pos < ARRAY_SIZE(dvico_firmware_id_offsets); pos++) {
1560 int idoff = dvico_firmware_id_offsets[pos];
/drivers/mfd/
H A Dstmpe.c274 int pos = (pin % afperreg) * (8 / afperreg); local
276 regs[regoffset] &= ~(mask << pos);
277 regs[regoffset] |= af << pos;
/drivers/mtd/nand/
H A Dcafe_nand.c392 int pos[4]; local
402 n = decode_rs16(cafe->rs, NULL, NULL, 1367, syn, 0, pos, 0,
406 int p = pos[i];
/drivers/power/
H A D88pm860x_battery.c115 unsigned long long int pos; member in struct:ccnt
281 ccnt->pos += sum;
307 ccnt->total_chg = (int) ((ccnt->pos * 18236) >> 40);
/drivers/scsi/
H A Dmegaraid.c1070 struct list_head *pos, *next; local
1073 list_for_each_safe(pos, next, &adapter->pending_list) {
1075 scb = list_entry(pos, scb_t, list);
1656 struct list_head *pos; local
1658 list_for_each(pos, &adapter->completed_list) {
1660 struct scsi_pointer* spos = (struct scsi_pointer *)pos;
1939 struct list_head *pos, *next; local
1950 list_for_each_safe(pos, next, &adapter->pending_list) {
1952 scb = list_entry(pos, scb_t, list);
3862 struct list_head *pos; local
[all...]
/drivers/staging/gdm72xx/
H A Dgdm_wimax.c565 int pos = HCI_HEADER_SIZE; local
583 pos += gdm_wimax_hci_get_tlv(&buf[pos], &T, &L, &V);
/drivers/staging/lustre/lustre/llite/
H A Drw.c116 loff_t pos; local
148 pos = (vmpage->index << PAGE_CACHE_SHIFT);
151 result = cl_io_rw_init(env, io, CIT_WRITE, pos, PAGE_CACHE_SIZE);
/drivers/staging/rts5208/
H A Drtsx.c128 do { if (pos < buffer+length) pos += sprintf(pos, ## args); } while (0)
/drivers/tty/vt/
H A Dvt_ioctl.c89 struct list_head *pos, *head; local
96 list_for_each(pos, head) {
97 struct vt_event_wait *ve = list_entry(pos,
/drivers/video/fbdev/core/
H A Dsvgalib.c306 u16 pos = cursor->sx + (info->var.xoffset / 8) local
337 vga_wcrt(regbase, 0x0E, pos >> 8);
338 vga_wcrt(regbase, 0x0F, pos & 0xFF);
/drivers/dma/
H A Dcoh901318.c1615 struct list_head *pos; local
1627 list_for_each(pos, &cohc->active) {
1634 cohd = list_entry(pos, struct coh901318_desc, node);
1679 list_for_each(pos, &cohc->queue) {
1680 cohd = list_entry(pos, struct coh901318_desc, node);
/drivers/net/ethernet/apple/
H A Dbmac.c1570 off_t pos = 0;
1583 pos = begin + len;
1585 if (pos < offset) {
1587 begin = pos;
1590 if (pos > offset+length) break;
/drivers/net/ethernet/sfc/
H A Dptp.c1211 unsigned int pos; local
1241 for (pos = 0; pos < MAX_RECEIVE_EVENTS; pos++)
1242 list_add(&ptp->rx_evts[pos].link, &ptp->evt_free_list);
/drivers/usb/gadget/
H A Dcomposite.c443 struct list_head *pos; local
463 pos = &cdev->configs;
468 while ((pos = pos->next) != &cdev->configs) {
469 c = list_entry(pos, typeof(*c), list);
/drivers/usb/gadget/udc/
H A Dbcm63xx_udc.c1065 struct list_head *pos, *n; local
1081 list_for_each_safe(pos, n, &bep->queue) {
1083 list_entry(pos, struct bcm63xx_req, queue);
2166 struct list_head *pos; local
2201 list_for_each(pos, &iudma->bep->queue)
/drivers/video/fbdev/
H A Dsmscufx.c783 unsigned long page, pos; local
792 pos = (unsigned long)info->fix.smem_start + offset;
795 pos, size);
798 page = vmalloc_to_pfn((void *)pos);
803 pos += PAGE_SIZE;
H A Dudlfb.c325 unsigned long page, pos; local
334 pos = (unsigned long)info->fix.smem_start + offset;
337 pos, size);
340 page = vmalloc_to_pfn((void *)pos);
345 pos += PAGE_SIZE;
/drivers/block/drbd/
H A Ddrbd_nl.c3072 struct drbd_resource *pos = (struct drbd_resource *)cb->args[0]; local
3102 if (pos == NULL) {
3104 pos = tmp;
3105 resource = pos;
3108 if (tmp == pos) {
3109 resource = pos;
3119 pos = list_entry_rcu(resource->resources.next,
3126 if (&pos->resources == &drbd_resources || cb->args[2])
3129 resource = pos;
3179 cb->args[0] = (long)pos;
[all...]
/drivers/ata/
H A Dsata_nv.c1000 int pos, rc; local
1012 while ((pos = ffs(check_commands))) {
1013 pos--;
1014 rc = nv_adma_check_cpb(ap, pos,
1015 notifier_error & (1 << pos));
1017 done_mask |= 1 << pos;
1020 check_commands &= ~(1 << pos);

Completed in 646 milliseconds

<<2122232425262728