Home
last modified time | relevance | path

Searched refs:lst (Results 1 – 25 of 91) sorted by relevance

1234

/OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/
H A Dx-list.c72 X_PFX(list_free) (x_list * lst) { in X_PFX()
77 for (; lst != NULL; lst = next) { in X_PFX()
78 next = lst->next; in X_PFX()
79 list_free_1(lst); in X_PFX()
86 X_PFX(list_prepend) (x_list * lst, void *data) { in X_PFX()
110 node->next = lst; in X_PFX()
117 X_PFX(list_append) (x_list * lst, void *data) { in X_PFX()
118 x_list *head = lst; in X_PFX()
120 if (lst == NULL) in X_PFX()
123 while (lst->next != NULL) in X_PFX()
[all …]
H A Dx-hook.c46 X_PFX(hook_add) (x_list * lst, x_hook_function * fun, void *data) { in X_PFX()
47 return X_PFX(list_prepend) (lst, CELL_NEW(fun, data)); in X_PFX()
51 X_PFX(hook_remove) (x_list * lst, x_hook_function * fun, void *data) { in X_PFX()
55 for (node = lst; node != NULL; node = node->next) { in X_PFX()
63 lst = X_PFX(list_remove) (lst, cell); in X_PFX()
68 return lst; in X_PFX()
72 X_PFX(hook_run) (x_list * lst, void *arg) { in X_PFX()
75 if (!lst) in X_PFX()
78 for (node = lst; node != NULL; node = node->next) { in X_PFX()
89 X_PFX(hook_free) (x_list * lst) { in X_PFX()
[all …]
H A Dx-list.h52 X_EXTERN x_list *X_PFX(list_prepend) (x_list * lst, void *data);
54 X_EXTERN x_list *X_PFX(list_append) (x_list * lst, void *data);
55 X_EXTERN x_list *X_PFX(list_remove) (x_list * lst, void *data);
56 X_EXTERN void X_PFX(list_free) (x_list * lst);
57 X_EXTERN x_list *X_PFX(list_pop) (x_list * lst, void **data_ret);
59 X_EXTERN x_list *X_PFX(list_copy) (x_list * lst);
60 X_EXTERN x_list *X_PFX(list_reverse) (x_list * lst);
61 X_EXTERN x_list *X_PFX(list_find) (x_list * lst, void *data);
62 X_EXTERN x_list *X_PFX(list_nth) (x_list * lst, int n);
70 X_EXTERN unsigned int X_PFX(list_length) (x_list * lst);
[all …]
H A Dx-hook.h38 X_EXTERN x_list *X_PFX(hook_add) (x_list * lst, x_hook_function * fun,
40 X_EXTERN x_list *X_PFX(hook_remove) (x_list * lst, x_hook_function * fun,
42 X_EXTERN void X_PFX(hook_run) (x_list * lst, void *arg);
43 X_EXTERN void X_PFX(hook_free) (x_list * lst);
/OK3568_Linux_fs/u-boot/fs/ubifs/
H A Dmaster.c182 if (c->lst.empty_lebs < 0 || c->lst.empty_lebs > c->main_lebs - 2) { in validate_master()
187 if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) { in validate_master()
192 if (c->lst.total_free < 0 || c->lst.total_free > main_sz || in validate_master()
193 c->lst.total_free & 7) { in validate_master()
198 if (c->lst.total_dirty < 0 || (c->lst.total_dirty & 7)) { in validate_master()
203 if (c->lst.total_used < 0 || (c->lst.total_used & 7)) { in validate_master()
208 if (c->lst.total_free + c->lst.total_dirty + in validate_master()
209 c->lst.total_used > main_sz) { in validate_master()
214 if (c->lst.total_dead + c->lst.total_dark + in validate_master()
215 c->lst.total_used + c->bi.old_idx_sz > main_sz) { in validate_master()
[all …]
H A Dlprops.c541 ubifs_assert(c->lst.empty_lebs >= 0 && in ubifs_change_lp()
542 c->lst.empty_lebs <= c->main_lebs); in ubifs_change_lp()
545 ubifs_assert(c->lst.taken_empty_lebs >= 0); in ubifs_change_lp()
546 ubifs_assert(c->lst.taken_empty_lebs <= c->lst.empty_lebs); in ubifs_change_lp()
547 ubifs_assert(!(c->lst.total_free & 7) && !(c->lst.total_dirty & 7)); in ubifs_change_lp()
548 ubifs_assert(!(c->lst.total_dead & 7) && !(c->lst.total_dark & 7)); in ubifs_change_lp()
549 ubifs_assert(!(c->lst.total_used & 7)); in ubifs_change_lp()
564 c->lst.taken_empty_lebs -= 1; in ubifs_change_lp()
571 c->lst.total_dead -= old_spc; in ubifs_change_lp()
573 c->lst.total_dark -= ubifs_calc_dark(c, old_spc); in ubifs_change_lp()
[all …]
H A Dbudget.c210 available = c->main_bytes - c->lst.total_used; in ubifs_calc_available()
235 available -= c->lst.total_dead; in ubifs_calc_available()
243 available -= c->lst.total_dark; in ubifs_calc_available()
251 if (c->lst.idx_lebs > min_idx_lebs) { in ubifs_calc_available()
252 subtract_lebs = c->lst.idx_lebs - min_idx_lebs; in ubifs_calc_available()
311 if (min_idx_lebs > c->lst.idx_lebs) in do_budget_space()
312 rsvd_idx_lebs = min_idx_lebs - c->lst.idx_lebs; in do_budget_space()
338 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in do_budget_space()
339 c->lst.taken_empty_lebs; in do_budget_space()
696 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_get_free_space_nolock()
[all …]
/OK3568_Linux_fs/kernel/fs/ubifs/
H A Dmaster.c261 if (c->lst.empty_lebs < 0 || c->lst.empty_lebs > c->main_lebs - 2) { in validate_master()
266 if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) { in validate_master()
271 if (c->lst.total_free < 0 || c->lst.total_free > main_sz || in validate_master()
272 c->lst.total_free & 7) { in validate_master()
277 if (c->lst.total_dirty < 0 || (c->lst.total_dirty & 7)) { in validate_master()
282 if (c->lst.total_used < 0 || (c->lst.total_used & 7)) { in validate_master()
287 if (c->lst.total_free + c->lst.total_dirty + in validate_master()
288 c->lst.total_used > main_sz) { in validate_master()
293 if (c->lst.total_dead + c->lst.total_dark + in validate_master()
294 c->lst.total_used + c->bi.old_idx_sz > main_sz) { in validate_master()
[all …]
H A Dlprops.c535 ubifs_assert(c, c->lst.empty_lebs >= 0 && in ubifs_change_lp()
536 c->lst.empty_lebs <= c->main_lebs); in ubifs_change_lp()
539 ubifs_assert(c, c->lst.taken_empty_lebs >= 0); in ubifs_change_lp()
540 ubifs_assert(c, c->lst.taken_empty_lebs <= c->lst.empty_lebs); in ubifs_change_lp()
541 ubifs_assert(c, !(c->lst.total_free & 7) && !(c->lst.total_dirty & 7)); in ubifs_change_lp()
542 ubifs_assert(c, !(c->lst.total_dead & 7) && !(c->lst.total_dark & 7)); in ubifs_change_lp()
543 ubifs_assert(c, !(c->lst.total_used & 7)); in ubifs_change_lp()
558 c->lst.taken_empty_lebs -= 1; in ubifs_change_lp()
565 c->lst.total_dead -= old_spc; in ubifs_change_lp()
567 c->lst.total_dark -= ubifs_calc_dark(c, old_spc); in ubifs_change_lp()
[all …]
H A Dbudget.c202 available = c->main_bytes - c->lst.total_used; in ubifs_calc_available()
227 available -= c->lst.total_dead; in ubifs_calc_available()
235 available -= c->lst.total_dark; in ubifs_calc_available()
243 if (c->lst.idx_lebs > min_idx_lebs) { in ubifs_calc_available()
244 subtract_lebs = c->lst.idx_lebs - min_idx_lebs; in ubifs_calc_available()
303 if (min_idx_lebs > c->lst.idx_lebs) in do_budget_space()
304 rsvd_idx_lebs = min_idx_lebs - c->lst.idx_lebs; in do_budget_space()
330 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in do_budget_space()
331 c->lst.taken_empty_lebs; in do_budget_space()
686 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_get_free_space_nolock()
[all …]
H A Dfind.c58 n = c->lst.empty_lebs + c->freeable_cnt - in valuable()
59 c->lst.taken_empty_lebs; in valuable()
234 lebs = c->lst.empty_lebs + c->idx_gc_cnt; in ubifs_find_dirty_leb()
235 lebs += c->freeable_cnt - c->lst.taken_empty_lebs; in ubifs_find_dirty_leb()
243 if (c->bi.min_idx_lebs >= c->lst.idx_lebs) { in ubifs_find_dirty_leb()
244 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_find_dirty_leb()
267 exclude_index = (c->bi.min_idx_lebs >= c->lst.idx_lebs); in ubifs_find_dirty_leb()
492 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_find_free_space()
493 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_find_free_space()
496 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in ubifs_find_free_space()
[all …]
H A Dcommit.c101 struct ubifs_lp_stats lst; in do_commit() local
144 ubifs_get_lp_stats(c, &lst); in do_commit()
178 c->mst_node->empty_lebs = cpu_to_le32(lst.empty_lebs); in do_commit()
179 c->mst_node->idx_lebs = cpu_to_le32(lst.idx_lebs); in do_commit()
180 c->mst_node->total_free = cpu_to_le64(lst.total_free); in do_commit()
181 c->mst_node->total_dirty = cpu_to_le64(lst.total_dirty); in do_commit()
182 c->mst_node->total_used = cpu_to_le64(lst.total_used); in do_commit()
183 c->mst_node->total_dead = cpu_to_le64(lst.total_dead); in do_commit()
184 c->mst_node->total_dark = cpu_to_le64(lst.total_dark); in do_commit()
/OK3568_Linux_fs/external/xserver/hw/xquartz/GL/
H A Dindirect.c195 x_list *lst; in __glXAquaContextDestroy() local
202 lst = in __glXAquaContextDestroy()
205 lst = x_list_remove(lst, context); in __glXAquaContextDestroy()
207 context->sid), lst); in __glXAquaContextDestroy()
248 x_list *lst; in surface_notify() local
265 lst = in surface_notify()
268 for (; lst != NULL; lst = lst->next) { in surface_notify()
269 context = lst->data; in surface_notify()
308 x_list *lst; in attach() local
328 lst = in attach()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/pvrusb2/
H A Dpvrusb2-devattr.c54 .client_table.lst = pvr2_cli_29xxx,
56 .fx2_firmware.lst = pvr2_fw1_names_29xxx,
88 .client_table.lst = pvr2_cli_24xxx,
90 .fx2_firmware.lst = pvr2_fw1_names_24xxx,
118 .client_table.lst = pvr2_cli_gotview_2,
139 .client_table.lst = pvr2_cli_gotview_2,
162 .client_table.lst = pvr2_cli_av400,
217 .client_table.lst = pvr2_cli_onair_creator,
277 .client_table.lst = pvr2_cli_onair_usb2,
371 .client_table.lst = pvr2_cli_73xxx,
[all …]
H A Dpvrusb2-devattr.h45 const struct pvr2_device_client_desc *lst; member
51 const char **lst; member
/OK3568_Linux_fs/kernel/tools/testing/selftests/tc-testing/
H A Dtdc_helper.py18 def get_unique_item(lst): argument
20 if len(lst) > 1:
21 return list(set(lst))
23 return lst
/OK3568_Linux_fs/kernel/samples/trace_events/
H A Dtrace-events-sample.h231 TP_PROTO(const char *foo, int bar, const int *lst,
234 TP_ARGS(foo, bar, lst, string, mask),
239 __dynamic_array(int, list, __length_of(lst))
247 memcpy(__get_dynamic_array(list), lst,
248 __length_of(lst) * sizeof(int));
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/initrdscripts/files/
H A Dinit-install-testfs.sh202 echo "default 0" > /boot/grub/menu.lst
203 echo "timeout 30" >> /boot/grub/menu.lst
204 echo "title Live Boot/Install-Image" >> /boot/grub/menu.lst
205 echo "root (hd0,0)" >> /boot/grub/menu.lst
206 echo "kernel /vmlinuz root=$rootfs rw $3 $4 quiet" >> /boot/grub/menu.lst
H A Dinit-install.sh319 echo "default 0" > /boot/grub/menu.lst
320 echo "timeout 30" >> /boot/grub/menu.lst
321 echo "title Live Boot/Install-Image" >> /boot/grub/menu.lst
322 echo "root (hd0,0)" >> /boot/grub/menu.lst
323 echo "kernel /$kernel root=$rootfs rw $3 $4 quiet" >> /boot/grub/menu.lst
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Dcachedpath.py60 lst = os.lstat(path)
61 self.lstatcache[path] = lst
62 if not statmod.S_ISLNK(lst.st_mode):
63 self.statcache[path] = lst
66 return lst
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/browser/
H A Dcookiejar.cpp253 QList<QNetworkCookie> lst; in setCookiesFromUrl() local
259 lst += cookie; in setCookiesFromUrl()
260 if (QNetworkCookieJar::setCookiesFromUrl(lst, url)) { in setCookiesFromUrl()
412 QList<QNetworkCookie> lst; in data() local
414 lst = m_cookieJar->allCookies(); in data()
415 if (index.row() < 0 || index.row() >= lst.size()) in data()
421 QNetworkCookie cookie = lst.at(index.row()); in data()
463 QList<QNetworkCookie> lst = m_cookieJar->allCookies(); in removeRows() local
465 lst.removeAt(i); in removeRows()
467 m_cookieJar->setAllCookies(lst); in removeRows()
/OK3568_Linux_fs/u-boot/scripts/
H A DMakefile.build150 $(real-objs-m:.o=.lst): part-of-module := y
155 $(real-objs-m:.o=.lst): quiet_modtag := [M]
165 $(multi-objs-m:.o=.lst) : modname = $(modname-multi)
169 $(multi-objs-y:.o=.lst) : modname = $(modname-multi)
295 $(obj)/%.lst: $(src)/%.c FORCE
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/libxml/libxml2/
H A D0001-Port-gentest.py-to-Python-3.patch796 -print "Missing support for %d functions and %d types see missing.lst" % (missing_functions_nr, len…
798 +print("Missing support for %d functions and %d types see missing.lst" % (missing_functions_nr, len…
799 lst = open("missing.lst", "w")
800 lst.write("Missing support for %d types" % (len(missing_list)))
801 lst.write("\n")
806 - lst.write(" ...")
808 - lst.write(" %s" % (n))
809 + lst.write(" ...")
811 + lst.write(" %s" % (n))
812 lst.write("\n")
[all …]
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-4.4/scripts/
H A DMakefile.build128 $(real-objs-m:.o=.lst): part-of-module := y
133 $(real-objs-m:.o=.lst): quiet_modtag := [M]
143 $(multi-objs-m:.o=.lst) : modname = $(modname-multi)
147 $(multi-objs-y:.o=.lst) : modname = $(modname-multi)
292 $(obj)/%.lst: $(src)/%.c FORCE
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/armhf/linux-kbuild-4.4/scripts/
H A DMakefile.build128 $(real-objs-m:.o=.lst): part-of-module := y
133 $(real-objs-m:.o=.lst): quiet_modtag := [M]
143 $(multi-objs-m:.o=.lst) : modname = $(modname-multi)
147 $(multi-objs-y:.o=.lst) : modname = $(modname-multi)
292 $(obj)/%.lst: $(src)/%.c FORCE

1234