/openbmc/qemu/include/qemu/ |
H A D | stats64.h | 32 static inline void stat64_init(Stat64 *s, uint64_t value) in stat64_init() 38 static inline uint64_t stat64_get(const Stat64 *s) in stat64_get() 43 static inline void stat64_set(Stat64 *s, uint64_t value) in stat64_set() 48 static inline void stat64_add(Stat64 *s, uint64_t value) in stat64_add() 53 static inline void stat64_min(Stat64 *s, uint64_t value) in stat64_min() 61 static inline void stat64_max(Stat64 *s, uint64_t value) in stat64_max() 75 static inline void stat64_init(Stat64 *s, uint64_t value) in stat64_init() 81 static inline void stat64_add(Stat64 *s, uint64_t value) in stat64_add() 117 static inline void stat64_min(Stat64 *s, uint64_t value) in stat64_min() 157 static inline void stat64_max(Stat64 *s, uint64_t value) in stat64_max()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-m-nocp.c | 35 static bool trans_VLLDM_VLSTM(DisasContext *s, arg_VLLDM_VLSTM *a) in trans_VLLDM_VLSTM() 103 static bool trans_VSCCLRM(DisasContext *s, arg_VSCCLRM *a) in trans_VSCCLRM() 231 static FPSysRegCheckResult fp_sysreg_checks(DisasContext *s, int regno) in fp_sysreg_checks() 277 static void gen_branch_fpInactive(DisasContext *s, TCGCond cond, in gen_branch_fpInactive() 305 static bool gen_M_fp_sysreg_write(DisasContext *s, int regno, in gen_M_fp_sysreg_write() 428 static bool gen_M_fp_sysreg_read(DisasContext *s, int regno, in gen_M_fp_sysreg_read() 573 static void fp_sysreg_to_gpr(DisasContext *s, void *opaque, TCGv_i32 value, in fp_sysreg_to_gpr() 590 static TCGv_i32 gpr_to_fp_sysreg(DisasContext *s, void *opaque, bool do_access) in gpr_to_fp_sysreg() 600 static bool trans_VMSR_VMRS(DisasContext *s, arg_VMSR_VMRS *a) in trans_VMSR_VMRS() 625 static void fp_sysreg_to_memory(DisasContext *s, void *opaque, TCGv_i32 value, in fp_sysreg_to_memory() [all …]
|
/openbmc/phosphor-fan-presence/presence/ |
H A D | anyof.cpp | 37 const std::vector<std::reference_wrapper<PresenceSensor>>& s, in AnyOf() 66 std::find_if(state.begin(), state.end(), [&sensor](const auto& s) { in stateChanged() 73 [](const auto& s) { return std::get<presentPos>(s); }); in stateChanged() 79 [](const auto& s) { return std::get<presentPos>(s); }); in stateChanged() 100 std::for_each(state.begin(), state.end(), [](auto& s) { in stateChanged() 114 for (auto& s : state) in monitor() local 120 auto present = std::any_of(state.begin(), state.end(), [](const auto& s) { in monitor() 143 [this](const auto& s) { in checkSensorConflicts() 147 [this](const auto& s) { return std::get<presentPos>(s); })) in checkSensorConflicts()
|
/openbmc/qemu/hw/timer/ |
H A D | nrf51_timer.c | 28 static uint32_t ns_to_ticks(NRF51TimerState *s, int64_t ns) in ns_to_ticks() 35 static int64_t ticks_to_ns(NRF51TimerState *s, uint32_t ticks) in ticks_to_ns() 43 static uint32_t update_counter(NRF51TimerState *s, int64_t now) in update_counter() 58 static void rearm_timer(NRF51TimerState *s, int64_t now) in rearm_timer() 87 static void update_irq(NRF51TimerState *s) in update_irq() 100 NRF51TimerState *s = NRF51_TIMER(opaque); in timer_expire() local 142 static void counter_compare(NRF51TimerState *s) in counter_compare() 160 NRF51TimerState *s = NRF51_TIMER(opaque); in nrf51_timer_read() local 202 NRF51TimerState *s = NRF51_TIMER(opaque); in nrf51_timer_write() local 319 NRF51TimerState *s = NRF51_TIMER(obj); in nrf51_timer_init() local [all …]
|
H A D | exynos4210_mct.c | 366 static void exynos4210_gfrc_set_count(Exynos4210MCTGT *s, uint64_t count) in exynos4210_gfrc_set_count() 376 static uint64_t exynos4210_gfrc_get_count(Exynos4210MCTGT *s) in exynos4210_gfrc_get_count() 388 static void exynos4210_gfrc_stop(Exynos4210MCTGT *s) in exynos4210_gfrc_stop() 399 static void exynos4210_gfrc_start(Exynos4210MCTGT *s) in exynos4210_gfrc_start() 410 static void exynos4210_gfrc_tx_begin(Exynos4210MCTGT *s) in exynos4210_gfrc_tx_begin() 416 static void exynos4210_gfrc_tx_commit(Exynos4210MCTGT *s) in exynos4210_gfrc_tx_commit() 425 static int32_t exynos4210_gcomp_find(Exynos4210MCTState *s) in exynos4210_gcomp_find() 498 static uint64_t exynos4210_gcomp_get_distance(Exynos4210MCTState *s, int32_t id) in exynos4210_gcomp_get_distance() 515 static void exynos4210_gfrc_restart(Exynos4210MCTState *s) in exynos4210_gfrc_restart() 538 Exynos4210MCTGT *s = opaque; in exynos4210_gcomp_raise_irq() local [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | fw_cfg-test.c | 29 QTestState *s; in test_fw_cfg_signature() local 46 QTestState *s; in test_fw_cfg_id() local 62 QTestState *s; in test_fw_cfg_uuid() local 84 QTestState *s; in test_fw_cfg_ram_size() local 98 QTestState *s; in test_fw_cfg_nographic() local 112 QTestState *s; in test_fw_cfg_nb_cpus() local 126 QTestState *s; in test_fw_cfg_max_cpus() local 139 QTestState *s; in test_fw_cfg_numa() local 168 QTestState *s; in test_fw_cfg_boot_menu() local 181 QTestState *s; in test_fw_cfg_reboot_timeout() local [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | xlnx-zynqmp-apu-ctrl.c | 30 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(opaque); in update_wfi_out() local 41 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(reg->opaque); in zynqmp_apu_rvbar_post_write() local 56 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(reg->opaque); in zynqmp_apu_pwrctl_post_write() local 71 static void imr_update_irq(XlnxZynqMPAPUCtrl *s) in imr_update_irq() 79 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(reg->opaque); in isr_postw() local 85 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(reg->opaque); in ien_prew() local 95 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(reg->opaque); in ids_prew() local 142 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(obj); in zynqmp_apu_reset_enter() local 155 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(obj); in zynqmp_apu_reset_hold() local 173 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(opaque); in zynqmp_apu_handle_wfi() local [all …]
|
H A D | nrf51_rng.c | 23 static void update_irq(NRF51RNGState *s) in update_irq() 31 NRF51RNGState *s = NRF51_RNG(opaque); in rng_read() local 62 static int64_t calc_next_timeout(NRF51RNGState *s) in calc_next_timeout() 75 static void rng_update_timer(NRF51RNGState *s) in rng_update_timer() 88 NRF51RNGState *s = NRF51_RNG(opaque); in rng_write() local 150 NRF51RNGState *s = NRF51_RNG(opaque); in nrf51_rng_timer_expire() local 167 NRF51RNGState *s = NRF51_RNG(opaque); in nrf51_rng_tep_start() local 177 NRF51RNGState *s = NRF51_RNG(opaque); in nrf51_rng_tep_stop() local 188 NRF51RNGState *s = NRF51_RNG(obj); in nrf51_rng_init() local 209 NRF51RNGState *s = NRF51_RNG(dev); in nrf51_rng_reset() local
|
/openbmc/qemu/hw/misc/macio/ |
H A D | cuda.c | 68 static uint64_t cuda_get_counter_value(MOS6522State *s, MOS6522Timer *ti) in cuda_get_counter_value() 81 static uint64_t cuda_get_load_time(MOS6522State *s, MOS6522Timer *ti) in cuda_get_load_time() 93 CUDAState *s = opaque; in cuda_set_sr_int() local 101 static void cuda_delay_set_sr_int(CUDAState *s) in cuda_delay_set_sr_int() 112 static void cuda_update(CUDAState *s) in cuda_update() 186 static void cuda_send_packet_to_host(CUDAState *s, in cuda_send_packet_to_host() 205 CUDAState *s = opaque; in cuda_adb_poll() local 227 static bool cuda_cmd_autopoll(CUDAState *s, in cuda_cmd_autopoll() 244 static bool cuda_cmd_set_autorate(CUDAState *s, in cuda_cmd_set_autorate() 264 static bool cuda_cmd_set_device_list(CUDAState *s, in cuda_cmd_set_device_list() [all …]
|
/openbmc/linux/drivers/comedi/ |
H A D | comedi_buf.c | 53 struct comedi_subdevice *s) in __comedi_buf_free() 140 struct comedi_subdevice *s, in __comedi_buf_alloc() 228 comedi_buf_map_from_subdev_get(struct comedi_subdevice *s) in comedi_buf_map_from_subdev_get() 249 bool comedi_buf_is_mmapped(struct comedi_subdevice *s) in comedi_buf_is_mmapped() 256 int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s, in comedi_buf_alloc() 290 void comedi_buf_reset(struct comedi_subdevice *s) in comedi_buf_reset() 312 static unsigned int comedi_buf_write_n_unalloc(struct comedi_subdevice *s) in comedi_buf_write_n_unalloc() 320 unsigned int comedi_buf_write_n_available(struct comedi_subdevice *s) in comedi_buf_write_n_available() 339 unsigned int comedi_buf_write_alloc(struct comedi_subdevice *s, in comedi_buf_write_alloc() 364 static unsigned int comedi_buf_munge(struct comedi_subdevice *s, in comedi_buf_munge() [all …]
|
/openbmc/linux/drivers/pcmcia/ |
H A D | pcmcia_resource.c | 37 int pcmcia_validate_mem(struct pcmcia_socket *s) in pcmcia_validate_mem() 46 int low, struct pcmcia_socket *s) in pcmcia_find_mem_region() 60 static void release_io_space(struct pcmcia_socket *s, struct resource *res) in release_io_space() 96 static int alloc_io_space(struct pcmcia_socket *s, struct resource *res, in alloc_io_space() 155 static int pcmcia_access_config(struct pcmcia_device *p_dev, in pcmcia_access_config() 161 struct pcmcia_socket *s; in pcmcia_access_config() local 226 struct pcmcia_socket *s = p_dev->socket; in pcmcia_map_mem_page() local 255 struct pcmcia_socket *s = p_dev->socket; in pcmcia_fixup_iowidth() local 305 struct pcmcia_socket *s = p_dev->socket; in pcmcia_fixup_vpp() local 349 struct pcmcia_socket *s = p_dev->socket; in pcmcia_release_configuration() local [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | i8259.c | 63 static int get_priority(PICCommonState *s, int mask) in get_priority() 78 static int pic_get_irq(PICCommonState *s) in pic_get_irq() 107 static void pic_update_irq(PICCommonState *s) in pic_update_irq() 123 PICCommonState *s = opaque; in pic_set_irq() local 160 static void pic_intack(PICCommonState *s, int irq) in pic_intack() 176 int pic_read_irq(PICCommonState *s) in pic_read_irq() 216 static void pic_init_reset(PICCommonState *s) in pic_init_reset() 224 PICCommonState *s = PIC_COMMON(dev); in pic_reset() local 234 PICCommonState *s = opaque; in pic_ioport_write() local 327 PICCommonState *s = opaque; in pic_ioport_read() local [all …]
|
/openbmc/linux/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-debug.c | 35 static void bdisp_dbg_dump_ins(struct seq_file *s, u32 val) in bdisp_dbg_dump_ins() 110 static void bdisp_dbg_dump_tty(struct seq_file *s, u32 val) in bdisp_dbg_dump_tty() 159 static void bdisp_dbg_dump_xy(struct seq_file *s, u32 val, char *name) in bdisp_dbg_dump_xy() 165 static void bdisp_dbg_dump_sz(struct seq_file *s, u32 val, char *name) in bdisp_dbg_dump_sz() 171 static void bdisp_dbg_dump_sty(struct seq_file *s, in bdisp_dbg_dump_sty() 236 static void bdisp_dbg_dump_fctl(struct seq_file *s, u32 val) in bdisp_dbg_dump_fctl() 253 static void bdisp_dbg_dump_rsf(struct seq_file *s, u32 val, char *name) in bdisp_dbg_dump_rsf() 272 static void bdisp_dbg_dump_rzi(struct seq_file *s, u32 val, char *name) in bdisp_dbg_dump_rzi() 287 static void bdisp_dbg_dump_ivmx(struct seq_file *s, in bdisp_dbg_dump_ivmx() 318 static int last_nodes_show(struct seq_file *s, void *data) in last_nodes_show() [all …]
|
/openbmc/qemu/hw/rtc/ |
H A D | goldfish_rtc.c | 46 static void goldfish_rtc_update(GoldfishRTCState *s) in goldfish_rtc_update() 53 GoldfishRTCState *s = (GoldfishRTCState *)opaque; in goldfish_rtc_interrupt() local 60 static uint64_t goldfish_rtc_get_count(GoldfishRTCState *s) in goldfish_rtc_get_count() 65 static void goldfish_rtc_clear_alarm(GoldfishRTCState *s) in goldfish_rtc_clear_alarm() 71 static void goldfish_rtc_set_alarm(GoldfishRTCState *s) in goldfish_rtc_set_alarm() 94 GoldfishRTCState *s = opaque; in goldfish_rtc_read() local 140 GoldfishRTCState *s = opaque; in goldfish_rtc_write() local 184 GoldfishRTCState *s = opaque; in goldfish_rtc_pre_save() local 204 GoldfishRTCState *s = opaque; in goldfish_rtc_post_load() local 258 GoldfishRTCState *s = GOLDFISH_RTC(dev); in goldfish_rtc_reset() local [all …]
|
/openbmc/qemu/hw/i3c/ |
H A D | mock-target.c | 56 MockTargetState *s = MOCK_TARGET(i3c); in mock_target_rx() local 77 static void mock_target_ibi_timer_start(MockTargetState *s) in mock_target_ibi_timer_start() 86 MockTargetState *s = MOCK_TARGET(i3c); in mock_target_tx() local 113 MockTargetState *s = MOCK_TARGET(i3c); in mock_target_event() local 129 MockTargetState *s = MOCK_TARGET(i3c); in mock_target_handle_ccc_read() local 191 MockTargetState *s = MOCK_TARGET(i3c); in mock_target_handle_ccc_write() local 229 static void mock_target_do_ibi(MockTargetState *s) in mock_target_do_ibi() 246 MockTargetState *s = MOCK_TARGET(opaque); in mock_target_timer_elapsed() local 253 MockTargetState *s = MOCK_TARGET(i3c); in mock_target_reset() local 259 MockTargetState *s = MOCK_TARGET(dev); in mock_target_realize() local [all …]
|
/openbmc/qemu/hw/display/ |
H A D | macfb.c | 123 static inline uint8_t macfb_read_byte(MacfbState *s, uint32_t addr) in macfb_read_byte() 129 static void macfb_draw_line1(MacfbState *s, uint8_t *d, uint32_t addr, in macfb_draw_line1() 149 static void macfb_draw_line2(MacfbState *s, uint8_t *d, uint32_t addr, in macfb_draw_line2() 169 static void macfb_draw_line4(MacfbState *s, uint8_t *d, uint32_t addr, in macfb_draw_line4() 189 static void macfb_draw_line8(MacfbState *s, uint8_t *d, uint32_t addr, in macfb_draw_line8() 207 static void macfb_draw_line16(MacfbState *s, uint8_t *d, uint32_t addr, in macfb_draw_line16() 227 static void macfb_draw_line24(MacfbState *s, uint8_t *d, uint32_t addr, in macfb_draw_line24() 265 static int macfb_check_dirty(MacfbState *s, DirtyBitmapSnapshot *snap, in macfb_check_dirty() 271 static void macfb_draw_graphic(MacfbState *s) in macfb_draw_graphic() 338 MacfbState *s = opaque; in macfb_invalidate_display() local [all …]
|
/openbmc/linux/lib/ |
H A D | seq_buf.c | 28 static bool seq_buf_can_fit(struct seq_buf *s, size_t len) in seq_buf_can_fit() 40 int seq_buf_print_seq(struct seq_file *m, struct seq_buf *s) in seq_buf_print_seq() 57 int seq_buf_vprintf(struct seq_buf *s, const char *fmt, va_list args) in seq_buf_vprintf() 83 int seq_buf_printf(struct seq_buf *s, const char *fmt, ...) in seq_buf_printf() 105 void seq_buf_do_printk(struct seq_buf *s, const char *lvl) in seq_buf_do_printk() 144 int seq_buf_bprintf(struct seq_buf *s, const char *fmt, const u32 *binary) in seq_buf_bprintf() 172 int seq_buf_puts(struct seq_buf *s, const char *str) in seq_buf_puts() 200 int seq_buf_putc(struct seq_buf *s, unsigned char c) in seq_buf_putc() 224 int seq_buf_putmem(struct seq_buf *s, const void *mem, unsigned int len) in seq_buf_putmem() 252 int seq_buf_putmem_hex(struct seq_buf *s, const void *mem, [all …]
|
/openbmc/qemu/hw/char/ |
H A D | escc.c | 77 #define CHN_C(s) ((s)->chn == escc_chn_b ? 'b' : 'a') argument 200 static int reg_shift(ESCCState *s) in reg_shift() 205 static int chn_shift(ESCCState *s) in chn_shift() 212 ESCCChannelState *s = opaque; in clear_queue() local 219 ESCCChannelState *s = opaque; in put_queue() local 236 ESCCChannelState *s = opaque; in get_queue() local 256 static int escc_update_irq_chn(ESCCChannelState *s) in escc_update_irq_chn() 272 static void escc_update_irq(ESCCChannelState *s) in escc_update_irq() 283 static void escc_reset_chn(ESCCChannelState *s) in escc_reset_chn() 294 static void escc_soft_reset_chn(ESCCChannelState *s) in escc_soft_reset_chn() [all …]
|
/openbmc/qemu/hw/nvram/ |
H A D | fw_cfg.c | 181 static void fw_cfg_bootsplash(FWCfgState *s) in fw_cfg_bootsplash() 234 static void fw_cfg_reboot(FWCfgState *s) in fw_cfg_reboot() 254 static void fw_cfg_write(FWCfgState *s, uint8_t value) in fw_cfg_write() 259 static inline uint16_t fw_cfg_file_slots(const FWCfgState *s) in fw_cfg_file_slots() 265 static inline uint32_t fw_cfg_max_entry(const FWCfgState *s) in fw_cfg_max_entry() 270 static int fw_cfg_select(FWCfgState *s, uint16_t key) in fw_cfg_select() 296 FWCfgState *s = opaque; in fw_cfg_data_read() local 327 FWCfgState *s = opaque; in fw_cfg_data_mem_write() local 335 static void fw_cfg_dma_transfer(FWCfgState *s) in fw_cfg_dma_transfer() 452 FWCfgState *s = opaque; in fw_cfg_dma_mem_write() local [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | xlnx-versal.c | 36 static void versal_create_apu_cpus(Versal *s) in versal_create_apu_cpus() 67 static void versal_create_apu_gic(Versal *s, qemu_irq *pic) in versal_create_apu_gic() 140 static void versal_create_rpu_cpus(Versal *s) in versal_create_rpu_cpus() 169 static void versal_create_uarts(Versal *s, qemu_irq *pic) in versal_create_uarts() 194 static void versal_create_canfds(Versal *s, qemu_irq *pic) in versal_create_canfds() 226 static void versal_create_usbs(Versal *s, qemu_irq *pic) in versal_create_usbs() 251 static void versal_create_gems(Versal *s, qemu_irq *pic) in versal_create_gems() 291 static void versal_create_admas(Versal *s, qemu_irq *pic) in versal_create_admas() 318 static void versal_create_sds(Versal *s, qemu_irq *pic) in versal_create_sds() 346 static void versal_create_pmc_apb_irq_orgate(Versal *s, qemu_irq *pic) in versal_create_pmc_apb_irq_orgate() [all …]
|
/openbmc/u-boot/lib/zlib/ |
H A D | deflate.c | 164 #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) argument 178 #define INSERT_STRING(s, str, match_head) \ argument 183 #define INSERT_STRING(s, str, match_head) \ argument 193 #define CLEAR_HASH(s) \ argument 221 deflate_state *s; local 316 deflate_state *s; local 356 deflate_state *s; local 417 deflate_state *s; local 458 deflate_state *s; local 490 deflate_state *s; local [all …]
|
/openbmc/qemu/migration/ |
H A D | migration.c | 112 static void migration_downtime_start(MigrationState *s) in migration_downtime_start() 118 static void migration_downtime_end(MigrationState *s) in migration_downtime_end() 216 static int migration_stop_vm(MigrationState *s, RunState state) in migration_stop_vm() 279 MigrationState *s = migrate_get_current(); in migration_bh_dispatch_bh() local 295 MigrationState *s = migrate_get_current(); in migration_bh_schedule() local 789 MigrationState *s = migrate_get_current(); in process_incoming_migration_co() local 1118 MigrationState *s = current_migration; in migration_is_running() local 1142 static bool migrate_show_downtime(MigrationState *s) in migrate_show_downtime() 1147 static void populate_time_info(MigrationInfo *info, MigrationState *s) in populate_time_info() 1171 static void populate_ram_info(MigrationInfo *info, MigrationState *s) in populate_ram_info() [all …]
|
/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx18-queue.c | 43 struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, in _cx18_enqueue() 73 struct cx18_mdl *cx18_dequeue(struct cx18_stream *s, struct cx18_queue *q) in cx18_dequeue() 89 static void _cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, in _cx18_mdl_update_bufs_for_cpu() 109 static inline void cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, in cx18_mdl_update_bufs_for_cpu() 125 struct cx18_mdl *cx18_queue_get_mdl(struct cx18_stream *s, u32 id, in cx18_queue_get_mdl() 195 static void cx18_queue_flush(struct cx18_stream *s, in cx18_queue_flush() 221 void cx18_flush_queues(struct cx18_stream *s) in cx18_flush_queues() 231 void cx18_unload_queues(struct cx18_stream *s) in cx18_unload_queues() 262 void cx18_load_queues(struct cx18_stream *s) in cx18_load_queues() 320 void _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl) in _cx18_mdl_sync_for_device() [all …]
|
/openbmc/qemu/block/ |
H A D | nbd.c | 115 BDRVNBDState *s = (BDRVNBDState *)bs->opaque; in nbd_clear_bdrvstate() local 151 static void coroutine_fn nbd_recv_coroutines_wake(BDRVNBDState *s) in nbd_recv_coroutines_wake() 164 static void coroutine_fn nbd_channel_error_locked(BDRVNBDState *s, int ret) in nbd_channel_error_locked() 180 static void coroutine_fn nbd_channel_error(BDRVNBDState *s, int ret) in nbd_channel_error() 186 static void reconnect_delay_timer_del(BDRVNBDState *s) in reconnect_delay_timer_del() 196 BDRVNBDState *s = opaque; in reconnect_delay_timer_cb() local 208 static void reconnect_delay_timer_init(BDRVNBDState *s, uint64_t expire_time_ns) in reconnect_delay_timer_init() 220 BDRVNBDState *s = (BDRVNBDState *)bs->opaque; in nbd_teardown_connection() local 237 static void open_timer_del(BDRVNBDState *s) in open_timer_del() 247 BDRVNBDState *s = opaque; in open_timer_cb() local [all …]
|
/openbmc/linux/security/selinux/ss/ |
H A D | sidtab.c | 34 int sidtab_init(struct sidtab *s) in sidtab_init() 59 static u32 context_to_sid(struct sidtab *s, struct context *context, u32 hash) in context_to_sid() 77 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context) in sidtab_set_initial() 160 static int sidtab_alloc_roots(struct sidtab *s, u32 level) in sidtab_alloc_roots() 181 static struct sidtab_entry *sidtab_do_lookup(struct sidtab *s, u32 index, in sidtab_do_lookup() 222 static struct sidtab_entry *sidtab_lookup(struct sidtab *s, u32 index) in sidtab_lookup() 233 static struct sidtab_entry *sidtab_lookup_initial(struct sidtab *s, u32 sid) in sidtab_lookup_initial() 238 static struct sidtab_entry *sidtab_search_core(struct sidtab *s, u32 sid, in sidtab_search_core() 255 struct sidtab_entry *sidtab_search_entry(struct sidtab *s, u32 sid) in sidtab_search_entry() 260 struct sidtab_entry *sidtab_search_entry_force(struct sidtab *s, u32 sid) in sidtab_search_entry_force() [all …]
|