libhd  5.0
Functions
Internal utilities

Internal utility functions. More...

Functions

static void int_hotplug (hd_data_t *hd_data)
 
static void int_cdrom (hd_data_t *hd_data)
 
static void int_media_check (hd_data_t *hd_data)
 
static int contains_word (char *str, char *str2)
 
static int is_zip (hd_t *hd)
 
static void int_floppy (hd_data_t *hd_data)
 
static void int_fix_usb_scsi (hd_data_t *hd_data)
 
static void int_mouse (hd_data_t *hd_data)
 
static void new_id (hd_data_t *hd_data, hd_t *hd)
 
static void int_modem (hd_data_t *hd_data)
 
static void int_wlan (hd_data_t *hd_data)
 
static void int_udev (hd_data_t *hd_data)
 
static void int_devicenames (hd_data_t *hd_data)
 
static void int_find_parent (hd_data_t *hd_data)
 
static void int_add_driver_modules (hd_data_t *hd_data)
 
static void int_update_driver_data (hd_data_t *hd_data, hd_t *hd)
 
void hd_scan_int (hd_data_t *hd_data)
 
void hd_add_driver_data (hd_data_t *hd_data, hd_t *hd)
 

Detailed Description

Internal utility functions.

Function Documentation

int contains_word ( char *  str,
char *  str2 
)
static

References free_mem(), and new_str().

Referenced by is_zip().

void hd_add_driver_data ( hd_data_t hd_data,
hd_t hd 
)
void hd_scan_int ( hd_data_t hd_data)
void int_add_driver_modules ( hd_data_t hd_data)
static
void int_cdrom ( hd_data_t hd_data)
static
void int_devicenames ( hd_data_t hd_data)
static

References ADD2LOG, add_res_entry(), s_str_list_t::add_str_list(), u_hd_smbios_t::any, hd_status_t::available, s_hd_t::base_class, bc_internal, bc_storage_device, smbios_chassis_t::ch_type, u_hd_smbios_t::chassis, s_hd_t::compat_device, s_hd_t::compat_vendor, edd_info_t::cyls, res_disk_geo_t::cyls, hd_detail_sys_t::data, s_hd_t::detail, s_hd_t::device, u_hd_res_t::disk_geo, s_sysfsdrv_t::driver, edd_info_t::edd, hd_data_t::edd, hd_data_t::flag_struct::fast, hd_data_t::flags, s_str_list_t::free_str_list(), geo_bios_edd, geo_bios_legacy, res_disk_geo_t::geotype, hd_data_t::hd, hd_detail_sys, edd_info_t::heads, res_disk_geo_t::heads, hd_id_t::id, s_hd_t::is, edd_info_t::legacy, MAKE_ID, smbios_sysinfo_t::manuf, u_hd_smbios_t::mouse, smbios_mouse_t::mtype, hd_id_t::name, new_mem(), new_str(), s_str_list_t::next, u_hd_smbios_t::next, s_sysfsdrv_t::next, s_hd_t::next, smbios_sysinfo_t::product, read_file(), s_hd_t::res, res_disk_geo, s_hd_t::rom_id, sc_int_sys, sc_sdev_disk, s_str_list_t::search_str_list(), edd_info_t::sectors, res_disk_geo_t::sectors, res_disk_geo_t::size, sm_chassis, sm_mouse, sm_sysinfo, hd_data_t::smbios, s_hd_t::is_s::softraiddisk, s_hd_t::status, status_no, s_str_list_t::str, str_printf(), s_hd_t::sub_class, hd_detail_t::sys, s_hd_t::sysfs_id, hd_data_t::sysfsdrv, u_hd_smbios_t::sysinfo, TAG_SPECIAL, smbios_any_t::type, res_disk_geo_t::type, hd_detail_t::type, s_hd_t::unix_dev_name, s_hd_t::unix_dev_names, vendor, sys_info_t::vendor, s_hd_t::vendor, and s_hd_t::is_s::with_acpi.

Referenced by hd_scan_int().

void int_find_parent ( hd_data_t hd_data)
static
void int_fix_usb_scsi ( hd_data_t hd_data)
static
void int_floppy ( hd_data_t hd_data)
static
void int_hotplug ( hd_data_t hd_data)
static
void int_media_check ( hd_data_t hd_data)
static
void int_modem ( hd_data_t hd_data)
static
void int_mouse ( hd_data_t hd_data)
static
void int_udev ( hd_data_t hd_data)
static
void int_update_driver_data ( hd_data_t hd_data,
hd_t hd 
)
static
void int_wlan ( hd_data_t hd_data)
static
int is_zip ( hd_t hd)
static
void new_id ( hd_data_t hd_data,
hd_t hd 
)
static