Searched refs:cnt (Results 1 - 25 of 971) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dres_counter.h132 static inline bool res_counter_limit_check_locked(struct res_counter *cnt) argument
134 if (cnt->usage < cnt->limit)
140 static inline bool res_counter_soft_limit_check_locked(struct res_counter *cnt) argument
142 if (cnt->usage < cnt->soft_limit)
150 * @cnt: The counter
156 res_counter_soft_limit_excess(struct res_counter *cnt) argument
161 spin_lock_irqsave(&cnt->lock, flags);
162 if (cnt
174 res_counter_check_under_limit(struct res_counter *cnt) argument
185 res_counter_check_under_soft_limit(struct res_counter *cnt) argument
196 res_counter_reset_max(struct res_counter *cnt) argument
205 res_counter_reset_failcnt(struct res_counter *cnt) argument
214 res_counter_set_limit(struct res_counter *cnt, unsigned long long limit) argument
230 res_counter_set_soft_limit(struct res_counter *cnt, unsigned long long soft_limit) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/qla4xxx/
H A Dql4_dbg.c15 uint32_t cnt; local
22 for (cnt = 0; cnt < size; c++) {
24 if (!(++cnt % 16))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/fw/arc/
H A Dpromlib.c25 ULONG cnt; local
29 ArcWrite(1, &it, 1, &cnt);
35 ULONG cnt; local
39 ArcRead(0, &c, 1, &cnt);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/h8300/include/asm/
H A Dtimer.h11 #define calc_param(cnt, div, rate, limit) \
13 cnt = TIMER_FREQ / HZ; \
17 if ((cnt / rate[div]) > limit) \
22 cnt /= divide_rate[div]; \
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavutil/
H A Dlzo.c63 int cnt = x & mask; local
64 if (!cnt) {
65 while (!(x = get_byte(c))) cnt += 255;
66 cnt += mask + x;
68 return cnt;
86 * @param cnt number of bytes to copy, must be >= 0
88 static inline void copy(LZOContext *c, int cnt) { argument
91 if (cnt > c->in_end - src) {
92 cnt = FFMAX(c->in_end - src, 0);
95 if (cnt >
121 copy_backptr(LZOContext *c, int back, int cnt) argument
135 memcpy_backptr(uint8_t *dst, int back, int cnt) argument
169 av_memcpy_backptr(uint8_t *dst, int back, int cnt) argument
199 int cnt, back; local
[all...]
H A Dlzo.h66 * @param cnt number of bytes to copy, must be >= 0
68 * cnt > back is valid, this will copy the bytes we just copied,
71 void av_memcpy_backptr(uint8_t *dst, int back, int cnt);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/microblaze/kernel/
H A Dheartbeat.c22 static unsigned int cnt, period, dist; local
25 if (cnt == 0 || cnt == dist)
27 else if (cnt == 7 || cnt == dist + 7)
30 if (++cnt > period) {
31 cnt = 0;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ntfs/
H A Dbitmap.c50 s64 cnt = count; local
61 (unsigned long long)cnt, (unsigned int)value,
64 BUG_ON(cnt < 0);
68 * bits, i.e. @start_bit and @start_bit + @cnt - 1, respectively.
71 end_index = (start_bit + cnt - 1) >> (3 + PAGE_CACHE_SHIFT);
93 while ((bit & 7) && cnt) {
94 cnt--;
101 if (!cnt)
109 * to @cnt.
111 len = min_t(s64, cnt >>
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/mm/
H A Dflush-sh4.c13 reg_size_t aligned_start, v, cnt, end; local
19 cnt = (end - v) / L1_CACHE_BYTES;
21 while (cnt >= 8) {
30 cnt -= 8;
33 while (cnt) {
35 cnt--;
47 reg_size_t aligned_start, v, cnt, end; local
53 cnt = (end - v) / L1_CACHE_BYTES;
55 while (cnt >= 8) {
64 cnt
77 reg_size_t aligned_start, v, cnt, end; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os_brew/
H A Dos_dir.c26 int arraysz, cnt, ret; local
40 arraysz = cnt = 0;
42 if (++cnt >= arraysz) {
53 if ((ret = __os_strdup(env, filename, &names[cnt - 1])) != 0)
59 *cntp = cnt;
63 __os_dirfree(env, names, cnt);
76 __os_dirfree(env, names, cnt)
79 int cnt;
81 while (cnt > 0)
82 __os_free(env, names[--cnt]);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os/
H A Dos_dir.c31 int arraysz, cnt, ret; local
49 for (arraysz = cnt = 0; (dp = readdir(dirp)) != NULL;) {
77 if (cnt >= arraysz) {
83 if ((ret = __os_strdup(env, dp->d_name, &names[cnt])) != 0)
85 cnt++;
90 *cntp = cnt;
94 __os_dirfree(env, names, cnt);
107 __os_dirfree(env, names, cnt)
110 int cnt;
113 DB_GLOBAL(j_dirfree)(names, cnt);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/samples/trace_events/
H A Dtrace-events-sample.c14 static void simple_thread_func(int cnt) argument
18 trace_foo_bar("hello", cnt);
23 int cnt = 0; local
26 simple_thread_func(cnt++);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/uwb/i1480/dfu/
H A Dphy.c105 unsigned cnt; local
115 for (cnt = 0; cnt < size; cnt++) {
116 cmd->data[cnt].page = (srcaddr + cnt) >> 8;
117 cmd->data[cnt].offset = (srcaddr + cnt) & 0xff;
130 for (cnt = 0; cnt < siz
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavutil/
H A Dlzo.c67 int cnt = x & mask; local
68 if (!cnt) {
70 if (cnt >= INT_MAX - 1000) {
74 cnt += 255;
76 cnt += mask + x;
78 return cnt;
83 * @param cnt number of bytes to copy, must be >= 0
85 static inline void copy(LZOContext *c, int cnt) argument
89 av_assert0(cnt >= 0);
90 if (cnt >
118 copy_backptr(LZOContext *c, int back, int cnt) argument
162 int cnt, back; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/intl/
H A Dfinddomain.c97 int cnt; local
105 for (cnt = 0; retval->successor[cnt] != NULL; ++cnt)
107 if (retval->successor[cnt]->decided == 0)
108 _nl_load_domain (retval->successor[cnt], domainbinding);
110 if (retval->successor[cnt]->data != NULL)
113 return cnt >= 0 ? retval : NULL;
158 int cnt; local
159 for (cnt
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os_windows/
H A Dos_dir.c26 int arraysz, cnt, ret; local
54 arraysz = cnt = ret = 0;
63 if (cnt >= arraysz) {
78 ret = __os_strdup(env, onename, &names[cnt]);
82 cnt++;
100 *cntp = cnt;
102 __os_dirfree(env, names, cnt);
114 __os_dirfree(env, names, cnt)
117 int cnt;
119 while (cnt >
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/examples/printer-accounting/
H A Dhp5-redir24 $cnt = 0;
29 $cnt += ($buf =~ /^L/g);
35 print ACCT "$date $opt_n $opt_h $size $cnt\n";
39 warn "Log: $date $opt_n $opt_h $size $cnt\n";
H A Dlp-acct22 $cnt = 0;
25 $cnt += ($buf =~ /^L/g);
30 print ACCT "$date $opt_n $opt_h $size $cnt\n";
34 warn "Log: $date $opt_n $opt_h $size $cnt\n";
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/libbb/
H A Dcrypt_make_salt.c27 int crypt_make_salt(char *p, int cnt, int x) argument
42 } while (--cnt);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-runtime/intl/
H A Dfinddomain.c102 int cnt; local
110 for (cnt = 0; retval->successor[cnt] != NULL; ++cnt)
112 if (retval->successor[cnt]->decided <= 0)
113 _nl_load_domain (retval->successor[cnt], domainbinding);
115 if (retval->successor[cnt]->data != NULL)
171 int cnt; local
172 for (cnt = 0; retval->successor[cnt] !
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/ia64/lib/
H A Dmemset.S25 #define cnt in2 define
67 cmp.eq p_scr, p0 = cnt, r0
82 cmp.gt p_scr, p0 = 16, cnt // is it a minimalistic task?
91 (p_y) add cnt = -8, cnt //
98 (p_yy) add cnt = -4, cnt //
106 (p_y) add cnt = -2, cnt //
116 cmp.gt p_scr, p0 = tmp, cnt // i
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/
H A Dhvc_beat.c42 static int hvc_beat_get_chars(uint32_t vtermno, char *buf, int cnt) argument
51 if (qlen > cnt) {
52 memcpy(buf, q, cnt);
53 qlen -= cnt;
54 memmove(q + cnt, q, qlen);
55 return cnt;
56 } else { /* qlen <= cnt */
73 static int hvc_beat_put_chars(uint32_t vtermno, const char *buf, int cnt) argument
78 for (rest = cnt; rest > 0; rest -= nlen) {
84 return cnt;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/script/
H A Dgap.awk14 cnt=1;
15 while (cnt <= length(str)) {
17 num += hv[substr(str,cnt,1)];
18 ++cnt;
H A Dgaptab.awk14 cnt=1;
15 while (cnt <= length(str)) {
17 num += hv[substr(str,cnt,1)];
18 ++cnt;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/include/libavutil/
H A Dlzo.h59 * \param cnt number of bytes to copy, must be >= 0
61 * cnt > back is valid, this will copy the bytes we just copied,
64 void av_memcpy_backptr(uint8_t *dst, int back, int cnt);

Completed in 378 milliseconds

1234567891011>>