Home
last modified time | relevance | path

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

/freebsd/sys/dev/mthca/
H A Dmthca_mr.c42 struct mthca_buddy *buddy; member
84 static u32 mthca_buddy_alloc(struct mthca_buddy *buddy, int order) in mthca_buddy_alloc() argument
90 spin_lock(&buddy->lock); in mthca_buddy_alloc()
92 for (o = order; o <= buddy->max_order; ++o) in mthca_buddy_alloc()
93 if (buddy->num_free[o]) { in mthca_buddy_alloc()
94 m = 1 << (buddy->max_order - o); in mthca_buddy_alloc()
95 seg = find_first_bit(buddy->bits[o], m); in mthca_buddy_alloc()
100 spin_unlock(&buddy->lock); in mthca_buddy_alloc()
104 clear_bit(seg, buddy->bits[o]); in mthca_buddy_alloc()
105 --buddy->num_free[o]; in mthca_buddy_alloc()
[all …]
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_mr.c49 static u32 mlx4_buddy_alloc(struct mlx4_buddy *buddy, int order) in mlx4_buddy_alloc() argument
55 spin_lock(&buddy->lock); in mlx4_buddy_alloc()
57 for (o = order; o <= buddy->max_order; ++o) in mlx4_buddy_alloc()
58 if (buddy->num_free[o]) { in mlx4_buddy_alloc()
59 m = 1 << (buddy->max_order - o); in mlx4_buddy_alloc()
60 seg = find_first_bit(buddy->bits[o], m); in mlx4_buddy_alloc()
65 spin_unlock(&buddy->lock); in mlx4_buddy_alloc()
69 clear_bit(seg, buddy->bits[o]); in mlx4_buddy_alloc()
70 --buddy->num_free[o]; in mlx4_buddy_alloc()
75 set_bit(seg ^ 1, buddy->bits[o]); in mlx4_buddy_alloc()
[all …]
/freebsd/crypto/openssl/crypto/
H A Dmem_sec.c680 void *buddy; in sh_free() local
694 while ((buddy = sh_find_my_buddy(ptr, list)) != NULL) { in sh_free()
695 OPENSSL_assert(ptr == sh_find_my_buddy(buddy, list)); in sh_free()
701 sh_clearbit(buddy, list, sh.bittable); in sh_free()
702 sh_remove_from_list(buddy); in sh_free()
707 memset(ptr > buddy ? ptr : buddy, 0, sizeof(SH_LIST)); in sh_free()
708 if (ptr > buddy) in sh_free()
709 ptr = buddy; in sh_free()
/freebsd/tools/tools/net80211/w00t/
H A DREADME59 Resend WEP packets to our buddy on the Internet. The buddy will
64 [Box on Internet]~# ./buddy
/freebsd/contrib/one-true-awk/testdir/
H A Dfunstack.in4901 …keywords = "$L^6$; 2/sup n/ word blocks; bit table; bit table technique; bookkeeping; buddy sy…
11674 …algorithm is similar to, but seems to have certain advantages over, the ``buddy'' system. A genera…
11680 …keywords = "buddy system; computer operating systems; dynamic memory allocation algorithms; dy…
14430buddy method, called the weighted buddy method, for dynamic storage allocation is presented. The w…
14436buddy; buddy systems; computer operating systems; dynamic storage allocation; exponentially distri…
15978 …e relative to other blocks is described. This scheme is applicable to the buddy type storage alloc…
15984 …keywords = "algorithm; buddy system; computer programming; locating adjacent storage blocks; s…
16406 …abstract = "A simplified recombination scheme for the Fibonacci buddy system which requires ne…
16412 …keywords = "computer operating systems; dynamic storage allocation; Fibonacci buddy system; si…
18721 title = "A buddy system variation for disk storage allocation",
[all …]
H A Dfunstack.ok2459 Warren Burton A buddy system variation for disk
/freebsd/contrib/ntp/
H A DCommitLog-4.1.03081 audio driver buddy use the SunOS/Solaris audio interface, which is
/freebsd/share/dict/
H A Dweb2a8455 buddy sap
H A Dweb227186 buddy