Searched refs:num_watches (Results 1 - 2 of 2) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna-1.1.5/ |
H A D | inotify.c | 148 unsigned int num_watches = 0, watch_limit; local 157 num_watches++; 164 num_watches++; 174 if( (watch_limit < DESIRED_WATCH_LIMIT) || (watch_limit < (num_watches*4/3)) ) 179 if( DESIRED_WATCH_LIMIT >= (num_watches*3/4) ) 183 else if( next_highest(num_watches) >= (num_watches*3/4) ) 185 fprintf(max_watches, "%u", next_highest(num_watches)); 189 fprintf(max_watches, "%u", next_highest(next_highest(num_watches))); 197 "writing a higher value into /proc/sys/fs/inotify/max_user_watches.\n", watch_limit, num_watches); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna/ |
H A D | inotify.c | 146 unsigned int num_watches, watch_limit = 8192; local 152 num_watches = (i < 0) ? 0 : i; 159 if( (watch_limit < DESIRED_WATCH_LIMIT) || (watch_limit < (num_watches*3/4)) ) 164 if( DESIRED_WATCH_LIMIT >= (num_watches*3/4) ) 168 else if( next_highest(num_watches) >= (num_watches*3/4) ) 170 fprintf(max_watches, "%u", next_highest(num_watches)); 174 fprintf(max_watches, "%u", next_highest(next_highest(num_watches))); 182 "writing a higher value into /proc/sys/fs/inotify/max_user_watches.\n", watch_limit, num_watches); 189 "Hopefully it is enough to cover %u current directories plus any new ones added.\n", num_watches); [all...] |
Completed in 117 milliseconds