Searched refs:qdp (Results 1 – 4 of 4) sorted by relevance
71 struct hbm_vqueue *qdp; in _hbm_out_cg() local86 if (!qdp) in _hbm_out_cg()88 else if (qdp->lasttime == 0) in _hbm_out_cg()89 hbm_init_vqueue(qdp, 1024); in _hbm_out_cg()94 bpf_spin_lock(&qdp->lock); in _hbm_out_cg()95 credit = qdp->credit; in _hbm_out_cg()102 qdp->lasttime = curtime; in _hbm_out_cg()110 qdp->credit = credit; in _hbm_out_cg()111 bpf_spin_unlock(&qdp->lock); in _hbm_out_cg()116 qdp->rate = qsp->rate * 128; in _hbm_out_cg()[all …]
65 struct hbm_vqueue *qdp; in _hbm_out_cg() local84 if (!qdp) in _hbm_out_cg()86 if (qdp->lasttime == 0) in _hbm_out_cg()87 hbm_init_edt_vqueue(qdp, 1024); in _hbm_out_cg()92 bpf_spin_lock(&qdp->lock); in _hbm_out_cg()93 delta = qdp->lasttime - curtime; in _hbm_out_cg()97 qdp->lasttime = curtime - BURST_SIZE_NS; in _hbm_out_cg()100 sendtime = qdp->lasttime; in _hbm_out_cg()101 delta_send = BYTES_TO_NS(len, qdp->rate); in _hbm_out_cg()103 bpf_spin_unlock(&qdp->lock); in _hbm_out_cg()[all …]
135 static __always_inline void hbm_init_vqueue(struct hbm_vqueue *qdp, int rate) in hbm_init_vqueue() argument138 qdp->lasttime = bpf_ktime_get_ns(); in hbm_init_vqueue()139 qdp->credit = INIT_CREDIT; in hbm_init_vqueue()140 qdp->rate = rate * 128; in hbm_init_vqueue()143 static __always_inline void hbm_init_edt_vqueue(struct hbm_vqueue *qdp, in hbm_init_edt_vqueue() argument150 qdp->lasttime = curtime - BURST_SIZE_NS; // support initial burst in hbm_init_edt_vqueue()151 qdp->credit = 0; // not used in hbm_init_edt_vqueue()152 qdp->rate = rate * 128; in hbm_init_edt_vqueue()
263 struct gfs2_quota_data **qdp) in qd_get() argument269 *qdp = qd = gfs2_qd_search_bucket(hash, sdp, qid); in qd_get()283 *qdp = new_qd; in qd_get()450 *qdp = NULL; in qd_fish()479 *qdp = qd; in qd_fish()495 struct gfs2_quota_data **qdp) in qdsb_get() argument499 error = qd_get(sdp, qid, qdp); in qdsb_get()503 error = slot_get(*qdp); in qdsb_get()507 error = bh_get(*qdp); in qdsb_get()514 slot_put(*qdp); in qdsb_get()[all …]
Completed in 12 milliseconds