Searched refs:newpos (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/net/wireless/ath/wil6210/ |
D | pmc.c | 372 loff_t newpos; in wil_pmc_llseek() local 390 newpos = off; in wil_pmc_llseek() 394 newpos = filp->f_pos + off; in wil_pmc_llseek() 398 newpos = pmc_size; in wil_pmc_llseek() 402 newpos = -EINVAL; in wil_pmc_llseek() 406 if (newpos < 0) { in wil_pmc_llseek() 407 newpos = -EINVAL; in wil_pmc_llseek() 410 if (newpos > pmc_size) in wil_pmc_llseek() 411 newpos = pmc_size; in wil_pmc_llseek() 413 filp->f_pos = newpos; in wil_pmc_llseek() [all …]
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | scan.c | 701 u8 *newpos = pos; in iwl_mvm_copy_and_insert_ds_elem() local 704 memcpy(newpos, ies, len); in iwl_mvm_copy_and_insert_ds_elem() 705 return newpos + len; in iwl_mvm_copy_and_insert_ds_elem() 713 memcpy(newpos, ies, offs); in iwl_mvm_copy_and_insert_ds_elem() 714 newpos += offs; in iwl_mvm_copy_and_insert_ds_elem() 717 *newpos++ = WLAN_EID_DS_PARAMS; in iwl_mvm_copy_and_insert_ds_elem() 718 *newpos++ = 1; in iwl_mvm_copy_and_insert_ds_elem() 719 *newpos++ = 0; in iwl_mvm_copy_and_insert_ds_elem() 721 memcpy(newpos, ies + offs, len - offs); in iwl_mvm_copy_and_insert_ds_elem() 722 newpos += len - offs; in iwl_mvm_copy_and_insert_ds_elem() [all …]
|
/linux-6.6.21/net/ipv4/netfilter/ |
D | arp_tables.c | 363 int newpos = t->verdict; in mark_source_chains() local 367 newpos >= 0) { in mark_source_chains() 369 if (!xt_find_jump_offset(offsets, newpos, in mark_source_chains() 374 newpos = pos + e->next_offset; in mark_source_chains() 375 if (newpos >= newinfo->size) in mark_source_chains() 378 e = entry0 + newpos; in mark_source_chains() 380 pos = newpos; in mark_source_chains()
|
D | ip_tables.c | 425 int newpos = t->verdict; in mark_source_chains() local 429 newpos >= 0) { in mark_source_chains() 431 if (!xt_find_jump_offset(offsets, newpos, in mark_source_chains() 436 newpos = pos + e->next_offset; in mark_source_chains() 437 if (newpos >= newinfo->size) in mark_source_chains() 440 e = entry0 + newpos; in mark_source_chains() 442 pos = newpos; in mark_source_chains()
|
/linux-6.6.21/net/xfrm/ |
D | xfrm_policy.c | 851 struct hlist_node *newpos = NULL; in xfrm_policy_inexact_list_reinsert() local 862 newpos = &p->bydst; in xfrm_policy_inexact_list_reinsert() 865 newpos = &p->bydst; in xfrm_policy_inexact_list_reinsert() 870 if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_policy_inexact_list_reinsert() 871 hlist_add_behind_rcu(&policy->bydst, newpos); in xfrm_policy_inexact_list_reinsert() 1231 struct hlist_node *newpos; in xfrm_hash_rebuild() local 1337 newpos = NULL; in xfrm_hash_rebuild() 1350 newpos = &pol->bydst; in xfrm_hash_rebuild() 1354 if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_hash_rebuild() 1355 hlist_add_behind_rcu(&policy->bydst, newpos); in xfrm_hash_rebuild() [all …]
|
/linux-6.6.21/net/ipv6/netfilter/ |
D | ip6_tables.c | 443 int newpos = t->verdict; in mark_source_chains() local 447 newpos >= 0) { in mark_source_chains() 449 if (!xt_find_jump_offset(offsets, newpos, in mark_source_chains() 454 newpos = pos + e->next_offset; in mark_source_chains() 455 if (newpos >= newinfo->size) in mark_source_chains() 458 e = entry0 + newpos; in mark_source_chains() 460 pos = newpos; in mark_source_chains()
|
/linux-6.6.21/sound/soc/intel/catpt/ |
D | pcm.c | 527 snd_pcm_uframes_t dsppos, newpos; in catpt_stream_update_position() local 539 newpos = r->buffer_size / 2; in catpt_stream_update_position() 541 newpos = 0; in catpt_stream_update_position() 547 frames_to_bytes(r, newpos), in catpt_stream_update_position()
|