MCPcopy Create free account

hub / github.com/SmallPond/MIT6.828_OS / functions

Functions1,950 in github.com/SmallPond/MIT6.828_OS

↓ 12 callersFunctionMD5Update
The routine MD5Update updates the message-digest context to account for the presence of each of the characters inBuf[0..inLen-1] in the message
lab/net/lwip/netif/ppp/md5.c:131
↓ 12 callersFunctionflush_block
Flush the contents of the block containing VA out to disk if necessary, then clear the PTE_D bit using sys_page_map. If the block is not in the block
lab/fs/bc.c:86
↓ 12 callersFunctionkfree
PAGEBREAK: 21 Free the page of physical memory pointed at by v, which normally should have been returned by a call to kalloc(). (The exception is whe
xv6-public/kalloc.c:59
↓ 12 callersFunctionpage2kva
lab/kern/pmap.h:85
↓ 12 callersFunctionsched_yield
Choose a user environment to run and run it.
lab/kern/sched.c:11
↓ 12 callersFunctionsnmp_varbind_tail_add
lab/net/lwip/core/snmp/msg_in.c:1413
↓ 12 callersFunctionstrlen
xv6-public/ulib.c:26
↓ 11 callersFunctioncpunum
lab/kern/lapic.c:114
↓ 11 callersFunctionfd2data
lab/lib/fd.c:29
↓ 11 callersFunctionfsm_sconfreq
* fsm_sconfreq - Send a Configure-Request. */
lab/net/lwip/netif/ppp/fsm.c:857
↓ 11 callersFunctioninet_chksum
lab/net/lwip/core/ipv4/inet_chksum.c:391
↓ 11 callersFunctioninet_chksum_pseudo
lab/net/lwip/core/ipv6/inet6.c:79
↓ 11 callersFunctionip_addr_isbroadcast
* Determine if an address is a broadcast address on a network interface * * @param addr address to be checked * @param netif the network interfac
lab/net/lwip/core/ipv4/ip_addr.c:58
↓ 11 callersFunctionkalloc
Allocate one 4096-byte page of physical memory. Returns a pointer that the kernel can use. Returns 0 if the memory cannot be allocated.
xv6-public/kalloc.c:82
↓ 11 callersFunctionmalloc
lab/lib/malloc.c:41
↓ 11 callersFunctionmmio_map_region
Reserve size bytes in the MMIO region and map [pa,pa+size) at this location. Return the base of the reserved region. size does *not have to be multi
lab/kern/pmap.c:693
↓ 11 callersFunctionpbuf_cat
lab/net/lwip/core/pbuf.c:572
↓ 11 callersFunctionsnmp_asn1_dec_length
* Decodes length field from incoming pbuf chain into host length. * * @param p points to a pbuf holding an ASN1 coded length * @param ofs points to
lab/net/lwip/core/snmp/asn1_dec.c:84
↓ 11 callersFunctionsnmp_asn1_dec_type
* Retrieves type field from incoming pbuf chain. * * @param p points to a pbuf holding an ASN1 coded type field * @param ofs points to the offset w
lab/net/lwip/core/snmp/asn1_dec.c:51
↓ 11 callersFunctionsys_sem_new
lab/net/lwip/jos/arch/sys_arch.c:132
↓ 11 callersFunctionsys_sem_wait
* Wait (forever) for a semaphore to become available. * While waiting, timeouts (for this thread) are processed. * * @param sem semaphore to wait f
lab/net/lwip/core/sys.c:125
↓ 11 callersFunctionwakeup
Wake up all processes sleeping on chan.
xv6-public/proc.c:468
↓ 10 callersFunctionbegin_op
called at the start of each FS system call.
xv6-public/log.c:131
↓ 10 callersFunctionconsputc
xv6-public/console.c:165
↓ 10 callersFunctionexit
Exit the current process. Does not return. An exited process remains in the zombie state until its parent calls wait() to find out it exited.
xv6-public/xv6.si4project/Backup/proc(6211).c:227
↓ 10 callersFunctioninet_addr
* Ascii internet address interpretation routine. * The value returned is in network order. * * @param cp IP address in ascii represenation (e.g. "1
lab/net/lwip/core/ipv4/inet.c:60
↓ 10 callersFunctioniunlock
Unlock the given inode.
xv6-public/fs.c:316
↓ 10 callersFunctionlapiceoi
Acknowledge interrupt.
xv6-public/lapic.c:109
↓ 10 callersFunctionlcp_close
* lcp_close - Take LCP down. */
lab/net/lwip/netif/ppp/lcp.c:295
↓ 10 callersFunctionreadn
lab/lib/fd.c:223
↓ 10 callersFunctiontcp_output
* Find out what we can send and send it * * @param pcb Protocol control block for the TCP connection to send data * @return ERR_OK if data has been
lab/net/lwip/core/tcp_out.c:410
↓ 9 callersFunctiondhcp_get_option_ptr
* Find the offset of a DHCP option inside the DHCP message. * * @param dhcp DHCP client * @param option_type * * @return a byte offset into the U
lab/net/lwip/core/dhcp.c:1430
↓ 9 callersFunctiondhcp_set_state
* Set the DHCP state of a DHCP client. * * If the state changed, reset the number of tries. * * TODO: we might also want to reset the timeout here
lab/net/lwip/core/dhcp.c:1097
↓ 9 callersFunctionfileclose
Close file f. (Decrement ref count, close when reaches 0.)
xv6-public/file.c:56
↓ 9 callersFunctionip_output_if
* Sends an IP packet on a network interface. This function constructs * the IP header and calculates the IP header checksum. If the source * IP addr
lab/net/lwip/core/ipv4/ip.c:471
↓ 9 callersFunctioniupdate
Copy a modified in-memory inode to disk. Must be called after every change to an ip->xxx field that lives on disk, since i-node cache is write-through
xv6-public/fs.c:221
↓ 9 callersFunctionkill
Kill the process with the given pid. Process won't exit until it returns to user space (see trap in trap.c).
xv6-public/proc.c:479
↓ 9 callersFunctionlog_write
Caller has modified b->data and is done with the buffer. Record the block number and pin in the cache with B_DIRTY. commit()/write_log() will do the d
xv6-public/log.c:239
↓ 9 callersFunctionnsipc
Send an IP request to the network server, and wait for a reply. The request body should be in nsipcbuf, and parts of the response may be written back
lab/lib/nsipc.c:16
↓ 9 callersFunctionocstrncpy
prototypes of the following functions are in lwip/src/include/lwip/snmp.h */ * Copy octet string. * * @param dst points to destination * @param src
lab/net/lwip/core/snmp/mib2.c:901
↓ 9 callersFunctionpeek
xv6-public/sh.c:310
↓ 9 callersFunctionsnmp_varbind_list_free
lab/net/lwip/core/snmp/msg_in.c:1396
↓ 9 callersFunctionspawnl
Spawn, taking command-line arguments array directly on the stack. NOTE: Must have a sentinal of NULL at the end of the args (none of the args may be N
lab/lib/spawn.c:154
↓ 9 callersFunctionsys_arch_mbox_fetch
lab/net/lwip/jos/arch/sys_arch.c:203
↓ 9 callersFunctionsys_arch_sem_wait
lab/net/lwip/jos/arch/sys_arch.c:169
↓ 9 callersFunctionsys_sem_free
lab/net/lwip/jos/arch/sys_arch.c:149
↓ 9 callersFunctionuser_mem_assert
Checks that environment 'env' is allowed to access the range of memory [va, va+len) with permissions 'perm | PTE_U | PTE_P'. If it can, then the funct
lab/kern/pmap.c:806
↓ 8 callersFunctionGet7Bits
lab/net/lwip/netif/ppp/chpms.c:258
↓ 8 callersFunctionargstr
Fetch the nth word-sized system call argument as a string pointer. Check that the pointer is valid and the string is nul-terminated. (There is no shar
xv6-public/syscall.c:76
↓ 8 callersFunctioncmos_read
xv6-public/lapic.c:174
↓ 8 callersFunctiondhcp_get_option_long
* Return the 32-bit value of DHCP option data. * * @param client DHCP client. * @param ptr pointer obtained by dhcp_get_option_ptr(). * * @return
lab/net/lwip/core/dhcp.c:1542
↓ 8 callersFunctiongettoken
xv6-public/sh.c:265
↓ 8 callersFunctionpage_lookup
Return the page mapped at virtual address 'va'. If pte_store is not zero, then we store in it the address of the pte for this page. This is used by p
lab/kern/pmap.c:614
↓ 8 callersFunctionpage_remove
lab/kern/pmap.c:655
↓ 8 callersFunctionpci_conf_read
lab/kern/pci.c:59
↓ 8 callersFunctionpci_conf_read
lab/lab6.si4project/Backup/pci(874).c:59
↓ 8 callersFunctionpipe
lab/lib/pipe.c:28
↓ 8 callersFunctionsnmp_asn1_enc_s32t_cnt
* Returns octet count for an s32_t. * * @param value * @param octets_needed points to the return value * * @note ASN coded integers are _always_
lab/net/lwip/core/snmp/asn1_enc.c:109
↓ 8 callersFunctionsnmp_iptooid
* Conversion from lwIP ip_addr to oid * @param ip points to input struct * @param ident points to s32_t ident[4] output */
lab/net/lwip/core/snmp/mib_structs.c:154
↓ 8 callersFunctionsnmp_varbind_alloc
lab/net/lwip/core/snmp/msg_in.c:1320
↓ 8 callersFunctionstrchr
xv6-public/ulib.c:43
↓ 8 callersFunctiontcp_segs_free
* Deallocates a list of TCP segments (tcp_seg structures). * * @param seg tcp_seg list of TCP segments to free * @return the number of pbufs that w
lab/net/lwip/core/tcp.c:811
↓ 8 callersFunctiontcpip_timeout
lab/net/lwip/api/tcpip.c:382
↓ 8 callersFunctionudp_sendto_if
* Send data to a specified address using UDP. * The netif used for sending can be specified. * * This function exists mainly for DHCP, to be able t
lab/net/lwip/core/udp.c:394
↓ 7 callersFunctioncpuid
Must be called with interrupts disabled
xv6-public/proc.c:30
↓ 7 callersFunctiondhcp_create_request
* Create a DHCP request, fill in common headers * * @param netif the netif under DHCP control */
lab/net/lwip/core/dhcp.c:1320
↓ 7 callersFunctiondhcp_delete_request
* Free previously allocated memory used to send a DHCP request. * * @param netif the netif under DHCP control */
lab/net/lwip/core/dhcp.c:1381
↓ 7 callersFunctiondhcp_option_long
lab/net/lwip/core/dhcp.c:1137
↓ 7 callersFunctiondhcp_option_trailer
* Add a DHCP message trailer * * Adds the END option to the DHCP message, and if * necessary, up to three padding bytes. * * @param dhcp DHCP sta
lab/net/lwip/core/dhcp.c:1405
↓ 7 callersFunctiondie
lab/user/echosrv.c:10
↓ 7 callersFunctionfd2num
lab/lib/fd.c:23
↓ 7 callersFunctionfile_get_block
Set *blk to the address in memory where the filebno'th block of file 'f' would be mapped. Returns 0 on success, < 0 on error. Errors are: -E_NO_DISK
lab/fs/fs.c:192
↓ 7 callersFunctionfprintf
lab/lib/fprintf.c:56
↓ 7 callersFunctionfsipc
Send an inter-environment request to the file server, and wait for a reply. The request body should be in fsipcbuf, and parts of the response may be
lab/lib/file.c:15
↓ 7 callersFunctionholdingsleep
xv6-public/sleeplock.c:44
↓ 7 callersFunctionip_output
* Simple interface to ip_output_if. It finds the outgoing network * interface and calls upon ip_output_if to do the actual work. * * @param p the p
lab/net/lwip/core/ipv4/ip.c:566
↓ 7 callersFunctioniput
Drop a reference to an in-memory inode. If that was the last reference, the inode cache entry can be recycled. If that was the last reference and the
xv6-public/fs.c:332
↓ 7 callersFunctionlcr3
lab/inc/x86.h:160
↓ 7 callersFunctionlog_write
Caller has modified b->data and is done with the buffer. Record the block number and pin in the cache with B_DIRTY. commit()/write_log() will do the d
xv6-public/xv6.si4project/Backup/log(5899).c:213
↓ 7 callersFunctionmalloc
xv6-public/umalloc.c:63
↓ 7 callersFunctionmycpu
Must be called with interrupts disabled to avoid the caller being rescheduled between reading lapicid and running through the loop.
xv6-public/xv6.si4project/Backup/proc(6211).c:37
↓ 7 callersFunctionpci_func_enable
lab/lab6.si4project/Backup/pci(874).c:196
↓ 7 callersFunctionperror
lab/net/lwip/jos/arch/perror.c:157
↓ 7 callersFunctionputc
xv6-public/printf.c:5
↓ 7 callersFunctionreadi
PAGEBREAK! Read data from inode. Caller must hold ip->lock.
xv6-public/fs.c:489
↓ 7 callersFunctionseek
lab/lib/fd.c:260
↓ 7 callersFunctionsnmp_oidtoip
* Conversion from oid to lwIP ip_addr * @param ident points to s32_t ident[4] input * @param ip points to output struct */
lab/net/lwip/core/snmp/mib_structs.c:134
↓ 7 callersFunctionsys_mbox_trypost
lab/net/lwip/jos/arch/sys_arch.c:111
↓ 7 callersFunctiontcp_debug_print_state
* Print a tcp state for debugging purposes. * * @param s enum tcp_state to print */
lab/net/lwip/core/tcp.c:1296
↓ 7 callersFunctiontcp_seg_free
* Frees a TCP segment (tcp_seg structure). * * @param seg single tcp_seg to free * @return the number of pbufs that were deallocated */
lab/net/lwip/core/tcp.c:830
↓ 7 callersFunctionudp_bind
* Bind an UDP PCB. * * @param pcb UDP PCB to be bound with a local address ipaddr and port. * @param ipaddr local IP address to bind with. Use IP_A
lab/net/lwip/core/udp.c:561
↓ 6 callersFunctionacquiresleep
xv6-public/sleeplock.c:22
↓ 6 callersFunctionalloc
lab/fs/fsformat.c:81
↓ 6 callersFunctionargfd
Fetch the nth word-sized system call argument as a file descriptor and return both the descriptor and the corresponding struct file.
xv6-public/sysfile.c:22
↓ 6 callersFunctionargptr
Fetch the nth word-sized system call argument as a pointer to a block of memory of size bytes. Check that the pointer lies within the process address
xv6-public/syscall.c:58
↓ 6 callersFunctionauth_peer_fail
* The peer has failed to authenticate himself using `protocol'. */
lab/net/lwip/netif/ppp/auth.c:324
↓ 6 callersFunctionballoc
Allocate a zeroed disk block.
xv6-public/fs.c:56
↓ 6 callersFunctionboot_map_region
Map [va, va+size) of virtual address space to physical [pa, pa+size) in the page table rooted at pgdir. Size is a multiple of PGSIZE, and va and pa a
lab/kern/pmap.c:528
↓ 6 callersFunctionbwrite
Write b's contents to disk. Must be locked.
xv6-public/bio.c:109
↓ 6 callersFunctionbzero
Zero a block.
xv6-public/fs.c:42
← previousnext →101–200 of 1,950, ranked by callers