MCPcopy Create free account

hub / github.com/dddrrreee/cs140e-20win / functions

Functions1,429 in github.com/dddrrreee/cs140e-20win

↓ 283 callersFunctionprintk
fake version of printk: just call printf.
labs/11-fuse/2-fake-pi/unix-side/fake-pi.c:146
↓ 57 callersFunctionmemset
libpi/libc/memset.c:3
↓ 51 callersFunctionstrcmp
libpi/libc/strcmp.c:3
↓ 40 callersFunctionstrlen
libpi/libc/strlen.c:3
↓ 37 callersFunctionclean_reboot
should have a way to flush all output from the pi. right now we just delay, but this is not perfect and, also, gross. viva la cs140e!
labs/11-fuse/2-fake-pi/unix-side/fake-pi.c:161
↓ 27 callersFunctionuart_init
called first to setup uart to 8n1 115200 baud, no interrupts. - you will need memory barriers, use <dev_barrier()> later: should add an init that ta
labs/4-uart/uart/uart.c:20
↓ 26 callersFunctiontrace
do you really want to expose all of this stuff?
labs/5-replay/code/interpose.c:143
↓ 25 callersFunctionlex_getc
read byte from <l>
labs/9-esp8266/libesp/esp-lex.c:84
↓ 23 callersFunctionbb_fullpath
All the paths I see are relative to the root of the mounted filesystem. In order to get to the underlying filesystem, I need to have the mountpoint.
labs/12-fuse/0-examples/bbfs.c:51
↓ 23 callersFunctionmemcpy
libpi/libc/memcpy.c:6
↓ 20 callersFunctioncq_empty
* inline these so they can be used when we bit-bang off the UART with no interrupts. */
labs/6-threads/2-threads.new/circular.h:81
↓ 18 callersFunctionuart_putc
put one byte on the tx qqueue, if needed, blocks until TX has space.
labs/4-uart/uart/uart.c:41
↓ 17 callersFunctionmatch_line
semantics: match a single line of text: ends with a \r\n
labs/10-esp8266/libesp/esp-parse.c:254
↓ 16 callersFunctionfake_random
labs/3-cross-check/fake-put-get/pi-test.h:6
↓ 16 callersFunctionlex_peek
non-destructively gets the next character in the input stream.
labs/9-esp8266/libesp/esp-lex.c:99
↓ 15 callersFunctioncq_nelem
labs/6-threads/2-threads.new/circular.h:86
↓ 15 callersFunctiondelay_ms
labs/11-fuse/2-fake-pi/unix-side/fake-pi.c:143
↓ 14 callersFunctionlo_data
labs/12-fuse/0-examples/fuse-examples/passthrough_ll.c:131
↓ 14 callersFunctionlo_debug
labs/12-fuse/0-examples/fuse-examples/passthrough_ll.c:149
↓ 13 callersFunctionstrcat
uclibc: Append SRC on the end of DEST. */
libpi/libc/strcat.c:4
↓ 13 callersFunctiontoLocalString
labs/12-fuse/0-examples/fuse-examples/cxxopts.hpp:74
↓ 12 callersFunctionlo_fd
labs/12-fuse/0-examples/fuse-examples/passthrough_ll.c:144
↓ 12 callersFunctionmatch_tok
slightly different semantics: we match prefix (other than blank spaces), but reject if it is a substring of a longer token. for example: "var" would n
labs/10-esp8266/libesp/esp-parse.c:159
↓ 12 callersFunctionput_byte
labs/11-fuse/0-my-install/send-recv.c:6
↓ 11 callersFunctiondev_barrier
libpi-fake/fake-dev-barrier.c:7
↓ 11 callersFunctiondie
send the unix side an error code and reboot.
labs/2-bootloader/pi-side/bootloader.c:46
↓ 11 callersFunctiongpio_set_output
set <pin> to be an output pin. note: fsel0, fsel1, fsel2 are contiguous in memory, so you can use array calculations!
labs/1-gpio/part1-led/gpio.c:45
↓ 11 callersFunctionkmalloc
* Return a memory block of at least size <nbytes> * Notes: * - There is no free, so is trivial: should be just * a few lines of code. * - Th
labs/6-threads/1-kmalloc/kmalloc.c:20
↓ 10 callersFunctionint_init
initialize global interrupt state.
labs/7-interrupts/1-syscall/interrupts-c.c:5
↓ 10 callersFunctionuart_init
labs/11-fuse/2-fake-pi/unix-side/fake-pi.c:139
↓ 10 callersFunctionwrite_cyc_until
write value <v> to GPIO <pin>: return when <ncycles> have passed since time <start>
labs/4-uart/cycle-counter-ex/cycle-util.h:21
↓ 9 callersFunctionat_cmd_extra
labs/10-esp8266/libesp/esp-run.c:247
↓ 9 callersMethodcount
labs/12-fuse/0-examples/fuse-examples/cxxopts.hpp:1041
↓ 9 callersFunctiongpio_set_off
set GPIO <pin> off
labs/1-gpio/part1-led/gpio.c:57
↓ 9 callersFunctionlo_inode
labs/12-fuse/0-examples/fuse-examples/passthrough_ll.c:136
↓ 9 callersFunctiontimer_get_usec
labs/2-bootloader/pi-side/libpi.small/timer.c:11
↓ 8 callersFunctionat_cmd_extra
labs/9-esp8266/libesp/esp-run.c:139
↓ 8 callersFunctiondelay_us
just delay using your laptop methods.
labs/11-fuse/2-fake-pi/unix-side/fake-pi.c:142
↓ 8 callersFunctionget_byte
labs/11-fuse/0-my-install/send-recv.c:13
↓ 8 callersFunctioninteger_parser
labs/12-fuse/0-examples/fuse-examples/cxxopts.hpp:537
↓ 8 callersFunctionkmalloc_init
* One-time initialization, called before kmalloc * to setup heap. * - should be just a few lines of code. * - sets heap pointer to the loca
labs/6-threads/1-kmalloc/kmalloc.c:44
↓ 8 callersFunctionmmu_map_section
create a mapping for <va> to <pa> in the page table <pt> for now: - assume domain = 0. - global mapping - executable - don't use APX - TEX,A,B: for to
labs/15-vm-ops/code/mmu.c:36
↓ 8 callersFunctionopen_tty
attempt to open tty <device>, retries some number of times if fails. otherwise panics.
labs/2-bootloader/unix-side/libunix/open-tty.c:9
↓ 8 callersFunctionprintk
libpi/libc/printk.c:6
↓ 8 callersFunctionset_tty_to_8n1
labs/5-replay/useful-examples/pty-ex.c:23
↓ 8 callersFunctionskip_blank_space
labs/10-esp8266/libesp/esp-parse.c:43
↓ 8 callersMethodvalue
labs/12-fuse/0-examples/fuse-examples/cxxopts.hpp:1088
↓ 7 callersFunctioncq_pop
called from user space.
labs/6-threads/2-threads.new/circular.c:53
↓ 7 callersFunctionemit
libpi/libc/va-printk.c:71
↓ 7 callersFunctionfioc_file_type
labs/12-fuse/0-examples/examples/fioc.c:62
↓ 7 callersFunctionfioc_file_type
labs/12-fuse/0-examples/fuse-examples/ioctl.c:75
↓ 7 callersFunctionget32
labs/11-fuse/2-fake-pi/unix-side/fake-pi.c:123
↓ 7 callersFunctiongpio_write
set <pin> to <v> (v \in {0,1})
labs/1-gpio/part1-led/gpio.c:79
↓ 7 callersFunctionis_attr
labs/13-fat32/1-code/fat32-lfn-helpers.c:7
↓ 7 callersFunctionkmalloc_aligned
address of returned pointer should be a multiple of alignment.
labs/6-threads/1-kmalloc/kmalloc.c:27
↓ 6 callersFunctioncan_read_timeout
cut this out.
labs/10-esp8266/libesp/unix-support.c:66
↓ 6 callersFunctioncmd_echo_line
echo the current line out, printing <msg>
labs/10-esp8266/libesp/esp-run.c:16
↓ 6 callersFunctioncmd_response
labs/10-esp8266/libesp/esp-run.c:146
↓ 6 callersFunctioncq_init
labs/6-threads/2-threads.new/circular.c:18
↓ 6 callersFunctioncq_nelem
libpi/libc/circular.h:62
↓ 6 callersFunctioncq_push_n
labs/6-threads/2-threads.new/circular.c:71
↓ 6 callersFunctionesp_has_data_timeout
labs/10-esp8266/libesp/pi-support.c:20
↓ 6 callersFunctionesp_usleep
sleep for <usec> microseconds.
labs/10-esp8266/libesp/pi-support.c:26
↓ 6 callersFunctionfake_pi_init
libpi-fake/pi-test.c:64
↓ 6 callersFunctionfat32_dirent_free
labs/13-fat32/1-code/fat32-helpers.c:124
↓ 6 callersFunctiongpio_read
return the value of <pin>
labs/1-gpio/part1-led/gpio.c:70
↓ 6 callersFunctiongpio_set_function
libpi-fake/fake-gpio.c:50
↓ 6 callersFunctiongpio_set_input
set <pin> to input.
labs/1-gpio/part1-led/gpio.c:65
↓ 6 callersFunctiongpio_set_on
set GPIO <pin> on.
labs/1-gpio/part1-led/gpio.c:51
↓ 6 callersFunctionlex_empty
labs/10-esp8266/libesp/esp-lex-simple.h:16
↓ 6 callersFunctionmatch_blank_line
if not blank, removes no characters.
labs/10-esp8266/libesp/esp-parse.c:64
↓ 6 callersFunctionmatch_tok
slightly different semantics: we match prefix (other than blank spaces), but reject if it is a substring of a longer token. for example: "var" would n
labs/9-esp8266/libesp/esp-parse.c:200
↓ 6 callersFunctionread_file
read entire file into buffer. return it. zero pads to a multiple of 4. make sure to cleanup!
labs/2-bootloader/unix-side/libunix/read-file.c:12
↓ 6 callersFunctionrpi_fork
create a new thread.
labs/6-threads/2-threads.new/rpi-thread.c:51
↓ 6 callersFunctionskip_blank_space
labs/9-esp8266/libesp/esp-parse.c:45
↓ 6 callersFunctiontimer_get_usec_raw
no dev barrier.
libpi/cs140e-src/timer.c:17
↓ 6 callersFunctionwrite_exact
labs/11-fuse/2-fake-pi/pi-side/pi-vmm.c:35
↓ 5 callersFunctionat_cmd
labs/10-esp8266/libesp/esp-run.c:244
↓ 5 callersFunctioncq_empty
libpi/libc/circular.h:57
↓ 5 callersFunctioncq_push
non-blocking push.
labs/6-threads/2-threads.new/circular.h:100
↓ 5 callersFunctionenable_cache
libpi/cs140e-src/cache.c:3
↓ 5 callersFunctionerror
labs/10-esp8266/examples-unix/client.c:15
↓ 5 callersFunctionerror
labs/10-esp8266/examples-unix/server.c:16
↓ 5 callersFunctionesp_has_data_timeout
labs/9-esp8266/libesp/pi-support.c:20
↓ 5 callersFunctionfat32_is_attr
labs/13-fat32/1-code/fat32.h:297
↓ 5 callersFunctionfd_is_open
libunix/is-fd-open.c:6
↓ 5 callersFunctionfind_ttyusb
find the TTY-usb device (if any) by using <scandir> to search for a device with a prefix given by <ttyusb_prefixes> in /dev returns: - device name. pa
labs/2-bootloader/unix-side/libunix/find-ttyusb.c:28
↓ 5 callersFunctionget_byte
labs/2-bootloader/unix-side/send-recv.c:12
↓ 5 callersFunctiongpio_int_falling_edge
p98: detect falling edge (1->0). sampled using the system clock. similarly to rising edge detection, it suppresses noise by looking for "100" --- i.e
labs/8-device-interrupts/01-test-gpio-int/gpio-int.c:29
↓ 5 callersFunctiongpio_int_rising_edge
p97 set to detect rising edge (0->1) on <pin>. as the broadcom doc states, it detects by sampling based on the clock. it looks for "011" (low, hi, hi
labs/8-device-interrupts/01-test-gpio-int/gpio-int.c:20
↓ 5 callersFunctionis_eol_ch
labs/9-esp8266/libesp/esp-parse.c:33
↓ 5 callersFunctionlex_dump_str
used for debugging: print what we have. helps figure out what when wrong by comparing to what we expected.
labs/9-esp8266/libesp/esp-lex.c:64
↓ 5 callersFunctionlex_nstream
current number of tokens in stream.
labs/10-esp8266/libesp/esp-lex-simple.h:22
↓ 5 callersFunctionlog_ent32_exp
labs/5-replay/code/pretty-print.c:243
↓ 5 callersFunctionlog_ent32_exp
labs/5-replay/code/log-util.c:136
↓ 5 callersFunctionlog_getc
get a single character.
labs/5-replay/code/pretty-print.c:130
↓ 5 callersFunctionlog_is_eol
end of log
labs/5-replay/code/pretty-print.c:126
↓ 5 callersFunctionlog_is_eol
end of log
labs/5-replay/code/log-util.c:49
↓ 5 callersFunctionlog_read_ent
labs/5-replay/code/pretty-print.c:188
↓ 5 callersFunctionlog_readline
labs/5-replay/code/log-util.c:90
next →1–100 of 1,429, ranked by callers