/net/sunrpc/auth_gss/ |
D | gss_krb5_wrap.c | 401 static void rotate_buf_a_little(struct xdr_buf *buf, unsigned int shift) in rotate_buf_a_little() argument 407 BUG_ON(shift > LOCAL_BUF_LEN); in rotate_buf_a_little() 409 read_bytes_from_xdr_buf(buf, 0, head, shift); in rotate_buf_a_little() 410 for (i = 0; i + shift < buf->len; i += LOCAL_BUF_LEN) { in rotate_buf_a_little() 411 this_len = min(LOCAL_BUF_LEN, buf->len - (i + shift)); in rotate_buf_a_little() 412 read_bytes_from_xdr_buf(buf, i+shift, tmp, this_len); in rotate_buf_a_little() 415 write_bytes_to_xdr_buf(buf, buf->len - shift, head, shift); in rotate_buf_a_little() 418 static void _rotate_left(struct xdr_buf *buf, unsigned int shift) in _rotate_left() argument 423 shift %= buf->len; in _rotate_left() 424 while (shifted < shift) { in _rotate_left() [all …]
|
/net/netfilter/ |
D | nf_conntrack_sip.c | 59 const char *limit, int *shift) in string_len() argument 71 const char *limit, int *shift) in digits_len() argument 102 const char *limit, int *shift) in callid_len() argument 121 const char *limit, int *shift) in media_len() argument 123 int len = string_len(ct, dptr, limit, shift); in media_len() 131 return len + digits_len(ct, dptr, limit, shift); in media_len() 177 const char *limit, int *shift) in epaddr_len() argument 190 dptr += digits_len(ct, dptr, limit, shift); in epaddr_len() 197 const char *limit, int *shift) in skp_epaddr_len() argument 200 int s = *shift; in skp_epaddr_len() [all …]
|
D | nf_conntrack_h323_asn1.c | 208 unsigned int v, l, shift, bytes; in get_bitmap() local 222 for (bytes = l >> 3, shift = 24, v = 0; bytes; in get_bitmap() 223 bytes--, shift -= 8) in get_bitmap() 224 v |= (unsigned int)(*bs->cur++) << shift; in get_bitmap() 227 v |= (unsigned int)(*bs->cur) << shift; in get_bitmap()
|
D | Kconfig | 1466 AND them with specified masks, shift them by specified amounts and
|
/net/mac80211/ |
D | util.c | 112 int shift) in ieee80211_frame_duration() argument 150 dur *= 1 << shift; in ieee80211_frame_duration() 186 int erp, shift = 0; in ieee80211_generic_frame_duration() local 195 shift = ieee80211_vif_get_shift(vif); in ieee80211_generic_frame_duration() 199 short_preamble, shift); in ieee80211_generic_frame_duration() 213 int erp, shift = 0, bitrate; in ieee80211_rts_duration() local 229 shift = ieee80211_vif_get_shift(vif); in ieee80211_rts_duration() 232 bitrate = DIV_ROUND_UP(rate->bitrate, 1 << shift); in ieee80211_rts_duration() 236 erp, short_preamble, shift); in ieee80211_rts_duration() 239 erp, short_preamble, shift); in ieee80211_rts_duration() [all …]
|
D | rc80211_minstrel.c | 406 int shift = ieee80211_chandef_get_shift(chandef); in calc_rate_durations() local 409 DIV_ROUND_UP(rate->bitrate, 1 << shift), erp, 1, in calc_rate_durations() 410 shift); in calc_rate_durations() 412 DIV_ROUND_UP(rate->bitrate, 1 << shift), erp, 1, in calc_rate_durations() 413 shift); in calc_rate_durations() 468 int shift; in minstrel_rate_init() local 480 shift = ieee80211_chandef_get_shift(chandef); in minstrel_rate_init() 482 (1 << shift) * 5); in minstrel_rate_init()
|
D | status.c | 276 int rtap_len, int shift) in ieee80211_add_tx_radiotap_header() argument 307 *pos = DIV_ROUND_UP(rate, 5 * (1 << shift)); in ieee80211_add_tx_radiotap_header() 591 int shift = 0; in ieee80211_tx_status() local 626 shift = ieee80211_vif_get_shift(&sta->sdata->vif); in ieee80211_tx_status() 802 rtap_len, shift); in ieee80211_tx_status()
|
D | ibss.c | 55 int shift; in ieee80211_ibss_build_presp() local 94 shift = ieee80211_chandef_get_shift(chandef); in ieee80211_ibss_build_presp() 114 5 * (1 << shift)); in ieee80211_ibss_build_presp() 157 5 * (1 << shift)); in ieee80211_ibss_build_presp() 400 int shift; in ieee80211_sta_join_ibss() local 429 shift = ieee80211_vif_get_shift(&sdata->vif); in ieee80211_sta_join_ibss() 444 5 * (1 << shift)); in ieee80211_sta_join_ibss()
|
D | ieee80211_i.h | 932 int shift = 0; in ieee80211_vif_get_shift() local 937 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift() 940 return shift; in ieee80211_vif_get_shift() 1700 int shift);
|
D | mlme.c | 597 int i, count, rates_len, supp_rates_len, shift; in ieee80211_send_assoc() local 616 shift = ieee80211_vif_get_shift(&sdata->vif); in ieee80211_send_assoc() 723 5 * (1 << shift)); in ieee80211_send_assoc() 739 5 * (1 << shift)); in ieee80211_send_assoc() 2508 int shift, u32 rate_flags) in ieee80211_get_rates() argument 2516 if ((rate * 5 * (1 << shift)) > 110) in ieee80211_get_rates() 2539 brate = DIV_ROUND_UP(br->bitrate, (1 << shift) * 5); in ieee80211_get_rates() 4016 int shift; in ieee80211_prep_connection() local 4026 shift = ieee80211_vif_get_shift(&sdata->vif); in ieee80211_prep_connection() 4043 shift, rate_flags); in ieee80211_prep_connection()
|
D | tx.c | 45 int rate, mrate, erp, dur, i, shift = 0; in ieee80211_duration() local 57 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_duration() 141 rate = DIV_ROUND_UP(r->bitrate, 1 << shift); in ieee80211_duration() 168 rate = DIV_ROUND_UP(mrate, 1 << shift); in ieee80211_duration() 181 shift); in ieee80211_duration() 191 shift); in ieee80211_duration()
|
D | rx.c | 213 int shift = 0; in ieee80211_add_rx_radiotap_header() local 216 shift = 1; in ieee80211_add_rx_radiotap_header() 218 shift = 2; in ieee80211_add_rx_radiotap_header() 219 *pos = DIV_ROUND_UP(rate->bitrate, 5 * (1 << shift)); in ieee80211_add_rx_radiotap_header()
|
D | cfg.c | 420 int shift = ieee80211_vif_get_shift(&sta->sdata->vif); in sta_set_rate_info_tx() local 426 rinfo->legacy = DIV_ROUND_UP(brate, 1 << shift); in sta_set_rate_info_tx() 451 int shift = ieee80211_vif_get_shift(&sta->sdata->vif); in sta_set_rate_info_rx() local 457 rinfo->legacy = DIV_ROUND_UP(brate, 1 << shift); in sta_set_rate_info_rx()
|
/net/sched/ |
D | cls_tcindex.c | 45 u32 shift; /* shift ANDed key to the right */ member 86 int key = (skb->tc_index & p->mask) >> p->shift; in tcindex_classify() 197 return p->hash > (p->mask >> p->shift); in valid_perfect_hash() 250 cp->shift = p->shift; in tcindex_set_parms() 282 cp->shift = nla_get_u32(tb[TCA_TCINDEX_SHIFT]); in tcindex_set_parms() 305 if ((cp->mask >> cp->shift) < PERFECT_HASH_THRESHOLD) in tcindex_set_parms() 306 cp->hash = (cp->mask >> cp->shift) + 1; in tcindex_set_parms() 514 nla_put_u32(skb, TCA_TCINDEX_SHIFT, p->shift) || in tcindex_dump()
|
D | em_meta.c | 667 int shift = v->hdr.shift; in meta_var_apply_extras() local 669 if (shift && shift < dst->len) in meta_var_apply_extras() 670 dst->len -= shift; in meta_var_apply_extras() 718 if (v->hdr.shift) in meta_int_apply_extras() 719 dst->value >>= v->hdr.shift; in meta_int_apply_extras()
|
D | act_pedit.c | 137 offset += (*d & tkey->offmask) >> tkey->shift; in tcf_pedit()
|
D | sch_qfq.c | 746 static inline u64 qfq_round_down(u64 ts, unsigned int shift) in qfq_round_down() argument 748 return ts & ~((1ULL << shift) - 1); in qfq_round_down()
|
D | sch_generic.c | 991 r->shift++; in psched_ratecfg_precompute()
|
/net/ipv4/ |
D | tcp_timer.c | 66 int shift = 0; in tcp_out_of_resources() local 71 shift++; in tcp_out_of_resources() 75 shift++; in tcp_out_of_resources() 77 if (tcp_check_oom(sk, shift)) { in tcp_out_of_resources()
|
D | tcp_cubic.c | 184 u32 x, b, shift; in cubic_root() local 211 shift = (a >> (b * 3)); in cubic_root() 213 x = ((u32)(((u32)v[shift] + 10) << b)) >> 6; in cubic_root()
|
D | tcp.c | 2033 bool tcp_check_oom(struct sock *sk, int shift) in tcp_check_oom() argument 2037 too_many_orphans = tcp_too_many_orphans(sk, shift); in tcp_check_oom()
|
/net/6lowpan/ |
D | iphc.c | 510 static u8 lowpan_compress_addr_64(u8 **hc_ptr, u8 shift, in lowpan_compress_addr_64() argument 533 return rol8(val, shift); in lowpan_compress_addr_64()
|
/net/sunrpc/ |
D | xdr.c | 500 int shift = xdr->scratch.iov_len; in xdr_commit_encode() local 503 if (shift == 0) in xdr_commit_encode() 506 memcpy(xdr->scratch.iov_base, page, shift); in xdr_commit_encode() 507 memmove(page, page + shift, (void *)xdr->p - page); in xdr_commit_encode()
|
/net/core/ |
D | neighbour.c | 319 static struct neigh_hash_table *neigh_hash_alloc(unsigned int shift) in neigh_hash_alloc() argument 321 size_t size = (1 << shift) * sizeof(struct neighbour *); in neigh_hash_alloc() 340 ret->hash_shift = shift; in neigh_hash_alloc()
|