Searched refs:dq_count (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/net/sched/
H A Dsch_pie.c56 u64 dq_count; /* measured in bytes */ member in struct:pie_vars
92 vars->dq_count = DQCOUNT_INVALID; pie_vars_init()
250 /* If current queue is about 10 packets or more and dq_count is unset pie_process_dequeue()
254 if (qlen >= QUEUE_THRESHOLD && q->vars.dq_count == DQCOUNT_INVALID) { pie_process_dequeue()
256 q->vars.dq_count = 0; pie_process_dequeue()
261 * the dq_count to -1 as we don't have enough packets to calculate the pie_process_dequeue()
264 * and we calculate the drain rate for the threshold here. dq_count is pie_process_dequeue()
268 if (q->vars.dq_count != DQCOUNT_INVALID) { pie_process_dequeue()
269 q->vars.dq_count += skb->len; pie_process_dequeue()
271 if (q->vars.dq_count >= QUEUE_THRESHOLD) { pie_process_dequeue()
274 u32 count = q->vars.dq_count << PIE_SCALE; pie_process_dequeue()
290 * dq_count to 0 to re-enter the if block when the next pie_process_dequeue()
294 q->vars.dq_count = DQCOUNT_INVALID; pie_process_dequeue()
296 q->vars.dq_count = 0; pie_process_dequeue()
/linux-4.1.27/include/linux/
H A Dquotaops.h52 WARN_ON_ONCE(!atomic_read(&dquot->dq_count)); dqgrab()
54 atomic_inc(&dquot->dq_count); dqgrab()
H A Dquota.h291 atomic_t dq_count; /* Use count */ member in struct:dquot
/linux-4.1.27/fs/quota/
H A Ddquot.c230 * Unused dquots (dq_count == 0) are added to the free_dquots list when freed,
475 if (atomic_read(&dquot->dq_count) > 1) dquot_release()
525 if (atomic_read(&dquot->dq_count)) { invalidate_dquots()
536 * Otherwise dq_count would be > 1 and we would never invalidate_dquots()
539 if (atomic_read(&dquot->dq_count) > 1) invalidate_dquots()
576 atomic_inc(&dquot->dq_count); dquot_scan_active()
741 if (!atomic_read(&dquot->dq_count)) { dqput()
751 if (atomic_read(&dquot->dq_count) > 1) { dqput()
753 atomic_dec(&dquot->dq_count); dqput()
756 atomic_read(&dquot->dq_count) == 1) dqput()
787 atomic_dec(&dquot->dq_count); dqput()
819 atomic_set(&dquot->dq_count, 1); get_empty_dquot()
868 if (!atomic_read(&dquot->dq_count)) dqget()
870 atomic_inc(&dquot->dq_count); dqget()
876 * already finished or it will be canceled due to dq_count > 1 test */ dqget()
/linux-4.1.27/drivers/scsi/be2iscsi/
H A Dbe_cmds.h1094 u32 dq_count; member in struct:be_ulp_fw_cfg
/linux-4.1.27/fs/ocfs2/
H A Dquota_global.c717 if (atomic_read(&dquot->dq_count) > 1) ocfs2_release_dquot()
/linux-4.1.27/drivers/media/v4l2-core/
H A Dvideobuf2-core.c2802 unsigned int dq_count; member in struct:vb2_fileio_data
3021 fileio->dq_count += 1; __vb2_perform_fileio()
3078 if (read && fileio->read_once && fileio->dq_count == 1) { __vb2_perform_fileio()

Completed in 258 milliseconds