Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 25 of 58) sorted by relevance

123

/xen-4.10.0-shim-comet/xen/arch/x86/
A Dhpet.c144 delta = ns2ticks(delta, ch->shift, ch->mult); in reprogram_hpet_evt_channel()
231 ch->event_handler(ch); in hpet_interrupt_handler()
357 ret = request_irq(ch->msi.irq, 0, hpet_interrupt_handler, "HPET", ch); in hpet_setup_msi_irq()
426 ch->idx = i; in hpet_fsb_cap_lookup()
470 return ch; in hpet_get_channel()
487 if ( ch->event_handler && ch->next_event < NOW() ) in set_channel_irq_affinity()
488 ch->event_handler(ch); in set_channel_irq_affinity()
522 ch->cpu = -1; in hpet_detach_channel()
528 ch->cpu = cpumask_first(ch->cpumask); in hpet_detach_channel()
704 if ( !ch ) in hpet_broadcast_enter()
[all …]
/xen-4.10.0-shim-comet/tools/debugger/gdbsx/gx/
A Dgx_utils.c63 int ch; in gx_convert_int_to_ascii() local
65 ch = *from++; in gx_convert_int_to_ascii()
68 nib = ch & 0x0f; in gx_convert_int_to_ascii()
91 char ch; in gx_decode_zZ_packet() local
94 while ((ch=from[i++]) != ',') { in gx_decode_zZ_packet()
105 char ch; in gx_decode_m_packet() local
108 while ((ch=from[i++]) != ',') { in gx_decode_m_packet()
113 if ((ch=from[i++]) == 0) in gx_decode_m_packet()
129 char ch; in gx_decode_M_packet() local
133 while ((ch=from[i++]) != ',') { in gx_decode_M_packet()
[all …]
/xen-4.10.0-shim-comet/tools/xl/
A Dxl.c221 assert(!ch->pid); in xl_fork()
222 ch->reaped = 0; in xl_fork()
225 ch->pid = fork(); in xl_fork()
226 if (ch->pid == -1) { in xl_fork()
231 if (!ch->pid) { in xl_fork()
237 return ch->pid; in xl_fork()
243 pid_t got = ch->pid; in xl_waitpid()
245 if (ch->reaped) { in xl_waitpid()
247 ch->pid = 0; in xl_waitpid()
255 ch->pid = 0; in xl_waitpid()
[all …]
/xen-4.10.0-shim-comet/xen/common/
A Dearlycpio.c77 unsigned int ch[C_NFIELDS], *chp, v; in find_cpio_data() local
93 chp = ch; in find_cpio_data()
118 if ((ch[C_MAGIC] - 0x070701) > 1) in find_cpio_data()
123 dptr = PTR_ALIGN(p + ch[C_NAMESIZE], 4); in find_cpio_data()
124 nptr = PTR_ALIGN(dptr + ch[C_FILESIZE], 4); in find_cpio_data()
129 if ((ch[C_MODE] & 0170000) == 0100000 && in find_cpio_data()
130 ch[C_NAMESIZE] >= mypathsize && in find_cpio_data()
133 if (ch[C_NAMESIZE] - mypathsize >= MAX_CPIO_FILE_NAME) { in find_cpio_data()
141 cd.size = ch[C_FILESIZE]; in find_cpio_data()
A Dgunzip.c80 unsigned char *in, ch; in flush_window() local
85 ch = *in++; in flush_window()
86 c = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >> 8); in flush_window()
A Dgdbstub.c169 u8 ch; in attempt_receive_packet() local
172 while ( (ch = gdb_io_read(ctx)) != '$' ) in attempt_receive_packet()
180 ch = gdb_io_read(ctx); in attempt_receive_packet()
181 if ( ch == '#' ) in attempt_receive_packet()
183 ctx->in_buf[ctx->in_bytes] = ch; in attempt_receive_packet()
184 csum += ch; in attempt_receive_packet()
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_fork.c453 pid_t pid = ch->pid; in childproc_reaped_ours()
454 LIBXL_LIST_REMOVE(ch, entry); in childproc_reaped_ours()
455 ch->pid = -1; in childproc_reaped_ours()
456 ch->callback(egc, ch, pid, status); in childproc_reaped_ours()
462 libxl__ev_child *ch; in childproc_reaped() local
465 if (ch->pid == pid) in childproc_reaped()
472 childproc_reaped_ours(egc, ch, status); in childproc_reaped()
494 libxl__ev_child *ch; in childproc_checkall() local
520 childproc_reaped_ours(egc, ch, status); in childproc_checkall()
627 ch->pid = pid; in libxl__ev_child_fork()
[all …]
A Dlibxl_convert_callout.c27 static void helper_exited(libxl__egc *egc, libxl__ev_child *ch,
145 static void helper_exited(libxl__egc *egc, libxl__ev_child *ch, in helper_exited() argument
148 libxl__conversion_helper_state *chs = CONTAINER_OF(ch, *chs, child); in helper_exited()
A Dlibxl_save_msgs_gen.pl54 my ($want_ah, $ch) = ($1, $2);
374 if ($ch eq 'h') {
380 if ($ch eq 'c') {
/xen-4.10.0-shim-comet/tools/console/testsuite/
A Dconsole-domU.c59 int ch; in main() local
62 ch = fgetc(stdin); in main()
64 if (ch != exp) { in main()
66 exp, ch); in main()
A Dprocpipe.c66 int ch, opt_ind = 0; in main() local
79 while ((ch = getopt_long(argc, argv, sopt, lopt, &opt_ind)) != -1) { in main()
80 switch (ch) { in main()
/xen-4.10.0-shim-comet/tools/libfsimage/fat/
A Dfsys_fat.c278 char *rest, ch, dir_buf[FAT_DIRENTRY_LENGTH]; in fat_dir() local
327 for (rest = dirname; (ch = *rest) && !isspace ((uint8_t)ch) && ch != '/'; rest++); in fat_dir()
332 if (print_possibilities && ch != '/') in fat_dir()
354 *rest = ch; in fat_dir()
460 *(dirname = rest) = ch; in fat_dir()
/xen-4.10.0-shim-comet/xen/tools/kconfig/
A Dmconf.c473 char ch; in build_conf() local
548 case yes: ch = '*'; break; in build_conf()
549 case mod: ch = 'M'; break; in build_conf()
550 default: ch = ' '; break; in build_conf()
552 item_make("<%c>", ch); in build_conf()
601 case yes: ch = '*'; break; in build_conf()
602 case mod: ch = 'M'; break; in build_conf()
603 default: ch = ' '; break; in build_conf()
607 item_make("{%c}", ch); in build_conf()
609 item_make("<%c>", ch); in build_conf()
[all …]
A Dnconf.c740 char ch; in build_conf() local
813 ch = '*'; in build_conf()
816 ch = 'M'; in build_conf()
819 ch = ' '; in build_conf()
822 item_make(menu, 't', "<%c>", ch); in build_conf()
868 ch = '*'; in build_conf()
871 ch = 'M'; in build_conf()
874 ch = ' '; in build_conf()
880 't', "{%c}", ch); in build_conf()
883 't', "<%c>", ch); in build_conf()
[all …]
/xen-4.10.0-shim-comet/tools/console/daemon/
A Dmain.c110 int ch; in main() local
117 while ((ch = getopt_long(argc, argv, sopts, lopts, &opt_ind)) != -1) { in main()
118 switch (ch) { in main()
/xen-4.10.0-shim-comet/tools/libfsimage/ext2fs/
A Dfsys_ext2fs.c628 char ch; /* temp char holder */ in ext2fs_dir() local
812 for (rest = dirname; (ch = *rest) && !isspace ((uint8_t)ch) && ch != '/'; in ext2fs_dir()
840 *rest = ch; in ext2fs_dir()
859 *rest = ch; in ext2fs_dir()
883 if (print_possibilities && ch != '/' in ext2fs_dir()
896 while (!dp->inode || (str_chk || (print_possibilities && ch != '/'))); in ext2fs_dir()
899 *(dirname = rest) = ch; in ext2fs_dir()
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/compat/
A Dentry.S275 setnz %ch # TBF_INTERRUPT -> set upcall mask
276 orb %ch,COMPAT_VCPUINFO_upcall_mask(%rax)
283 setz %ch # %ch == !saved_upcall_mask
286 addb %ch,%ch # Bit 9 (EFLAGS.IF)
287 orb %ch,%ah # Fold EFLAGS.IF into %eax
/xen-4.10.0-shim-comet/xen/crypto/
A Dvmac.c782 uint64_t ch, cl; in vhash_update() local
794 ch = ctx->polytmp[0]; in vhash_update()
811 ADD128(ch,cl,rh,rl); in vhash_update()
829 ctx->polytmp[0] = ch; in vhash_update()
850 uint64_t ch, cl; in vhash() local
865 ch = ctx->polytmp[0]; in vhash()
881 ch &= m62; in vhash()
882 ADD128(ch,cl,pkh,pkl); in vhash()
895 ch &= m62; in vhash()
896 ADD128(ch,cl,pkh,pkl); in vhash()
[all …]
/xen-4.10.0-shim-comet/tools/misc/
A Dxen-detect.c222 int ch, quiet = 0; in main() local
234 while ( (ch = getopt_long(argc, argv, sopts, lopts, NULL)) != -1 ) in main()
236 switch ( ch ) in main()
/xen-4.10.0-shim-comet/tools/pygrub/src/
A Dpygrub196 def do_command(self, ch): argument
200 self.lastcmd = ch
201 if ch == 27: # esc
204 elif curses.ascii.isprint(ch):
205 self.line.insert(self.pos, chr(ch))
207 elif ch == curses.ascii.SOH: # ^a
209 elif ch in (curses.ascii.STX,curses.KEY_LEFT):
212 elif ch in (curses.ascii.BS,curses.KEY_BACKSPACE):
217 elif ch == curses.ascii.EOT: # ^d
222 elif ch in (curses.ascii.ACK, curses.KEY_RIGHT):
[all …]
/xen-4.10.0-shim-comet/tools/xenstat/xentop/
A Dxentop.c354 static int handle_key(int ch) in handle_key() argument
358 switch(ch) { in handle_key()
395 switch(ch) { in handle_key()
409 && isprint(ch)) { in handle_key()
410 prompt_val[prompt_val_len++] = (char)ch; in handle_key()
455 char ch; member
486 print("%c", state_funcs[i].get(domain) ? state_funcs[i].ch in print_state()
1178 int ch = ERR; in main() local
1262 if(ch != ERR || (curtime.tv_sec - oldtime.tv_sec) >= delay) { in main()
1270 ch = getch(); in main()
[all …]
/xen-4.10.0-shim-comet/tools/xenbackendd/
A Dxenbackendd.c158 int ch; in main() local
162 while ((ch = getopt(argc, argv, "dfl:p:s:")) != -1) { in main()
163 switch (ch) { in main()
/xen-4.10.0-shim-comet/tools/libfsimage/ufs/
A Dfsys_ufs.c68 char *fname, ch; in ufs_dir() local
84 ch = *dirname; in ufs_dir()
88 *dirname = ch; in ufs_dir()
/xen-4.10.0-shim-comet/tools/libfsimage/xfs/
A Dfsys_xfs.c543 char *rest, *name, ch; in xfs_dir() local
590 for (rest = dirname; (ch = *rest) in xfs_dir()
591 && !isspace ((uint8_t)ch) && ch != '/'; rest++); in xfs_dir()
598 if (print_possibilities && ch != '/' && cmp <= 0) { in xfs_dir()
608 *(dirname = rest) = ch; in xfs_dir()
617 *rest = ch; in xfs_dir()
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/
A Dselect.ml32 let ch = open_in "/proc/sys/fs/nr_open" in
33 let v = int_of_string (input_line ch) in
34 close_in_noerr ch; v

Completed in 60 milliseconds

123