Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dpmc.c372 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.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c695 u8 *newpos = pos; in iwl_mvm_copy_and_insert_ds_elem() local
698 memcpy(newpos, ies, len); in iwl_mvm_copy_and_insert_ds_elem()
699 return newpos + len; in iwl_mvm_copy_and_insert_ds_elem()
707 memcpy(newpos, ies, offs); in iwl_mvm_copy_and_insert_ds_elem()
708 newpos += offs; in iwl_mvm_copy_and_insert_ds_elem()
711 *newpos++ = WLAN_EID_DS_PARAMS; in iwl_mvm_copy_and_insert_ds_elem()
712 *newpos++ = 1; in iwl_mvm_copy_and_insert_ds_elem()
713 *newpos++ = 0; in iwl_mvm_copy_and_insert_ds_elem()
715 memcpy(newpos, ies + offs, len - offs); in iwl_mvm_copy_and_insert_ds_elem()
716 newpos += len - offs; in iwl_mvm_copy_and_insert_ds_elem()
[all …]
/linux-6.1.9/net/ipv4/netfilter/
Darp_tables.c363 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()
Dip_tables.c427 int newpos = t->verdict; in mark_source_chains() local
431 newpos >= 0) { in mark_source_chains()
433 if (!xt_find_jump_offset(offsets, newpos, in mark_source_chains()
438 newpos = pos + e->next_offset; in mark_source_chains()
439 if (newpos >= newinfo->size) in mark_source_chains()
442 e = entry0 + newpos; in mark_source_chains()
444 pos = newpos; in mark_source_chains()
/linux-6.1.9/net/xfrm/
Dxfrm_policy.c850 struct hlist_node *newpos = NULL; in xfrm_policy_inexact_list_reinsert() local
861 newpos = &p->bydst; in xfrm_policy_inexact_list_reinsert()
864 newpos = &p->bydst; in xfrm_policy_inexact_list_reinsert()
869 if (newpos) in xfrm_policy_inexact_list_reinsert()
870 hlist_add_behind_rcu(&policy->bydst, newpos); in xfrm_policy_inexact_list_reinsert()
1230 struct hlist_node *newpos; in xfrm_hash_rebuild() local
1333 newpos = NULL; in xfrm_hash_rebuild()
1346 newpos = &pol->bydst; in xfrm_hash_rebuild()
1350 if (newpos) in xfrm_hash_rebuild()
1351 hlist_add_behind_rcu(&policy->bydst, newpos); in xfrm_hash_rebuild()
[all …]
/linux-6.1.9/net/ipv6/netfilter/
Dip6_tables.c445 int newpos = t->verdict; in mark_source_chains() local
449 newpos >= 0) { in mark_source_chains()
451 if (!xt_find_jump_offset(offsets, newpos, in mark_source_chains()
456 newpos = pos + e->next_offset; in mark_source_chains()
457 if (newpos >= newinfo->size) in mark_source_chains()
460 e = entry0 + newpos; in mark_source_chains()
462 pos = newpos; in mark_source_chains()
/linux-6.1.9/sound/soc/intel/catpt/
Dpcm.c527 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()