HomeSort by relevance Sort by last modified time
    Searched refs:dip (Results 1 - 25 of 26) sorted by null

1 2

  /external/blktrace/btt/
devs.c 64 struct d_info *dip; local
68 dip = list_entry(p, struct d_info, hash_head);
69 if (device == dip->device)
70 return dip;
76 void __dip_exit(struct d_info *dip)
78 list_del(&dip->all_head);
79 __destroy_heads(dip->heads);
80 region_exit(&dip->regions);
81 seeki_free(dip->seek_handle);
82 seeki_free(dip->q2q_handle)
101 struct d_info *dip = list_entry(p, struct d_info, all_head); local
127 struct d_info *dip = __dip_find(device); local
220 struct d_info *dip; local
235 struct d_info *dip = __dip_find(dev); local
251 struct d_info *dip = __dip_find(dev); local
262 struct d_info *dip = __dip_find(dev); local
276 struct d_info *dip = list_entry(p, struct d_info, all_head); local
    [all...]
latency.c 50 void latency_alloc(struct d_info *dip)
52 dip->q2d_ofp = latency_open(dip->device, q2d_name, "q2d");
53 dip->d2c_ofp = latency_open(dip->device, d2c_name, "d2c");
54 dip->q2c_ofp = latency_open(dip->device, q2c_name, "q2c");
57 void latency_q2d(struct d_info *dip, __u64 tstamp, __u64 latency)
59 plat_x2c(dip->q2d_plat_handle, tstamp, latency);
60 latency_out(dip->q2d_ofp, tstamp, latency)
    [all...]
trace_requeue.c 25 r_iop->dip->n_qs++;
26 r_iop->dip->t_act_q += r_iop->dip->n_act_q;
27 r_iop->dip->n_act_q++;
iostat.c 25 #define INC_STAT(dip, fld) \
27 (dip)->stats. fld ++; \
28 (dip)->all_stats. fld ++; \
31 #define DEC_STAT(dip, fld) \
33 (dip)->stats. fld --; \
34 (dip)->all_stats. fld --; \
37 #define ADD_STAT(dip, fld, val) \
40 (dip)->stats. fld += __v; \
41 (dip)->all_stats. fld += __v; \
44 #define SUB_STAT(dip, fld, val)
194 struct d_info *dip; local
256 struct d_info *dip = iop->dip; local
269 struct d_info *dip = q_iop->dip; local
    [all...]
trace_queue.c 25 seeki_add(q_iop->dip->q2q_handle, q_iop);
27 dip_update_q(q_iop->dip, q_iop);
38 q_iop->dip->n_qs++;
40 q_iop->dip->t_act_q += q_iop->dip->n_act_q;
41 q_iop->dip->n_act_q++;
output.c 25 ai_dip_t dip_q2q_dm_avg(struct d_info *dip) { return &dip->avgs.q2q_dm; }
26 ai_dip_t dip_q2a_dm_avg(struct d_info *dip) { return &dip->avgs.q2a_dm; }
27 ai_dip_t dip_q2c_dm_avg(struct d_info *dip) { return &dip->avgs.q2c_dm; }
29 ai_dip_t dip_q2q_avg(struct d_info *dip) { return &dip->avgs.q2q; }
30 ai_dip_t dip_q2c_avg(struct d_info *dip) { return &dip->avgs.q2c;
    [all...]
trace_issue.c 28 if (d_iop->dip->n_act_q != 0)
29 d_iop->dip->n_act_q--;
31 seeki_add(d_iop->dip->seek_handle, d_iop);
32 bno_dump_add(d_iop->dip->bno_dump_handle, d_iop);
34 d_iop->dip->n_ds++;
37 aqd_issue(d_iop->dip->aqd_handle, BIT_TIME(d_iop->t.time));
56 q2d_histo_add(q_iop->dip->q2d_priv,
58 latency_q2d(q_iop->dip, d_iop->t.time,
unplug_hist.c 48 struct d_info *dip; local
50 dip = __dip_find(u_iop->t.device);
51 if (dip && dip->up_hist_handle) {
54 struct hist_bkt *hbp = dip->up_hist_handle;
misc.c 141 char *make_dev_hdr(char *pad, size_t len, struct d_info *dip, int add_parens)
143 if (dip->devmap)
144 snprintf(pad, len, "%s", dip->devmap);
147 MAJOR(dip->device), MINOR(dip->device));
150 MAJOR(dip->device), MINOR(dip->device));
trace_im.c 29 q_iop = dip_find_sec(g_iop->dip, IOP_Q, g_iop->t.sector);
40 struct io *q_iop = dip_find_sec(s_iop->dip, IOP_Q, s_iop->t.sector);
48 struct io *q_iop = dip_find_sec(i_iop->dip, IOP_Q, i_iop->t.sector);
63 q_iop = dip_find_sec(m_iop->dip, IOP_Q, m_iop->t.sector);
69 if (m_iop->dip->n_act_q != 0)
70 m_iop->dip->n_act_q--;
inlines.h 124 static inline void dip_update_q(struct d_info *dip, struct io *iop)
126 if (remapper_dev(dip->device))
127 update_lq(&dip->last_q, &dip->avgs.q2q_dm, iop->t.time);
129 update_lq(&dip->last_q, &dip->avgs.q2q, iop->t.time);
130 update_qregion(&dip->regions, iop->t.time);
163 iop->dip = dip_alloc(iop->t.device, iop);
184 avg_update(&_iop->dip->avgs. _avg , _time); \
190 avg_update_n(&_iop->dip->avgs. _avg , _time, _n);
    [all...]
trace_complete.c 57 FILE *pit_fp = c_iop->dip->pit_fp;
61 update_cregion(&c_iop->dip->regions, c_iop->t.time);
64 aqd_complete(c_iop->dip->aqd_handle, BIT_TIME(c_iop->t.time));
74 latency_q2c(q_iop->dip, q_iop->t.time, q2c);
80 latency_d2c(q_iop->dip, c_iop->t.time, d2c);
93 if (q_iop->dip->pit_fp) {
107 if (c_iop->dip->pit_fp) {
globals.h 154 struct d_info *dip; member in struct:io
214 struct io *dip_find_sec(struct d_info *dip, enum iop_type type, __u64 sec);
239 void latency_alloc(struct d_info *dip);
241 void latency_q2d(struct d_info *dip, __u64 tstamp, __u64 latency);
242 void latency_d2c(struct d_info *dip, __u64 tstamp, __u64 latency);
243 void latency_q2c(struct d_info *dip, __u64 tstamp, __u64 latency);
248 char *make_dev_hdr(char *pad, size_t len, struct d_info *dip, int add_parens);
trace.c 69 make_dev_hdr(scratch, 15, iop->dip, 1),
proc.c 225 if (remapper_dev(iop->dip->device))
  /frameworks/base/core/java/android/text/style/
AbsoluteSizeSpan.java 39 * <code>dip</code> is true.
41 public AbsoluteSizeSpan(int size, boolean dip) {
43 mDip = dip;
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
RotationActivity.java 38 static int dipToPx(Context c, int dip) {
39 return (int) (c.getResources().getDisplayMetrics().density * dip + 0.5f);
AlphaLayersActivity.java 55 static int dipToPx(Context c, int dip) {
56 return (int) (c.getResources().getDisplayMetrics().density * dip + 0.5f);
  /cts/tests/src/android/widget/cts/
WidgetTestUtils.java 108 public static int convertDipToPixels(Context context, int dip) {
110 return Math.round(density * dip);
  /external/blktrace/btreplay/
btreplay.c 565 struct dev_info *dip; local
568 dip = list_entry(p, struct dev_info, head);
569 if (strcmp(dip->devnm, devnm) == 0)
573 dip = malloc(sizeof(*dip));
574 dip->devnm = strdup(devnm);
575 list_add_tail(&dip->head, &input_devs);
581 static void rem_input_dev(struct dev_info *dip)
583 list_del(&dip->head);
584 free(dip->devnm)
    [all...]
  /external/grub/stage2/
fs.h 437 #define dblksize(fs, dip, lbn) \
438 (((lbn) >= NDADDR || (dip)->di_size >= ((lbn) + 1) << (fs)->fs_bshift) \
440 : (fragroundup(fs, blkoff(fs, (dip)->di_size))))
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
Utils.java 706 /** Convert pixel to DIP */
707 public static int dipToPixel(float scale, int dip) {
708 return (int) (dip * scale + 0.5);
    [all...]
  /frameworks/ex/common/java/com/android/ex/editstyledtext/
EditStyledText.java 902 /** Convert pixcel to DIP */
903 private int dipToPx(int dip) {
907 return (int) ((float) dip * getPaddingScale() + 0.5);
    [all...]
  /prebuilt/sdk/12/
android.jar 
  /prebuilt/sdk/14/
android.jar 

Completed in 295 milliseconds

1 2