Home
last modified time | relevance | path

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

123

/xen/xen/arch/x86/
A Dhpet.c146 delta = ns2ticks(delta, ch->shift, ch->mult); in reprogram_hpet_evt_channel()
228 ch->event_handler(ch); in hpet_interrupt_handler()
354 ret = request_irq(ch->msi.irq, 0, hpet_interrupt_handler, "HPET", ch); in hpet_setup_msi_irq()
376 ch->msi.irq = irq; in hpet_assign_irq()
423 ch->idx = i; in hpet_fsb_cap_lookup()
467 return ch; in hpet_get_channel()
484 if ( ch->event_handler && ch->next_event < NOW() ) in set_channel_irq_affinity()
485 ch->event_handler(ch); in set_channel_irq_affinity()
521 ch->cpu = -1; in hpet_detach_channel()
703 if ( !ch ) in hpet_broadcast_enter()
[all …]
/xen/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/tools/libxl/
A Dlibxl_fork.c454 pid_t pid = ch->pid; in childproc_reaped_ours()
456 ch->pid = -1; in childproc_reaped_ours()
457 ch->callback(egc, ch, pid, status); in childproc_reaped_ours()
463 libxl__ev_child *ch; in childproc_reaped() local
494 libxl__ev_child *ch; in childproc_checkall() local
626 ch->pid = pid; in libxl__ev_child_fork()
627 ch->callback = death; in libxl__ev_child_fork()
682 libxl__ev_child ch; member
695 pid_t pid = ch->pid; in libxl__ev_child_kill_deregister()
705 ch->pid = -1; in libxl__ev_child_kill_deregister()
[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.pl55 my ($want_ah, $ch) = ($1, $2);
375 if ($ch eq 'h') {
381 if ($ch eq 'c') {
/xen/tools/xl/
A Dxl.c256 assert(!ch->pid); in xl_fork()
257 ch->reaped = 0; in xl_fork()
260 ch->pid = fork(); in xl_fork()
261 if (ch->pid == -1) { in xl_fork()
266 if (!ch->pid) { in xl_fork()
272 return ch->pid; in xl_fork()
278 pid_t got = ch->pid; in xl_waitpid()
280 if (ch->reaped) { in xl_waitpid()
282 ch->pid = 0; in xl_waitpid()
290 ch->pid = 0; in xl_waitpid()
[all …]
/xen/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.c170 u8 ch; in attempt_receive_packet() local
173 while ( (ch = gdb_io_read(ctx)) != '$' ) in attempt_receive_packet()
181 ch = gdb_io_read(ctx); in attempt_receive_packet()
182 if ( ch == '#' ) in attempt_receive_packet()
184 ctx->in_buf[ctx->in_bytes] = ch; in attempt_receive_packet()
185 csum += ch; in attempt_receive_packet()
/xen/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/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/xen/tools/kconfig/
A Dmconf.c472 char ch; in build_conf() local
546 case yes: ch = '*'; break; in build_conf()
547 case mod: ch = 'M'; break; in build_conf()
548 default: ch = ' '; break; in build_conf()
550 item_make("<%c>", ch); in build_conf()
599 case yes: ch = '*'; break; in build_conf()
600 case mod: ch = 'M'; break; in build_conf()
601 default: ch = ' '; break; in build_conf()
605 item_make("{%c}", ch); in build_conf()
607 item_make("<%c>", ch); in build_conf()
[all …]
A Dnconf.c742 char ch; in build_conf() local
815 ch = '*'; in build_conf()
818 ch = 'M'; in build_conf()
821 ch = ' '; in build_conf()
824 item_make(menu, 't', "<%c>", ch); in build_conf()
870 ch = '*'; in build_conf()
873 ch = 'M'; in build_conf()
876 ch = ' '; in build_conf()
882 't', "{%c}", ch); in build_conf()
885 't', "<%c>", ch); in build_conf()
[all …]
/xen/tools/console/daemon/
A Dmain.c113 int ch; in main() local
120 while ((ch = getopt_long(argc, argv, sopts, lopts, &opt_ind)) != -1) { in main()
121 switch (ch) { in main()
/xen/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/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/xen/arch/x86/x86_64/compat/
A Dentry.S310 setnz %ch # TBF_INTERRUPT -> set upcall mask
311 orb %ch,COMPAT_VCPUINFO_upcall_mask(%rax)
318 setz %ch # %ch == !saved_upcall_mask
321 addb %ch,%ch # Bit 9 (EFLAGS.IF)
322 orb %ch,%ah # Fold EFLAGS.IF into %eax
/xen/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/tools/pygrub/src/
A Dpygrub198 def do_command(self, ch): argument
202 self.lastcmd = ch
203 if ch == 27: # esc
206 elif curses.ascii.isprint(ch):
207 self.line.insert(self.pos, chr(ch))
209 elif ch == curses.ascii.SOH: # ^a
211 elif ch in (curses.ascii.STX,curses.KEY_LEFT):
214 elif ch in (curses.ascii.BS,curses.KEY_BACKSPACE):
219 elif ch == curses.ascii.EOT: # ^d
224 elif ch in (curses.ascii.ACK, curses.KEY_RIGHT):
[all …]
/xen/tools/xenstat/xentop/
A Dxentop.c353 static int handle_key(int ch) in handle_key() argument
357 switch(ch) { in handle_key()
391 switch(ch) { in handle_key()
405 && isprint(ch)) { in handle_key()
406 prompt_val[prompt_val_len++] = (char)ch; in handle_key()
451 char ch; member
482 print("%c", state_funcs[i].get(domain) ? state_funcs[i].ch in print_state()
1232 int ch = ERR; in main() local
1313 if(ch != ERR || (curtime.tv_sec - oldtime.tv_sec) >= delay) { in main()
1321 ch = getch(); in main()
[all …]
/xen/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/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/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/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 33 milliseconds

123