Home
last modified time | relevance | path

Searched refs:new_s (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/lib/
H A Dassoc_array.c1458 struct assoc_array_shortcut *shortcut, *new_s; in assoc_array_gc() local
1493 new_s = kmalloc(struct_size(new_s, index_key, keylen), in assoc_array_gc()
1495 if (!new_s) in assoc_array_gc()
1497 pr_devel("dup shortcut %p -> %p\n", shortcut, new_s); in assoc_array_gc()
1498 memcpy(new_s, shortcut, struct_size(new_s, index_key, keylen)); in assoc_array_gc()
1499 new_s->back_pointer = new_parent; in assoc_array_gc()
1500 new_s->parent_slot = shortcut->parent_slot; in assoc_array_gc()
1501 *new_ptr_pp = new_parent = assoc_array_shortcut_to_ptr(new_s); in assoc_array_gc()
1502 new_ptr_pp = &new_s->next_node; in assoc_array_gc()
1629 new_s = assoc_array_ptr_to_shortcut(ptr); in assoc_array_gc()
[all …]
/openbmc/linux/tools/perf/util/
H A Dstring.c315 char *new_s, *to; in strreplace_chars() local
327 new_s = malloc(strlen(haystack) + (num * (replace_len - 1) + 1)); in strreplace_chars()
328 if (!new_s) in strreplace_chars()
331 to = new_s; in strreplace_chars()
350 return new_s; in strreplace_chars()
/openbmc/qemu/hw/ppc/
H A Dspapr_rtc.c102 time_t new_s; in rtas_set_time_of_day() local
117 new_s = mktimegm(&tm); in rtas_set_time_of_day()
118 if (new_s == -1) { in rtas_set_time_of_day()
129 rtc->ns_offset = (new_s * NANOSECONDS_PER_SECOND) - host_ns; in rtas_set_time_of_day()
/openbmc/linux/drivers/infiniband/hw/erdma/
H A Derdma_cm.c641 struct socket *new_s = NULL; in erdma_accept_newconn() local
668 ret = kernel_accept(s, &new_s, O_NONBLOCK); in erdma_accept_newconn()
672 new_cep->sock = new_s; in erdma_accept_newconn()
674 new_s->sk->sk_user_data = new_cep; in erdma_accept_newconn()
676 tcp_sock_set_nodelay(new_s->sk); in erdma_accept_newconn()
686 if (atomic_read(&new_s->sk->sk_rmem_alloc)) { in erdma_accept_newconn()
711 if (new_s) { in erdma_accept_newconn()
712 erdma_socket_disassoc(new_s); in erdma_accept_newconn()
713 sock_release(new_s); in erdma_accept_newconn()
/openbmc/linux/drivers/infiniband/sw/siw/
H A Dsiw_cm.c914 struct socket *new_s = NULL; in siw_accept_newconn() local
942 rv = kernel_accept(s, &new_s, O_NONBLOCK); in siw_accept_newconn()
950 new_cep->sock = new_s; in siw_accept_newconn()
952 new_s->sk->sk_user_data = new_cep; in siw_accept_newconn()
955 tcp_sock_set_nodelay(new_s->sk); in siw_accept_newconn()
967 if (atomic_read(&new_s->sk->sk_rmem_alloc)) { in siw_accept_newconn()
992 if (new_s) { in siw_accept_newconn()
993 siw_socket_disassoc(new_s); in siw_accept_newconn()
994 sock_release(new_s); in siw_accept_newconn()
/openbmc/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c737 struct drm_plane_state *new_s = drm_atomic_get_new_plane_state(state, in atmel_hlcdc_plane_atomic_update() local
741 drm_plane_state_to_atmel_hlcdc_plane_state(new_s); in atmel_hlcdc_plane_atomic_update()
744 if (!new_s->crtc || !new_s->fb) in atmel_hlcdc_plane_atomic_update()
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dstandard.py1041 new_s = s
1045 new_s = new_s.replace('${BPN}', bpn)
1046 new_s = new_s.replace('${PN}', bpn)
1047 new_s = new_s.replace('${BP}', '%s-${PV}' % bpn)
1052 new_s = new_s.replace('${PV}', pv)
1053 new_s = new_s.replace('${BP}', '${BPN}-%s' % pv)
1057 if new_s != s:
1058 patchfields['S'] = new_s
/openbmc/linux/drivers/comedi/
H A Dcomedi_fops.c2580 struct comedi_subdevice *new_s; in comedi_write() local
2599 new_s = comedi_file_write_subdevice(file); in comedi_write()
2601 s == new_s && new_s->async == async && s->busy == file && in comedi_write()
2716 struct comedi_subdevice *new_s; in comedi_read() local
2735 new_s = comedi_file_read_subdevice(file); in comedi_read()
2737 s == new_s && new_s->async == async && s->busy == file && in comedi_read()
/openbmc/qemu/block/
H A Draw-format.c173 BDRVRawState *new_s = state->opaque; in raw_reopen_commit() local
176 memcpy(s, new_s, sizeof(BDRVRawState)); in raw_reopen_commit()