Home
last modified time | relevance | path

Searched refs:newpos (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/drivers/char/
Dmbcs.c455 loff_t newpos; in mbcs_sram_llseek() local
459 newpos = off; in mbcs_sram_llseek()
463 newpos = filp->f_pos + off; in mbcs_sram_llseek()
467 newpos = MBCS_SRAM_SIZE + off; in mbcs_sram_llseek()
474 if (newpos < 0) in mbcs_sram_llseek()
477 filp->f_pos = newpos; in mbcs_sram_llseek()
479 return newpos; in mbcs_sram_llseek()
/linux-2.6.39/drivers/s390/char/
Dvmur.c785 loff_t newpos; in ur_llseek() local
793 newpos = offset; in ur_llseek()
796 newpos = file->f_pos + offset; in ur_llseek()
801 file->f_pos = newpos; in ur_llseek()
802 return newpos; in ur_llseek()
/linux-2.6.39/net/ipv4/netfilter/
Darp_tables.c433 int newpos = t->verdict; in mark_source_chains() local
437 newpos >= 0) { in mark_source_chains()
438 if (newpos > newinfo->size - in mark_source_chains()
442 newpos); in mark_source_chains()
448 pos, newpos); in mark_source_chains()
451 newpos = pos + e->next_offset; in mark_source_chains()
454 (entry0 + newpos); in mark_source_chains()
456 pos = newpos; in mark_source_chains()
Dip_tables.c524 int newpos = t->verdict; in mark_source_chains() local
528 newpos >= 0) { in mark_source_chains()
529 if (newpos > newinfo->size - in mark_source_chains()
533 newpos); in mark_source_chains()
538 pos, newpos); in mark_source_chains()
541 newpos = pos + e->next_offset; in mark_source_chains()
544 (entry0 + newpos); in mark_source_chains()
546 pos = newpos; in mark_source_chains()
/linux-2.6.39/net/ipv6/netfilter/
Dip6_tables.c537 int newpos = t->verdict; in mark_source_chains() local
541 newpos >= 0) { in mark_source_chains()
542 if (newpos > newinfo->size - in mark_source_chains()
546 newpos); in mark_source_chains()
551 pos, newpos); in mark_source_chains()
554 newpos = pos + e->next_offset; in mark_source_chains()
557 (entry0 + newpos); in mark_source_chains()
559 pos = newpos; in mark_source_chains()
/linux-2.6.39/net/ipv4/
Dfib_trie.c1026 int pos, newpos; in fib_insert_node() local
1131 newpos = tkey_mismatch(key, pos, n->key); in fib_insert_node()
1132 tn = tnode_new(n->key, newpos, 1); in fib_insert_node()
1134 newpos = 0; in fib_insert_node()
1135 tn = tnode_new(key, newpos, 1); /* First tnode */ in fib_insert_node()
1146 missbit = tkey_extract_bits(key, newpos, 1); in fib_insert_node()
/linux-2.6.39/net/xfrm/
Dxfrm_policy.c553 struct hlist_node *entry, *newpos; in xfrm_policy_insert() local
559 newpos = NULL; in xfrm_policy_insert()
574 newpos = &pol->bydst; in xfrm_policy_insert()
580 if (newpos) in xfrm_policy_insert()
581 hlist_add_after(newpos, &policy->bydst); in xfrm_policy_insert()
/linux-2.6.39/drivers/isdn/hisax/
Dl3dss1.c718 int l, newpos, oldpos; in check_infoelements() local
746 if ((newpos = ie_in_set(pc, *p, cl))) { in check_infoelements()
747 if (newpos > 0) { in check_infoelements()
748 if (newpos < oldpos) in check_infoelements()
751 oldpos = newpos; in check_infoelements()
Dl3ni1.c668 int l, newpos, oldpos; in check_infoelements() local
696 if ((newpos = ie_in_set(pc, *p, cl))) { in check_infoelements()
697 if (newpos > 0) { in check_infoelements()
698 if (newpos < oldpos) in check_infoelements()
701 oldpos = newpos; in check_infoelements()