/barrelfish-2018-10-04/usr/eclipseclp/Pds/src/ |
H A D | amsg.xdr.c | 45 xdr_aport(xdrs,port) 47 aport_t * port; 49 return(xdr_aport_id(xdrs,&port->aport_id) && 50 xdr_bport_id(xdrs,&port->bport_id) && 51 xdr_bdomain_id(xdrs,&port->bdomain_id));
|
H A D | bmsg.xdr.c | 53 xdr_bport(xdrs,port) 55 bport_t * port; 57 char * bnet_address = port->bnet_address; 59 return(xdr_bpid(xdrs,&port->bpid) && 60 xdr_bport_id(xdrs,&port->bport_id) && 61 xdr_bdomain_id(xdrs,&port->bdomain_id) && 63 ((char *) &port->bmsg_queue_address + 66 xdr_bport_number(xdrs,&port->bport_number));
|
H A D | amsg.msg.c | 295 aport_id_t aport_id; /* destination port */ 337 ** In general, when a message arrives on an empty port its associated 339 ** one such notification in progress per port. This limits the number 344 ** specific port options, e.g. disable/enable notifications. 349 struct aport * prev; /* previous port */ 350 struct aport * next; /* next port */ 351 aport_id_t aport_id; /* port identifier */ 352 void (* notify_procedure) /* port notification procedure */ 361 aport_info_t info; /* port statistics */ 367 struct aport * prev; /* previous port */ 848 port_t * port; local 1164 port_t * port; local 1267 port_t * port; local 1318 port_t * port; local 1380 port_t * port; local 1493 port_t * port; local 1585 port_t * port; local 1720 port_t * port; local 1851 port_t * port; local 1905 port_t * port; local 2034 port_t * port; local 2120 port_t * port; local 2154 port_t * port; local [all...] |
/barrelfish-2018-10-04/lib/blk/blk_ahci/ |
H A D | ahci_port.c | 13 static ahci_port_chdr_t get_command_header(struct ahci_port* port, uint8_t slot) argument 15 return (ahci_port_chdr_t) ((uint8_t*)port->clb.vaddr) + (ahci_port_chdr_size * slot); 35 static errval_t port_init_fb(struct ahci_port* port) argument 37 assert(port != NULL); 39 errval_t err = dma_mem_alloc(1024, &port->fb); 44 memset((void*)port->fb.vaddr, 0x0, 1024); 46 assert(port->fb.paddr % 4096 == 0); 47 ahci_port_fb_wr(&port->port, port 51 port_init_clb(struct ahci_port* port) argument 68 port_init_ctba(struct ahci_port* port, size_t command_slot) argument 84 blk_ahci_interrupt(struct ahci_port* port, struct dev_queue_request* reqs, size_t slots) argument 126 blk_ahci_port_dma_async(struct ahci_port *port, size_t slot, uint64_t block, lpaddr_t base, size_t length, bool write) argument 170 blk_ahci_port_dma(struct ahci_port *port, uint64_t block, struct dma_mem *buffer, bool write) argument 226 port_identify(struct ahci_port *port) argument 311 struct ahci_port *port = &ad->ports[i]; local [all...] |
H A D | ahci_dev.c | 10 size_t ahci_port_offset(uint32_t port) argument 12 return 0x100 + port * 0x80; 15 bool ahci_port_is_idle(ahci_port_t* port) argument 17 ahci_port_cmd_t cmd = ahci_port_cmd_rd(port); 25 bool ahci_port_is_ready(ahci_port_t* port) argument 27 uint8_t busy = ahci_port_tfd_bsy_rdf(port); 28 uint8_t drq = ahci_port_tfd_drq_rdf(port); 32 bool ahci_port_is_functional(ahci_port_t* port) argument 34 uint8_t det = ahci_port_ssts_det_rdf(port); 35 return ahci_port_is_ready(port) 38 ahci_port_slot_free(ahci_port_t* port, uint8_t slot) argument 45 ahci_port_start(ahci_port_t* port) argument 51 ahci_port_stop(ahci_port_t* port) argument 66 ahci_port_is_running(ahci_port_t* port) argument 71 ahci_port_probe(ahci_port_t* port) argument 122 ahci_port_is_implemented(ahci_hba_t* controller, size_t port) argument [all...] |
H A D | ahci_dev.h | 25 bool ahci_port_is_implemented(ahci_hba_t* controller, size_t port); 26 uint32_t ahci_port_probe(ahci_port_t* port); 28 void ahci_port_start(ahci_port_t* port); 29 void ahci_port_stop(ahci_port_t* port); 30 bool ahci_port_is_running(ahci_port_t* port); 31 bool ahci_port_is_idle(ahci_port_t* port); 32 bool ahci_port_is_functional(ahci_port_t* port); 33 bool ahci_port_is_ready(ahci_port_t* port); 34 size_t ahci_port_offset(uint32_t port); 35 bool ahci_port_slot_free(ahci_port_t* port, uint8_ [all...] |
/barrelfish-2018-10-04/lib/ahci/ |
H A D | ahci_internal.h | 13 void ahci_dump_command(int command, struct ahci_port_info *port); 15 void ahci_dump_rfis(struct ahci_port_info *port); 17 int ahci_find_free_command_slot(struct ahci_port_info *port); 19 void ahci_port_free_dma_structs(struct ahci_port_info *port); 21 errval_t ahci_setup_command(int *command, struct ahci_port_info *port, 24 errval_t ahci_add_physical_regions(struct ahci_port_info *port, int command,
|
H A D | ahci_util.c | 29 int ahci_find_free_command_slot(struct ahci_port_info *port) argument 31 for (int i = 0; i < ahci_hba_cap_ncs_extract(port->hba_capabilities) + 1; i++) { 32 if (!port->command_slots[i].in_use) { 40 errval_t ahci_port_alloc_dma_structs(ahci_port_t *port, argument 52 ahci_port_clb_wr(port, (*command_list)->paddr); 60 ahci_port_fb_wr(port, (*receive_fis)->paddr); 65 void ahci_port_free_dma_structs(struct ahci_port_info *port) argument 68 err = ahci_dma_region_free(port->command_list); 70 USER_PANIC_ERR(err, "ahci_dma_region_free failed for port command list"); 72 err = ahci_dma_region_free(port 78 ahci_setup_command(int *command, struct ahci_port_info *port, uint8_t *fis, size_t fis_length, size_t num_prds, bool is_write) argument 144 ahci_add_physical_regions(struct ahci_port_info *port, int command, struct ahci_dma_region *buf, size_t buflen) argument 207 ahci_dump_command(int command, struct ahci_port_info *port) argument 225 ahci_dump_command(int command, struct ahci_port_info *port) argument 229 ahci_dump_rfis(struct ahci_port_info *port) argument 242 ahci_dump_rfis(struct ahci_port_info *port) argument [all...] |
/barrelfish-2018-10-04/kernel/arch/arm/ |
H A D | zynq_uart.c | 30 #define MSG(port, format, ...) \ 31 printk( LOG_NOTE, "ZYNQ serial[%d]: "format, port, ## __VA_ARGS__ ) 35 serial_early_init(unsigned port) { argument 36 assert(port < ZYNQ_UART_MAX_PORTS); 38 zynq_uart_initialize(&ports[port], (mackerel_addr_t)uart_base[port]); 41 zynq_uart_CR_tx_dis_wrf(&ports[port], 0); 42 zynq_uart_CR_tx_en_wrf(&ports[port], 1); 48 zynq_uart_init(unsigned port, lvaddr_t base, bool initialize_hw) { argument 49 assert(port < ZYNQ_UART_MAX_PORT 81 serial_putchar(unsigned port, char c) argument 96 serial_getchar(unsigned port) argument [all...] |
H A D | omap_uart.c | 31 #define MSG(port, format, ...) \ 32 printk( LOG_NOTE, "OMAP serial[%d]: "format, port, ## __VA_ARGS__ ) 37 errval_t serial_early_init(unsigned port) argument 40 assert(port < serial_num_physical_ports); 41 omap44xx_uart3_initialize(&ports[port], (mackerel_addr_t)uart_base[port]); 42 omap_uart_hw_init(&ports[port]); 49 void omap_uart_init(unsigned port, lvaddr_t base, bool initialize_hw) argument 52 assert(port < serial_num_physical_ports); 53 omap44xx_uart3_initialize(&ports[port], (mackerel_addr_ 185 serial_putchar(unsigned port, char c) argument 200 serial_getchar(unsigned port) argument [all...] |
/barrelfish-2018-10-04/kernel/include/arch/arm/ |
H A D | omap_uart.h | 24 extern void omap_uart_early_init(unsigned port, lpaddr_t base); 29 extern void omap_uart_init(unsigned port, lvaddr_t base, bool initialize_hw); 32 * \brief Prints a single character to a serial port. 34 extern void omap_uart_putchar(unsigned port, char c); 37 * \brief Reads a single character from the default serial port. 40 extern char omap_uart_getchar(unsigned port);
|
H A D | pl011.h | 22 * \briefConfigure a port. 29 extern void pl011_configure(unsigned port, lpaddr_t addr); 35 * \param port : Physical address of the UART. 38 extern void pl011_init(unsigned port, lvaddr_t base, bool hwinit); 41 * \brief Put a character to the port 43 extern void pl011_putchar(unsigned port, char c); 46 * \brief Read a character from a port 48 extern char pl011_getchar(unsigned port);
|
H A D | zynq_uart.h | 19 * \brief Configure a port. 26 extern void zynq_uart_early_init(unsigned port, lpaddr_t addr); 32 * \param port : Physical address of the UART. 35 extern void zynq_uart_init(unsigned port, lvaddr_t base, bool hwinit); 38 * \brief Put a character to the port 40 extern void zynq_uart_putchar(unsigned port, char c); 43 * \brief Read a character from a port 45 extern char zynq_uart_getchar(unsigned port);
|
/barrelfish-2018-10-04/kernel/arch/armv8/ |
H A D | plat_apm88xxxx.c | 35 errval_t serial_init(unsigned port, bool initialize_hw) argument 37 if (port >= MAX_NUM_UARTS) { 41 if ((lpaddr_t)ports[port].base == (uart_base[port] + KERNEL_OFFSET)) { 45 apm88xxxx_pc16550_t *uart = &ports[port]; 46 apm88xxxx_pc16550_initialize(uart, (mackerel_addr_t)(uart_base[port] + KERNEL_OFFSET)); 51 // local apm88xxxx_pc16550 struct for the port. 59 errval_t serial_early_init(unsigned port) argument 61 if (port >= MAX_NUM_UARTS) { 65 if ((lpaddr_t)ports[port] 74 serial_early_init_mmu_enabled(unsigned port) argument 83 serial_putchar(unsigned port, char c) argument 97 serial_getchar(unsigned port) argument [all...] |
H A D | plat_arm_vm.c | 23 errval_t serial_init(unsigned port, bool initialize_hw) argument 25 lvaddr_t base = local_phys_to_mem(uart_base[port]); 26 pl011_init(port, base, initialize_hw); 33 lpaddr_t platform_get_uart_address(unsigned port) argument 35 return local_phys_to_mem(uart_base[port]);
|
/barrelfish-2018-10-04/kernel/arch/x86/ |
H A D | serial.c | 41 * \param port Serial Port number. 45 errval_t serial_init(unsigned port, bool initialize_hw) argument 47 if (port >= NUM_PORTS) { 52 if (serial_portbase != 0x3f8 && port == 0) { 53 // We're trying to initialize the console port on a machine 60 port = 1; 63 pc16550d_t *uart = &ports[port]; 64 pc16550d_initialize(uart, portbases[port]); 111 errval_t serial_early_init(unsigned port) argument 116 /** \brief Prints a single character to the default serial port 117 serial_putchar(unsigned port, char c) argument 130 serial_getchar(unsigned port) argument [all...] |
H A D | syscall.c | 28 uint16_t port, uint32_t data) 31 if(port < to->u.io.start || port > to->u.io.end) { 33 "handle_io: illegal operation: port %" PRIx16 " out of range\n", port); 37 debug(SUBSYS_IO, "handle_io: IO cmd 0x%x to port 0x%" PRIx16 "\n", cmd, port); 40 outb(port, data); 44 outw(port, data); 48 outd(port, dat 27 sys_io(struct capability *to, enum io_cmd cmd, uint16_t port, uint32_t data) argument [all...] |
/barrelfish-2018-10-04/include/arch/x86/barrelfish/ |
H A D | iocap_arch.h | 22 * \param port IO port number 26 iocap_in8(struct capref iocap, uint16_t port, uint8_t *data) argument 29 errval_t err = invoke_iocap_in(iocap, IOCmd_Inb, port, &tmp); 40 * \param port IO port number 46 iocap_in16(struct capref iocap, uint16_t port, uint16_t *data) argument 49 errval_t err = invoke_iocap_in(iocap, IOCmd_Inw, port, &tmp); 60 * \param port IO port numbe 64 iocap_in32(struct capref iocap, uint16_t port, uint32_t *data) argument 77 iocap_out8(struct capref iocap, uint16_t port, uint8_t data) argument 90 iocap_out16(struct capref iocap, uint16_t port, uint16_t data) argument 103 iocap_out32(struct capref iocap, uint16_t port, uint32_t data) argument [all...] |
/barrelfish-2018-10-04/kernel/include/ |
H A D | serial.h | 3 * \brief Architecture-independent interface to the kernel serial port 28 * Initialize a physical serial port 30 extern errval_t serial_init(unsigned port, bool initialize_hw); 31 extern errval_t serial_early_init(unsigned port); 32 extern errval_t serial_early_init_mmu_enabled(unsigned port); 37 extern void serial_putchar(unsigned port, char c); 38 extern char serial_getchar(unsigned port); 41 * Console logical port. Putchar will replace LF with CRLF, unlike 65 * Debug logical port. Putchar will replace LF with CRLF, unlike
|
/barrelfish-2018-10-04/usr/block_server/ |
H A D | network_server.h | 23 errval_t block_net_init(uint16_t port);
|
/barrelfish-2018-10-04/usr/tests/net_tests/openport_test/ |
H A D | net_openport_test.c | 3 * \brief A test program to check the working of port management. 47 uint16_t port; local 65 port = start_port_range; 68 printf("openport_test: opening port %u\n", port); 71 printf("openport_test: tcp_new failed in opening port %u\n", port); 76 err = tcp_bind(pcb, IP_ADDR_ANY, port); 79 printf("port %u is already in use\n", port); [all...] |
/barrelfish-2018-10-04/lib/openssl-1.0.0d/demos/tunala/ |
H A D | ip.c | 21 int ip_create_listener_split(const char *ip, unsigned short port) argument 37 in_addr.sin_port = htons(port); 38 /* Bind to the required port/address/interface */ 51 int ip_create_connection_split(const char *ip, unsigned short port) argument 66 in_addr.sin_port = htons(port); 86 unsigned long port; local 92 * only specified a port. */ 113 if(!int_strtoul(ptr, &port) || (port > 65535)) 116 *parsed_port = (unsigned short)port; 123 unsigned short port; local 133 unsigned short port; local [all...] |
/barrelfish-2018-10-04/usr/eclipseclp/lib_tcl/ |
H A D | mapremote.tcl | 3 # GUI that gets the host and port number for the ECLiPSe side. When these 31 if {($map_remote(host) != "" && $map_remote(port) != "")} { 32 ec_remote_init $map_remote(host) $map_remote(port) map_init 50 set map_remote(port) "" 59 -p {set argstate port} 67 port { 68 set map_remote(port) $arg 74 if {$map_remote(port) == ""} { 76 ;# popup a window to ask for host and port... 80 "Specify hostname and port numbe [all...] |
/barrelfish-2018-10-04/lib/net_device_manager/ |
H A D | portalloc.c | 26 * The arrays storing the current port allocation state 33 * @brief Initialization code for port allocator 49 * @brief Allocates the first free port found starting from pstart 50 * @param free_ports the array of port allocation data 52 * @param pstart defines the port it starts searching from 54 * @return the proposed port number or 0 in case all ports are allocated 78 //find a 64bit word which has at least 1 bit set (=1 free port) 97 //mark the port as allocated 99 //return the port number 104 return (0); //no port coul 135 check_free(uint64_t * free_ports, uint16_t port) argument 150 alloc_specific_port(uint16_t port, net_ports_port_type_t type) argument 175 free_port(uint16_t port, net_ports_port_type_t type) argument [all...] |
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/infiniband/core/ |
H A D | local_sa.c | 135 struct sa_db_port port[0]; member in struct:sa_db_device 192 static void process_updates(struct sa_db_port *port); 396 static void update_path_db(struct sa_db_port *port, argument 409 port->update_id += (type == SA_UPDATE_FULL); 416 ret = insert_attr(&port->paths, port->update_id, 426 remove_old_attrs(&port->paths, port->update_id); 429 static struct ib_mad_send_buf *get_sa_msg(struct sa_db_port *port, argument 435 msg = ib_create_send_mad(port 465 format_path_req(struct sa_db_port *port, struct update_info *update, struct ib_mad_send_buf *msg) argument 492 send_query(struct sa_db_port *port, struct update_info *update) argument 515 add_update(struct sa_db_port *port, u8 *gid, enum sa_update_type type) argument 534 clean_update_list(struct sa_db_port *port) argument 549 struct sa_db_port *port = info->context; local 588 reg_in_info(struct sa_db_port *port) argument 604 reg_out_info(struct sa_db_port *port) argument 620 unsubscribe_port(struct sa_db_port *port) argument 633 cleanup_port(struct sa_db_port *port) argument 641 update_port_info(struct sa_db_port *port) argument 658 process_updates(struct sa_db_port *port) argument 709 refresh_port_db(struct sa_db_port *port) argument 807 struct sa_db_port *port; local 819 struct sa_db_port *port; local 847 struct sa_db_port *port; local 1079 struct sa_db_port *port; local 1106 struct sa_db_port *port; local 1144 struct sa_db_port *port; local 1167 destroy_port(struct sa_db_port *port) argument 1181 struct sa_db_port *port; local [all...] |