Home
last modified time | relevance | path

Searched refs:sn (Results 1 – 25 of 188) sorted by relevance

12345678

/openbmc/qemu/block/
H A Dqcow2-snapshot.c89 QCowSnapshot *sn; in qcow2_do_read_snapshots() local
274 QCowSnapshot *sn; in qcow2_write_snapshots() local
580 QCowSnapshot *sn; in find_new_snapshot_id() local
655 memset(sn, 0, sizeof(*sn)); in qcow2_snapshot_create()
753 g_free(sn->name); in qcow2_snapshot_create()
781 ret = qcow2_validate_table(bs, sn->l1_table_offset, sn->l1_size, in qcow2_snapshot_goto()
915 QCowSnapshot sn; in qcow2_snapshot_delete() local
930 ret = qcow2_validate_table(bs, sn.l1_table_offset, sn.l1_size, in qcow2_snapshot_delete()
955 g_free(sn.name); in qcow2_snapshot_delete()
967 qcow2_free_clusters(bs, sn.l1_table_offset, sn.l1_size * L1E_SIZE, in qcow2_snapshot_delete()
[all …]
H A Dsnapshot.c56 QEMUSnapshotInfo *sn_tab, *sn; in bdrv_snapshot_find() local
67 sn = &sn_tab[i]; in bdrv_snapshot_find()
69 *sn_info = *sn; in bdrv_snapshot_find()
121 sn = &sn_tab[i]; in bdrv_snapshot_find_by_id_and_name()
122 if (!strcmp(sn->id_str, id) && !strcmp(sn->name, name)) { in bdrv_snapshot_find_by_id_and_name()
123 *sn_info = *sn; in bdrv_snapshot_find_by_id_and_name()
130 sn = &sn_tab[i]; in bdrv_snapshot_find_by_id_and_name()
132 *sn_info = *sn; in bdrv_snapshot_find_by_id_and_name()
139 sn = &sn_tab[i]; in bdrv_snapshot_find_by_id_and_name()
141 *sn_info = *sn; in bdrv_snapshot_find_by_id_and_name()
[all …]
/openbmc/linux/arch/mips/math-emu/
H A Dieee754sp.c69 if (!sn) /* ?? */ in ieee754sp_get_rounding()
73 if (sn) /* ?? */ in ieee754sp_get_rounding()
105 return ieee754sp_zero(sn); in ieee754sp_format()
107 if (sn == 0) in ieee754sp_format()
112 if (sn == 0) in ieee754sp_format()
124 xm = ieee754sp_get_rounding(sn, xm); in ieee754sp_format()
146 xm = ieee754sp_get_rounding(sn, xm); in ieee754sp_format()
167 return ieee754sp_inf(sn); in ieee754sp_format()
169 return ieee754sp_max(sn); in ieee754sp_format()
171 if (sn == 0) in ieee754sp_format()
[all …]
H A Dieee754dp.c69 if (!sn) /* ?? */ in ieee754dp_get_rounding()
73 if (sn) /* ?? */ in ieee754dp_get_rounding()
105 return ieee754dp_zero(sn); in ieee754dp_format()
107 if (sn == 0) in ieee754dp_format()
112 if (sn == 0) in ieee754dp_format()
124 xm = ieee754dp_get_rounding(sn, xm); in ieee754dp_format()
147 xm = ieee754dp_get_rounding(sn, xm); in ieee754dp_format()
168 return ieee754dp_inf(sn); in ieee754dp_format()
170 return ieee754dp_max(sn); in ieee754dp_format()
172 if (sn == 0) in ieee754dp_format()
[all …]
H A Dieee754.h251 #define ieee754dp_zero(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PZERO+(sn)]) argument
252 #define ieee754dp_one(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PONE+(sn)]) argument
253 #define ieee754dp_ten(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PTEN+(sn)]) argument
256 #define ieee754dp_max(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMAX+(sn)]) argument
257 #define ieee754dp_min(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMIN+(sn)]) argument
258 #define ieee754dp_mind(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMIND+(sn)]) argument
263 #define ieee754sp_zero(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PZERO+(sn)]) argument
264 #define ieee754sp_one(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PONE+(sn)]) argument
265 #define ieee754sp_ten(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PTEN+(sn)]) argument
268 #define ieee754sp_max(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PMAX+(sn)]) argument
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_kontronoem.c217 char *sn; in ipmi_kontron_set_serial_number() local
229 sn = NULL; in ipmi_kontron_set_serial_number()
274 free(sn); in ipmi_kontron_set_serial_number()
280 free(sn); in ipmi_kontron_set_serial_number()
289 free(sn); in ipmi_kontron_set_serial_number()
307 free(sn); in ipmi_kontron_set_serial_number()
313 free(sn); in ipmi_kontron_set_serial_number()
324 free(sn); in ipmi_kontron_set_serial_number()
333 free(sn); in ipmi_kontron_set_serial_number()
340 free(sn); in ipmi_kontron_set_serial_number()
[all …]
/openbmc/linux/net/sunrpc/auth_gss/
H A Dgss_rpc_upcall.c126 mutex_init(&sn->gssp_lock); in init_gssp_clnt()
127 sn->gssp_clnt = NULL; in init_gssp_clnt()
136 mutex_lock(&sn->gssp_lock); in set_gssp_clnt()
139 if (sn->gssp_clnt) in set_gssp_clnt()
141 sn->gssp_clnt = clnt; in set_gssp_clnt()
149 mutex_lock(&sn->gssp_lock); in clear_gssp_clnt()
150 if (sn->gssp_clnt) { in clear_gssp_clnt()
152 sn->gssp_clnt = NULL; in clear_gssp_clnt()
161 mutex_lock(&sn->gssp_lock); in get_gssp_clnt()
162 clnt = sn->gssp_clnt; in get_gssp_clnt()
[all …]
H A Dsvcauth_gss.c1381 return sn->use_gss_proxy; in use_gss_proxy()
1472 sn->use_gss_proxy = -1; in create_use_gss_proxy_proc_entry()
1474 sn->proc_net_rpc, in create_use_gss_proxy_proc_entry()
1478 init_gssp_clnt(sn); in create_use_gss_proxy_proc_entry()
1486 if (sn->use_gssp_proc) { in destroy_use_gss_proxy_proc_entry()
1488 clear_gssp_clnt(sn); in destroy_use_gss_proxy_proc_entry()
1526 sn->gss_krb5_enctypes = in create_krb5_enctypes_proc_entry()
2035 sn->rsi_cache = cd; in rsi_cache_create_net()
2044 sn->rsi_cache = NULL; in rsi_cache_destroy_net()
2064 sn->rsc_cache = cd; in rsc_cache_create_net()
[all …]
/openbmc/openbmc/poky/meta/recipes-graphics/startup-notification/startup-notification-0.12/
H A Dtime_t.patch22 libsn/sn-monitor.c | 8 ++++----
26 diff --git a/libsn/sn-monitor.c b/libsn/sn-monitor.c
28 --- a/libsn/sn-monitor.c
29 +++ b/libsn/sn-monitor.c
52 diff --git a/libsn/sn-monitor.h b/libsn/sn-monitor.h
54 --- a/libsn/sn-monitor.h
55 +++ b/libsn/sn-monitor.h
91 libsn/sn-monitor.h | 1 +
94 diff --git a/libsn/sn-monitor.h b/libsn/sn-monitor.h
96 --- a/libsn/sn-monitor.h
[all …]
/openbmc/linux/net/sunrpc/
H A Drpcb_clnt.c170 if (sn->rpcb_users) in rpcb_get_local()
171 sn->rpcb_users++; in rpcb_get_local()
172 cnt = sn->rpcb_users; in rpcb_get_local()
186 if (sn->rpcb_users) { in rpcb_put_local()
191 shutdown = !sn->rpcb_users; in rpcb_put_local()
213 sn->rpcb_local_clnt = clnt; in rpcb_set_local()
217 sn->rpcb_users = 1; in rpcb_set_local()
476 return rpcb_register_call(sn, sn->rpcb_local_clnt, &msg, is_set); in rpcb_register()
500 result = rpcb_register_call(sn, sn->rpcb_local_clnt4, msg, is_set); in rpcb_register_inet4()
526 result = rpcb_register_call(sn, sn->rpcb_local_clnt4, msg, is_set); in rpcb_register_inet6()
[all …]
H A Dstats.c290 struct sunrpc_net *sn; in do_register() local
293 sn = net_generic(net, sunrpc_net_id); in do_register()
307 struct sunrpc_net *sn; in rpc_proc_unregister() local
309 sn = net_generic(net, sunrpc_net_id); in rpc_proc_unregister()
310 remove_proc_entry(name, sn->proc_net_rpc); in rpc_proc_unregister()
324 struct sunrpc_net *sn; in svc_proc_unregister() local
326 sn = net_generic(net, sunrpc_net_id); in svc_proc_unregister()
327 remove_proc_entry(name, sn->proc_net_rpc); in svc_proc_unregister()
333 struct sunrpc_net *sn; in rpc_proc_init() local
336 sn = net_generic(net, sunrpc_net_id); in rpc_proc_init()
[all …]
H A Dsunrpc_syms.c36 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_init_net() local
54 INIT_LIST_HEAD(&sn->all_clients); in sunrpc_init_net()
55 spin_lock_init(&sn->rpc_client_lock); in sunrpc_init_net()
56 spin_lock_init(&sn->rpcb_clnt_lock); in sunrpc_init_net()
71 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_exit_net() local
77 WARN_ON_ONCE(!list_empty(&sn->all_clients)); in sunrpc_exit_net()
H A Dsvcauth_unix.c330 struct sunrpc_net *sn; in svcauth_unix_purge() local
332 sn = net_generic(net, sunrpc_net_id); in svcauth_unix_purge()
333 cache_purge(sn->ip_map_cache); in svcauth_unix_purge()
341 struct sunrpc_net *sn; in ip_map_cached_get() local
379 struct sunrpc_net *sn; in ip_map_cached_put() local
382 cache_put(&ipm->h, sn->ip_map_cache); in ip_map_cached_put()
393 struct sunrpc_net *sn; in svcauth_unix_info_release() local
614 sn->unix_gid_cache = cd; in unix_gid_cache_create()
623 sn->unix_gid_cache = NULL; in unix_gid_cache_destroy()
1048 sn->ip_map_cache = cd; in ip_map_cache_create()
[all …]
H A Drpc_pipe.c978 mutex_lock(&sn->pipefs_sb_lock); in rpc_find_or_alloc_pipe_dir_object()
1204 if (IS_ERR(sn->gssd_dummy)) in rpc_pipefs_init_net()
1205 return PTR_ERR(sn->gssd_dummy); in rpc_pipefs_init_net()
1208 sn->pipe_version = -1; in rpc_pipefs_init_net()
1230 if (sn->pipefs_sb) in rpc_get_sb_net()
1231 return sn->pipefs_sb; in rpc_get_sb_net()
1241 WARN_ON(sn->pipefs_sb == NULL); in rpc_put_sb_net()
1390 sn->pipefs_sb = sb; in rpc_fill_super()
1404 sn->pipefs_sb = NULL; in rpc_fill_super()
1450 if (sn->pipefs_sb != sb) { in rpc_kill_sb()
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dmtms_test.cpp31 std::string sn{"123456789ABC"}; in TEST() local
33 MTMS mtms{tm, sn}; in TEST()
48 std::string sn{"123456789ABCE"}; in TEST() local
50 MTMS mtms{tm, sn}; in TEST()
63 std::string sn{"1234"}; in TEST() local
65 MTMS mtms{tm, sn}; in TEST()
95 std::string sn{"123456789ABC"}; in TEST() local
97 MTMS mtms{tm, sn}; in TEST()
/openbmc/qemu/tests/qemu-iotests/
H A D057106 for sn in sn_list_result:
108 sn_result = sn
131 for sn in sn_list_expect:
132 if sn['id'] == id and sn['name'] == name:
133 sn_expect = sn
141 for sn in sn_list_expect:
142 if sn['id'] == id:
143 sn_expect = sn
150 for sn in sn_list_expect:
151 if sn['name'] == name:
[all …]
/openbmc/linux/net/smc/
H A Dsmc_pnet.c107 struct smc_net *sn; in smc_pnet_remove_by_pnetid() local
113 pnettable = &sn->pnettable; in smc_pnet_remove_by_pnetid()
190 struct smc_net *sn; in smc_pnet_add_by_ndev() local
195 pnettable = &sn->pnettable; in smc_pnet_add_by_ndev()
222 struct smc_net *sn; in smc_pnet_remove_by_ndev() local
227 pnettable = &sn->pnettable; in smc_pnet_remove_by_ndev()
483 struct smc_net *sn; in smc_pnet_enter() local
606 struct smc_net *sn; in _smc_pnet_dump() local
960 struct smc_net *sn; in smc_pnet_find_ndev_pnetid_by_table() local
1172 struct smc_net *sn; in smc_pnetid_by_table_ib() local
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dmtms.hpp115 void setMachineSerialNumber(const std::array<uint8_t, snSize>& sn) in setMachineSerialNumber() argument
117 _serialNumber = sn; in setMachineSerialNumber()
127 std::string sn; in machineSerialNumber() local
132 sn.push_back(_serialNumber[i]); in machineSerialNumber()
134 return sn; in machineSerialNumber()
/openbmc/u-boot/arch/arm/mach-snapdragon/
H A Dmisc.c42 char sn[9]; in msm_generate_mac_addr() local
44 snprintf(sn, 8, "%08x", msm_board_serial()); in msm_generate_mac_addr()
50 mac[i + 2] = simple_strtoul(&sn[2 * i], NULL, 16); in msm_generate_mac_addr()
51 sn[2 * i] = 0; in msm_generate_mac_addr()
/openbmc/linux/arch/arm/vfp/
H A Dvfpsingle.c901 v = vfp_get_float(sn); in vfp_single_multiply_accumulate()
902 pr_debug("VFP: s%u = %08x\n", sn, v); in vfp_single_multiply_accumulate()
971 s32 n = vfp_get_float(sn); in vfp_single_fmul()
973 pr_debug("VFP: s%u = %08x\n", sn, n); in vfp_single_fmul()
994 s32 n = vfp_get_float(sn); in vfp_single_fnmul()
996 pr_debug("VFP: s%u = %08x\n", sn, n); in vfp_single_fnmul()
1018 s32 n = vfp_get_float(sn); in vfp_single_fadd()
1020 pr_debug("VFP: s%u = %08x\n", sn, n); in vfp_single_fadd()
1056 s32 n = vfp_get_float(sn); in vfp_single_fdiv()
1177 unsigned int sn = vfp_get_sn(inst); in vfp_single_cpdo() local
[all …]
/openbmc/entity-manager/src/
H A Dentity_manager.hpp112 std::string sn = "Unknown"; in logDeviceAdded() local
132 sn = *getSn; in logDeviceAdded()
136 sn = findSn->dump(); in logDeviceAdded()
151 type.c_str(), sn.c_str(), "NAME=%s", name.c_str(), NULL); in logDeviceAdded()
166 std::string sn = "Unknown"; in logDeviceRemoved() local
186 sn = *getSn; in logDeviceRemoved()
190 sn = findSn->dump(); in logDeviceRemoved()
205 type.c_str(), sn.c_str(), "NAME=%s", name.c_str(), NULL); in logDeviceRemoved()
/openbmc/linux/drivers/misc/sgi-xp/
H A Dxpc_uv.c79 part_uv = &xpc_partitions[partid].sn.uv; in xpc_setup_partitions_uv()
96 part_uv = &xpc_partitions[partid].sn.uv; in xpc_teardown_partitions_uv()
385 if (part->sn.uv.act_state_req == 0) in xpc_process_activate_IRQ_rcvd_uv()
391 act_state_req = part->sn.uv.act_state_req; in xpc_process_activate_IRQ_rcvd_uv()
392 part->sn.uv.act_state_req = 0; in xpc_process_activate_IRQ_rcvd_uv()
821 rp->sn.uv.activate_gru_mq_desc_gpa = in xpc_setup_rsvd_page_uv()
906 part->sn.uv.heartbeat_gpa = remote_rp->sn.uv.heartbeat_gpa; in xpc_request_partition_activation_uv()
907 part->sn.uv.activate_gru_mq_desc_gpa = in xpc_request_partition_activation_uv()
1022 ch_uv = &part->channels[ch_number].sn.uv; in xpc_setup_ch_structures_uv()
1324 part_uv = &xpc_partitions[partid].sn.uv; in xpc_any_partition_engaged_uv()
[all …]
/openbmc/u-boot/board/CZ.NIC/turris_mox/
H A Dmox_sp.c108 int mbox_sp_get_board_info(u64 *sn, u8 *mac1, u8 *mac2, int *bv, int *ram) in mbox_sp_get_board_info() argument
117 if (sn) { in mbox_sp_get_board_info()
118 *sn = out[1]; in mbox_sp_get_board_info()
119 *sn <<= 32; in mbox_sp_get_board_info()
120 *sn |= out[0]; in mbox_sp_get_board_info()
/openbmc/linux/tools/perf/util/
H A Dstrlist.h35 void strlist__remove(struct strlist *slist, struct str_node *sn);
63 static inline struct str_node *strlist__next(struct str_node *sn) in strlist__next() argument
66 if (!sn) in strlist__next()
68 rn = rb_next(&sn->rb_node); in strlist__next()
/openbmc/linux/drivers/block/aoe/
H A Daoenet.c137 int sn; in aoenet_rcv() local
148 sn = sizeof(*h) + sizeof(*ah); in aoenet_rcv()
149 if (skb->len >= sn) { in aoenet_rcv()
150 sn -= skb_headlen(skb); in aoenet_rcv()
151 if (sn > 0 && !__pskb_pull_tail(skb, sn)) in aoenet_rcv()

12345678