Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PiSCSI/piscsi
/ functions
Functions
1,324 in github.com/PiSCSI/piscsi
⨍
Functions
1,324
◇
Types & classes
164
↳
Endpoints
40
↓ 4 callers
Method
GetDeviceForLun
cpp/controllers/abstract_controller.cpp:55
↓ 4 callers
Method
GetLun
cpp/controllers/abstract_controller.h:94
↓ 4 callers
Method
GetSendDelay
cpp/devices/primary_device.h:49
↓ 4 callers
Method
HasValidLength
TODO These should probably be extracted into a new TransferHandler class
cpp/controllers/abstract_controller.h:101
↓ 4 callers
Method
IsMediumChanged
cpp/devices/storage_device.h:71
↓ 4 callers
Method
IsReset
cpp/devices/device.h:82
↓ 4 callers
Function
OpenTempFile
cpp/test/test_shared.cpp:68
↓ 4 callers
Method
ReceiveHandShake
--------------------------------------------------------------------------- Data reception handshake -----------------------------------------------
cpp/hal/gpiobus.cpp:166
↓ 4 callers
Method
RenameImage
cpp/piscsi/piscsi_image.cpp:199
↓ 4 callers
Method
SetByteTransfer
cpp/controllers/abstract_controller.cpp:36
↓ 4 callers
Method
SetSectorSizeShiftCount
cpp/devices/storage_device.h:62
↓ 4 callers
Method
SetStopped
cpp/devices/device.h:89
↓ 4 callers
Method
Start
cpp/devices/device.cpp:110
↓ 4 callers
Method
Stop
cpp/devices/device.cpp:121
↓ 4 callers
Function
TestSpecialDevice
cpp/test/protobuf_util_test.cpp:19
↓ 4 callers
Method
ValidateFile
cpp/devices/storage_device.cpp:55
↓ 4 callers
Method
attach_device
Takes (int) scsi_id and kwargs containing 0 or more device properties If the current attached device is a removable device wihout me
python/common/src/piscsi/piscsi_cmds.py:310
↓ 4 callers
Function
auth_active
Inspects if the group defined in (str) group exists on the system. If it exists, tell the webapp to enable authentication. Returns a (dic
python/web/src/web_utils.py:246
↓ 4 callers
Function
detach_devices
(http_client)
python/web/tests/api/conftest.py:117
↓ 4 callers
Method
get_device_types
Sends a DEVICE_TYPES_INFO command to the server. Returns a dict with: - (bool) status - (dict) device_types, where ke
python/common/src/piscsi/piscsi_cmds.py:218
↓ 4 callers
Method
get_ip_and_host
Use a mock socket connection to identify the Pi's hostname and IP address
python/common/src/piscsi/sys_cmds.py:144
↓ 4 callers
Method
list_subdirs
Finds subdirs within the (str) directory dir. Returns a (list) of (str) subdir_list.
python/common/src/piscsi/file_cmds.py:59
↓ 4 callers
Method
read_config
Takes (str) file_name Returns (dict) with (bool) status and (str) msg
python/common/src/piscsi/file_cmds.py:659
↓ 4 callers
Function
rename
Renames a specified file in the images dir
python/web/src/web.py:1306
↓ 4 callers
Method
rename_file
Takes: - (Path) file_path for the file to rename - (Path) target_path for the name to rename - optional (bool) ove
python/common/src/piscsi/file_cmds.py:107
↓ 4 callers
Method
reset_timer
Resets the timer and starts from the beginning.
python/ctrlboard/src/menu/timer.py:23
↓ 4 callers
Method
show_id_action_message
Helper method for displaying an action message in the case of an exception.
python/ctrlboard/src/ctrlboard_event_handler/ctrlboard_menu_update_event_handler.py:353
↓ 3 callers
Method
Command
cpp/scsidump/scsidump_core.cpp:200
↓ 3 callers
Method
CommandDevicesInfo
cpp/scsictl/scsictl_commands.cpp:142
↓ 3 callers
Method
DataIn
cpp/scsidump/scsidump_core.cpp:218
↓ 3 callers
Method
DataOut
cpp/scsidump/scsidump_core.cpp:227
↓ 3 callers
Function
DeleteTempFile
TODO Move this code, it is not shared
cpp/test/test_shared.cpp:124
↓ 3 callers
Method
DisplayDeviceTypesInfo
cpp/scsictl/scsictl_display.cpp:126
↓ 3 callers
Method
EnsureLun0
cpp/piscsi/piscsi_executor.cpp:480
↓ 3 callers
Method
GetCD
cpp/hal/gpiobus_virtual.cpp:288
↓ 3 callers
Method
GetFilename
cpp/devices/storage_device.h:34
↓ 3 callers
Method
GetImageFile
cpp/piscsi/piscsi_response.cpp:109
↓ 3 callers
Method
GetInitiatorId
cpp/controllers/scsi_controller.h:67
↓ 3 callers
Method
GetMSG
cpp/hal/gpiobus_virtual.cpp:278
↓ 3 callers
Method
GetRawCapture
cpp/hal/data_sample_raspberry.h:91
↓ 3 callers
Method
GetServerInfo
cpp/piscsi/piscsi_response.cpp:235
↓ 3 callers
Method
GetTargetId
cpp/controllers/abstract_controller.h:56
↓ 3 callers
Method
GetTimestamp
cpp/hal/data_sample.h:40
↓ 3 callers
Method
IsSectorSizeConfigurable
cpp/devices/disk.h:60
↓ 3 callers
Method
PrintCommand
cpp/piscsi/piscsi_executor.cpp:440
↓ 3 callers
Method
PullConfig
--------------------------------------------------------------------------- Pin pull-up/pull-down setting ------------------------------------------
cpp/hal/gpiobus_raspberry.cpp:880
↓ 3 callers
Function
ReadTempFileToString
cpp/test/test_shared.cpp:131
↓ 3 callers
Method
RemoveDevice
cpp/controllers/abstract_controller.cpp:107
↓ 3 callers
Method
Reset
cpp/devices/device.cpp:27
↓ 3 callers
Method
SendHandShake
--------------------------------------------------------------------------- Data transmission handshake --------------------------------------------
cpp/hal/gpiobus.cpp:270
↓ 3 callers
Method
SetConfiguredSectorSize
cpp/devices/disk.cpp:678
↓ 3 callers
Method
SetImagePermissions
cpp/piscsi/piscsi_image.cpp:261
↓ 3 callers
Function
SetInt24
cpp/devices/scsi_command_util.h:56
↓ 3 callers
Method
SetMode
--------------------------------------------------------------------------- Input/output mode setting ----------------------------------------------
cpp/hal/gpiobus_virtual.cpp:438
↓ 3 callers
Method
SetStatus
cpp/controllers/abstract_controller.h:71
↓ 3 callers
Method
SetStatusCode
cpp/devices/device.h:141
↓ 3 callers
Method
SetStoppable
cpp/devices/device.h:88
↓ 3 callers
Function
TestRemovableDrive
cpp/test/device_factory_test.cpp:119
↓ 3 callers
Method
VerifyExistingIdAndLun
cpp/piscsi/piscsi_executor.cpp:499
↓ 3 callers
Method
Write
cpp/devices/disk.cpp:154
↓ 3 callers
Method
WriteByteSequence
cpp/devices/scsi_printer.cpp:168
↓ 3 callers
Function
br_setif
cpp/devices/ctapdriver.cpp:34
↓ 3 callers
Method
check_button_press
Checks whether the button state has changed.
python/ctrlboard/src/ctrlboard_hw/ctrlboard_hw.py:128
↓ 3 callers
Method
check_timer
Checks the timer whether it has reached the activation delay.
python/ctrlboard/src/menu/timer.py:15
↓ 3 callers
Function
create_http_client
(pytestconfig)
python/web/tests/conftest.py:48
↓ 3 callers
Method
detach_all
Sends a DETACH_ALL command to the server. Returns (bool) status and (str) msg.
python/common/src/piscsi/piscsi_cmds.py:398
↓ 3 callers
Method
detach_by_id
Takes (int) scsi_id and optional (int) unit. Sends a DETACH command to the server. Returns (bool) status and (str) msg.
python/common/src/piscsi/piscsi_cmds.py:376
↓ 3 callers
Function
get_device_name
Takes a four letter device acronym (str) device_type. Returns the human-readable name for the device type.
python/web/src/web_utils.py:92
↓ 3 callers
Function
get_env_info
Get information about the app/host environment
python/web/src/web.py:100
↓ 3 callers
Function
get_properties_by_drive_name
Takes (list) of (dict) drives, and (str) drive_name Returns (dict) with the collection of drive properties that matches drive_name
python/web/src/web_utils.py:224
↓ 3 callers
Method
get_removable_device_types
Returns a (list) of (str) of four letter device acronyms that are of the removable type.
python/common/src/piscsi/piscsi_cmds.py:247
↓ 3 callers
Function
ip_link
cpp/devices/ctapdriver.cpp:51
↓ 3 callers
Method
list_config_files
Finds files with file ending CONFIG_FILE_SUFFIX in CFG_DIR. Returns a (list) of (str) files_list
python/common/src/piscsi/file_cmds.py:46
↓ 3 callers
Method
list_images
Sends a IMAGE_FILES_INFO command to the server Returns a (dict) with (bool) status, (str) msg, and (list) of (dict)s files
python/common/src/piscsi/piscsi_cmds.py:38
↓ 3 callers
Method
read_drive_properties
Reads drive properties from json formatted file. Takes (Path) file_path as argument. Returns (dict) with (bool) status, (str)
python/common/src/piscsi/file_cmds.py:759
↓ 3 callers
Method
reboot_system
Sends a reboot command to the system
python/common/src/piscsi/sys_cmds.py:249
↓ 3 callers
Method
reserve_scsi_ids
Sends the RESERVE_IDS command to the server to reserve SCSI IDs. Takes a (list) of (str) as argument.
python/common/src/piscsi/piscsi_cmds.py:517
↓ 3 callers
Method
rewind
cpp/devices/scsi_streamer.cpp:31
↓ 3 callers
Method
set_active_menu
Activates a menu from the controller internal menu collection by name.
python/ctrlboard/src/menu/menu_controller.py:57
↓ 3 callers
Method
update
Abstract method for updating an observer. Needs to be implemented by subclasses.
python/ctrlboard/src/observer.py:11
↓ 3 callers
Method
update_display_image
Method displays an image using PIL.
python/ctrlboard/src/menu/menu_renderer.py:61
↓ 3 callers
Method
write_drive_properties
Writes a drive property configuration file to the config dir. Takes file name base (str) and (list of dicts) conf as arguments
python/common/src/piscsi/file_cmds.py:731
↓ 2 callers
Method
AddVendorPage
Offset description 02h format mode 03h type of format (0) 04~07h size of user band (total sectors?) 08~09h size of spare band (spare sectors?)
cpp/devices/scsimo.cpp:121
↓ 2 callers
Method
CleanUp
cpp/devices/disk.cpp:58
↓ 2 callers
Method
Cleanup
cpp/scsimon/sm_core.cpp:123
↓ 2 callers
Method
CreateDevice
cpp/piscsi/piscsi_executor.cpp:512
↓ 2 callers
Method
Debug
cpp/devices/device_logger.cpp:20
↓ 2 callers
Method
DeleteController
cpp/controllers/controller_manager.cpp:46
↓ 2 callers
Method
DetachAll
cpp/piscsi/piscsi_executor.cpp:358
↓ 2 callers
Method
DiscardReservation
cpp/devices/primary_device.cpp:320
↓ 2 callers
Function
DiskTest_ValidateCachePage
cpp/test/disk_test.cpp:622
↓ 2 callers
Function
DiskTest_ValidateDrivePage
cpp/test/disk_test.cpp:613
↓ 2 callers
Function
DiskTest_ValidateFormatPage
cpp/test/disk_test.cpp:600
↓ 2 callers
Method
DisplayDevicesInfo
cpp/scsictl/scsictl_display.cpp:24
↓ 2 callers
Method
DisplayStatisticsInfo
cpp/scsictl/scsictl_display.cpp:234
↓ 2 callers
Method
GetBytesToTransfer
cpp/controllers/abstract_controller.h:86
↓ 2 callers
Method
GetConfiguredSectorSize
cpp/devices/storage_device.cpp:184
↓ 2 callers
Method
GetDeviceTypesInfo
cpp/piscsi/piscsi_response.cpp:61
↓ 2 callers
Method
GetDevices
cpp/controllers/abstract_controller.cpp:45
↓ 2 callers
Method
GetDevices
cpp/piscsi/piscsi_response.cpp:194
← previous
next →
201–300 of 1,324, ranked by callers